diff options
Diffstat (limited to '')
-rw-r--r-- | agent/Makefile.am | 3 | ||||
-rw-r--r-- | agent/gpg-agent.c | 2 | ||||
-rw-r--r-- | agent/protect-tool.c | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/agent/Makefile.am b/agent/Makefile.am index c814dd995..2204eba9d 100644 --- a/agent/Makefile.am +++ b/agent/Makefile.am @@ -18,6 +18,9 @@ ## Process this file with automake to produce Makefile.in +localedir = $(datadir)/locale +INCLUDES = -I../intl -DLOCALEDIR=\"$(localedir)\" + bin_PROGRAMS = gpg-agent pkglib_PROGRAMS = protect-tool diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c index 46de48efa..54d04d23f 100644 --- a/agent/gpg-agent.c +++ b/agent/gpg-agent.c @@ -175,7 +175,7 @@ i18n_init (void) #else #ifdef ENABLE_NLS /* gtk_set_locale (); HMMM: We have not yet called gtk_init */ - bindtextdomain( PACKAGE, GNUPG_LOCALEDIR ); + bindtextdomain( PACKAGE, LOCALEDIR ); textdomain( PACKAGE ); #endif #endif diff --git a/agent/protect-tool.c b/agent/protect-tool.c index f3c49ea93..25129d662 100644 --- a/agent/protect-tool.c +++ b/agent/protect-tool.c @@ -137,7 +137,7 @@ i18n_init (void) #else #ifdef ENABLE_NLS /* gtk_set_locale (); HMMM: We have not yet called gtk_init */ - bindtextdomain( PACKAGE, GNUPG_LOCALEDIR ); + bindtextdomain( PACKAGE, LOCALEDIR ); textdomain( PACKAGE ); #endif #endif |