aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g10/ChangeLog4
-rw-r--r--g10/gpgv.c7
-rw-r--r--tools/ChangeLog6
-rw-r--r--tools/bftest.c4
-rw-r--r--tools/mpicalc.c4
-rw-r--r--tools/shmtest.c6
6 files changed, 12 insertions, 19 deletions
diff --git a/g10/ChangeLog b/g10/ChangeLog
index a971266b4..eb143f4cb 100644
--- a/g10/ChangeLog
+++ b/g10/ChangeLog
@@ -1,3 +1,7 @@
+2004-10-01 Werner Koch <[email protected]>
+
+ * gpgv.c (i18n_init): Always use LC_ALL.
+
2004-09-30 Werner Koch <[email protected]>
* app-openpgp.c (verify_chv3) [GNUPG_MAJOR_VERSION!=1]: Typo fix.
diff --git a/g10/gpgv.c b/g10/gpgv.c
index ee340cefd..2a316c3c7 100644
--- a/g10/gpgv.c
+++ b/g10/gpgv.c
@@ -115,12 +115,7 @@ i18n_init(void)
set_gettext_file( PACKAGE );
#else
#ifdef ENABLE_NLS
-#ifdef HAVE_LC_MESSAGES
- setlocale( LC_TIME, "" );
- setlocale( LC_MESSAGES, "" );
-#else
- setlocale( LC_ALL, "" );
-#endif
+ setlocale( LC_ALL, "" );
bindtextdomain( PACKAGE, G10_LOCALEDIR );
textdomain( PACKAGE );
#endif
diff --git a/tools/ChangeLog b/tools/ChangeLog
index 75f4cc73f..f8299725a 100644
--- a/tools/ChangeLog
+++ b/tools/ChangeLog
@@ -1,3 +1,9 @@
+2004-10-01 Werner Koch <[email protected]>
+
+ * bftest.c (i18n_init): Always use LC_ALL.
+ * shmtest.c (i18n_init): Ditto.
+ * mpicalc.c (i18n_init): Ditto.
+
2004-09-13 David Shaw <[email protected]>
* pgpgroup-to-gpggroup: New perl script to take groups from PGP
diff --git a/tools/bftest.c b/tools/bftest.c
index 67a80e33d..49516afc4 100644
--- a/tools/bftest.c
+++ b/tools/bftest.c
@@ -48,11 +48,7 @@ static void
i18n_init(void)
{
#ifdef ENABLE_NLS
-#ifdef HAVE_LC_MESSAGES
- setlocale( LC_MESSAGES, "" );
-#else
setlocale( LC_ALL, "" );
-#endif
bindtextdomain( PACKAGE, G10_LOCALEDIR );
textdomain( PACKAGE );
#endif
diff --git a/tools/mpicalc.c b/tools/mpicalc.c
index e582ff609..392bd3ef1 100644
--- a/tools/mpicalc.c
+++ b/tools/mpicalc.c
@@ -66,11 +66,7 @@ static void
i18n_init(void)
{
#ifdef ENABLE_NLS
-#ifdef HAVE_LC_MESSAGES
- setlocale( LC_MESSAGES, "" );
-#else
setlocale( LC_ALL, "" );
-#endif
bindtextdomain( PACKAGE, G10_LOCALEDIR );
textdomain( PACKAGE );
#endif
diff --git a/tools/shmtest.c b/tools/shmtest.c
index d8bf72b61..3ef763854 100644
--- a/tools/shmtest.c
+++ b/tools/shmtest.c
@@ -56,11 +56,7 @@ static void
i18n_init(void)
{
#ifdef ENABLE_NLS
-#ifdef HAVE_LC_MESSAGES
- setlocale( LC_MESSAGES, "" );
-#else
- setlocale( LC_ALL, "" );
-#endif
+ setlocale( LC_ALL, "" );
bindtextdomain( PACKAGE, G10_LOCALEDIR );
textdomain( PACKAGE );
#endif