aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/ChangeLog2
-rw-r--r--tools/gpgconf.c5
2 files changed, 2 insertions, 5 deletions
diff --git a/tools/ChangeLog b/tools/ChangeLog
index fa6572ae7..1eefac53a 100644
--- a/tools/ChangeLog
+++ b/tools/ChangeLog
@@ -1,5 +1,7 @@
2004-09-30 Werner Koch <[email protected]>
+ * gpgconf.c (i18n_init): Always use LC_ALL.
+
* Makefile.am: Adjusted for gettext 0.14.
2004-09-29 Werner Koch <[email protected]>
diff --git a/tools/gpgconf.c b/tools/gpgconf.c
index 7aca335fa..e3e1b9f1a 100644
--- a/tools/gpgconf.c
+++ b/tools/gpgconf.c
@@ -106,12 +106,7 @@ i18n_init(void)
set_gettext_file (PACKAGE_GT);
#else
# ifdef ENABLE_NLS
-# ifdef HAVE_LC_MESSAGES
- setlocale (LC_TIME, "");
- setlocale (LC_MESSAGES, "");
-# else
setlocale (LC_ALL, "" );
-# endif
bindtextdomain (PACKAGE_GT, LOCALEDIR);
textdomain (PACKAGE_GT);
# endif