From 9c86904866ab38618313192457aa6e12a5c17ac5 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Sat, 10 Aug 2002 11:25:32 +0000 Subject: Minor changes for gettext --- agent/Makefile.am | 3 +++ agent/gpg-agent.c | 2 +- agent/protect-tool.c | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) (limited to 'agent') 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 -- cgit v1.2.3