aboutsummaryrefslogtreecommitdiffstats
path: root/kbx
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2004-09-30 21:37:11 +0000
committerWerner Koch <[email protected]>2004-09-30 21:37:11 +0000
commit048635bedefb5c3244cc5a28b38ab4daafb3cf78 (patch)
treea40758da990bec5beb1ac74bc7cf3bdde0b8dc65 /kbx
parentPreparing a new release. Updated gettext (diff)
downloadgnupg-048635bedefb5c3244cc5a28b38ab4daafb3cf78.tar.gz
gnupg-048635bedefb5c3244cc5a28b38ab4daafb3cf78.zip
* gpgv.c (i18n_init): Always use LC_ALL.
* kbxutil.c (i18n_init): Always use LC_ALL. * gpgsm.c (i18n_init): Always use LC_ALL. * certdump.c (gpgsm_format_name): Factored code out to .. (gpgsm_format_name2): .. new. (gpgsm_print_name): Factored code out to .. (gpgsm_print_name2): .. new. (print_dn_part): New arg TRANSLATE. Changed all callers. (print_dn_parts): Ditto. (gpgsm_format_keydesc): Do not translate the SUBJECT; we require it to stay UTF-8 but we still want to filter out bad control characters. * gpgconf.c (i18n_init): Always use LC_ALL.
Diffstat (limited to 'kbx')
-rw-r--r--kbx/ChangeLog4
-rw-r--r--kbx/kbxutil.c7
2 files changed, 4 insertions, 7 deletions
diff --git a/kbx/ChangeLog b/kbx/ChangeLog
index 546b4c34d..c10ea126a 100644
--- a/kbx/ChangeLog
+++ b/kbx/ChangeLog
@@ -1,6 +1,8 @@
2004-09-30 Werner Koch <[email protected]>
- * Makefile.am: Adjusted fro gettext 0.14.
+ * kbxutil.c (i18n_init): Always use LC_ALL.
+
+ * Makefile.am: Adjusted for gettext 0.14.
2004-08-24 Werner Koch <[email protected]>
diff --git a/kbx/kbxutil.c b/kbx/kbxutil.c
index cd5da5f77..7fe6178d6 100644
--- a/kbx/kbxutil.c
+++ b/kbx/kbxutil.c
@@ -129,12 +129,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
+ setlocale( LC_ALL, "" );
bindtextdomain( PACKAGE_GT, LOCALEDIR );
textdomain( PACKAGE_GT );
#endif