diff options
Diffstat (limited to 'agent')
-rw-r--r-- | agent/gpg-agent.c | 8 | ||||
-rw-r--r-- | agent/protect-tool.c | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c index dd35bfcdf..0fc1bb8bf 100644 --- a/agent/gpg-agent.c +++ b/agent/gpg-agent.c @@ -197,12 +197,12 @@ static void i18n_init (void) { #ifdef USE_SIMPLE_GETTEXT - set_gettext_file( PACKAGE ); + set_gettext_file( PACKAGE_GT ); #else #ifdef ENABLE_NLS setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); + bindtextdomain (PACKAGE_GT, LOCALEDIR); + textdomain (PACKAGE_GT); #endif #endif } @@ -649,7 +649,7 @@ main (int argc, char **argv ) easier to switch only once instead of for every message and it actually helps when more then one thread is active (avoids an extra copy step). */ - bind_textdomain_codeset (PACKAGE, "UTF-8"); + bind_textdomain_codeset (PACKAGE_GT, "UTF-8"); #endif /* now start with logging to a file if this is desired */ diff --git a/agent/protect-tool.c b/agent/protect-tool.c index 1bc7144be..c62c649ad 100644 --- a/agent/protect-tool.c +++ b/agent/protect-tool.c @@ -141,12 +141,12 @@ static void i18n_init (void) { #ifdef USE_SIMPLE_GETTEXT - set_gettext_file( PACKAGE ); + set_gettext_file( PACKAGE_GT ); #else #ifdef ENABLE_NLS setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); + bindtextdomain (PACKAGE_GT, LOCALEDIR); + textdomain (PACKAGE_GT); #endif #endif } |