summaryrefslogtreecommitdiffstats
path: root/kbx
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 /kbx
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 'kbx')
-rw-r--r--kbx/Makefile.am3
-rw-r--r--kbx/kbxutil.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/kbx/Makefile.am b/kbx/Makefile.am
index 5226077bc..fe822a78c 100644
--- a/kbx/Makefile.am
+++ b/kbx/Makefile.am
@@ -19,6 +19,9 @@
## Process this file with automake to produce Makefile.in
+localedir = $(datadir)/locale
+INCLUDES = -I../intl -DLOCALEDIR=\"$(localedir)\"
+
EXTRA_DIST = mkerrors
AM_CPPFLAGS = $(LIBKSBA_CFLAGS) $(LIBGCRYPT_CLFAGS)
BUILT_SOURCES = keybox-errors.c
diff --git a/kbx/kbxutil.c b/kbx/kbxutil.c
index dcc073097..b733b81c8 100644
--- a/kbx/kbxutil.c
+++ b/kbx/kbxutil.c
@@ -126,7 +126,7 @@ i18n_init(void)
#else
setlocale( LC_ALL, "" );
#endif
- bindtextdomain( PACKAGE, GNUPG_LOCALEDIR );
+ bindtextdomain( PACKAGE, LOCALEDIR );
textdomain( PACKAGE );
#endif
#endif