diff options
author | Werner Koch <wk@gnupg.org> | 2004-09-30 23:37:11 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2004-09-30 23:37:11 +0200 |
commit | 048635bedefb5c3244cc5a28b38ab4daafb3cf78 (patch) | |
tree | a40758da990bec5beb1ac74bc7cf3bdde0b8dc65 /tools/gpgconf.c | |
parent | Preparing a new release. Updated gettext (diff) | |
download | gnupg2-048635bedefb5c3244cc5a28b38ab4daafb3cf78.tar.xz gnupg2-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 '')
-rw-r--r-- | tools/gpgconf.c | 5 |
1 files changed, 0 insertions, 5 deletions
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 |