summaryrefslogtreecommitdiffstats
path: root/scd
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2002-08-10 13:25:32 +0200
committerWerner Koch <wk@gnupg.org>2002-08-10 13:25:32 +0200
commit9c86904866ab38618313192457aa6e12a5c17ac5 (patch)
tree04f1fd1d3f3cbc26cf29fe6fe1d3671dbe2871be /scd
parent* keylist.c (list_cert_colon): Print the short fingerprint in the (diff)
downloadgnupg2-9c86904866ab38618313192457aa6e12a5c17ac5.tar.xz
gnupg2-9c86904866ab38618313192457aa6e12a5c17ac5.zip
Minor changes for gettextNEWPG-0-3-10
Diffstat (limited to 'scd')
-rw-r--r--scd/Makefile.am3
-rw-r--r--scd/scdaemon.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/scd/Makefile.am b/scd/Makefile.am
index 6639aa1c1..b306a3a73 100644
--- a/scd/Makefile.am
+++ b/scd/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 = scdaemon
AM_CPPFLAGS = -I$(top_srcdir)/common $(LIBOPENSC_CFLAGS) $(LIBGCRYPT_CFLAGS) \
diff --git a/scd/scdaemon.c b/scd/scdaemon.c
index 1d8bad21d..29256d811 100644
--- a/scd/scdaemon.c
+++ b/scd/scdaemon.c
@@ -138,7 +138,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