From 096e7457ec636bcfcf128678660eb2f2e19f113a Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 5 Jun 2012 19:29:22 +0200 Subject: 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. --- common/utf8conv.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'common/utf8conv.c') 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. */ -- cgit v1.2.3