diff options
author | Werner Koch <[email protected]> | 2012-06-05 17:29:22 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2012-06-05 17:29:22 +0000 |
commit | 096e7457ec636bcfcf128678660eb2f2e19f113a (patch) | |
tree | b54df55112f195895d6d952ce3cfb3f4c98e7683 /common/utf8conv.c | |
parent | Print the hash algorithm in colon mode key listing. (diff) | |
download | gnupg-096e7457ec636bcfcf128678660eb2f2e19f113a.tar.gz gnupg-096e7457ec636bcfcf128678660eb2f2e19f113a.zip |
Change all quotes in strings and comments to the new GNU standard.
The asymmetric quotes used by GNU in the past (`...') don't render
nicely on modern systems. We now use two \x27 characters ('...').
The proper solution would be to use the correct Unicode symmetric
quotes here. However this has the disadvantage that the system
requires Unicode support. We don't want that today. If Unicode is
available a generated po file can be used to output proper quotes. A
simple sed script like the one used for en@quote is sufficient to
change them.
The changes have been done by applying
sed -i "s/\`\([^'\`]*\)'/'\1'/g"
to most files and fixing obvious problems by hand. The msgid strings in
the po files were fixed with a similar command.
Diffstat (limited to 'common/utf8conv.c')
-rw-r--r-- | common/utf8conv.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/utf8conv.c b/common/utf8conv.c index 861662745..1d649332b 100644 --- a/common/utf8conv.c +++ b/common/utf8conv.c @@ -97,7 +97,7 @@ load_libiconv (void) } if (!handle || !iconv_close) { - log_info (_("error loading `%s': %s\n"), + log_info (_("error loading '%s': %s\n"), "iconv.dll", dlerror ()); log_info (_("please see %s for more information\n"), "http://www.gnupg.org/download/iconv.html"); @@ -136,7 +136,7 @@ handle_iconv_error (const char *to, const char *from, int use_fallback) } if (!x) - log_info (_("conversion from `%s' to `%s' not available\n"), + log_info (_("conversion from '%s' to '%s' not available\n"), from, to); } else @@ -403,7 +403,7 @@ native_to_utf8 (const char *orig_string) static int shown; if (!shown) - log_info (_("conversion from `%s' to `%s' failed: %s\n"), + log_info (_("conversion from '%s' to '%s' failed: %s\n"), active_charset_name, "utf-8", strerror (errno)); shown = 1; /* We don't do any conversion at all but use the strings as is. */ @@ -669,7 +669,7 @@ do_utf8_to_native (const char *string, size_t length, int delim, static int shown; if (!shown) - log_info (_("conversion from `%s' to `%s' failed: %s\n"), + log_info (_("conversion from '%s' to '%s' failed: %s\n"), "utf-8", active_charset_name, strerror (errno)); shown = 1; /* Didn't worked out. Try again but without iconv. */ |