summaryrefslogtreecommitdiffstats
path: root/sm
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 /sm
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 'sm')
-rw-r--r--sm/ChangeLog2
-rw-r--r--sm/Makefile.am3
-rw-r--r--sm/gpgsm.c2
3 files changed, 6 insertions, 1 deletions
diff --git a/sm/ChangeLog b/sm/ChangeLog
index 208e618ec..230922aaf 100644
--- a/sm/ChangeLog
+++ b/sm/ChangeLog
@@ -1,5 +1,7 @@
2002-08-10 Werner Koch <wk@gnupg.org>
+ * Makefile.am (INCLUDES): Add definition for localedir.
+
* keylist.c (list_cert_colon): Print the short fingerprint in the
key ID field.
* fingerprint.c (gpgsm_get_short_fingerprint): New.
diff --git a/sm/Makefile.am b/sm/Makefile.am
index 489e59ebe..3e00270fa 100644
--- a/sm/Makefile.am
+++ b/sm/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 = gpgsm
AM_CPPFLAGS = -I$(top_srcdir)/common -I$(top_srcdir)/intl \
diff --git a/sm/gpgsm.c b/sm/gpgsm.c
index d17f1c66d..c1cef005b 100644
--- a/sm/gpgsm.c
+++ b/sm/gpgsm.c
@@ -523,7 +523,7 @@ i18n_init(void)
# else
setlocale (LC_ALL, "" );
# endif
- bindtextdomain (PACKAGE, GNUPG_LOCALEDIR);
+ bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
# endif
#endif