diff options
author | Werner Koch <wk@gnupg.org> | 2012-06-05 19:29:22 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2012-06-05 19:29:22 +0200 |
commit | 096e7457ec636bcfcf128678660eb2f2e19f113a (patch) | |
tree | b54df55112f195895d6d952ce3cfb3f4c98e7683 /dirmngr/crlfetch.c | |
parent | Print the hash algorithm in colon mode key listing. (diff) | |
download | gnupg2-096e7457ec636bcfcf128678660eb2f2e19f113a.tar.xz gnupg2-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 'dirmngr/crlfetch.c')
-rw-r--r-- | dirmngr/crlfetch.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dirmngr/crlfetch.c b/dirmngr/crlfetch.c index 91e8d0406..c682d1856 100644 --- a/dirmngr/crlfetch.c +++ b/dirmngr/crlfetch.c @@ -242,7 +242,7 @@ crl_fetch (ctrl_t ctrl, const char *url, ksba_reader_t *reader) { const char *s = http_get_header (hd, "Location"); - log_info (_("URL `%s' redirected to `%s' (%u)\n"), + log_info (_("URL '%s' redirected to '%s' (%u)\n"), url, s?s:"[none]", http_get_status_code (hd)); if (s && *s && redirects_left-- ) { @@ -267,12 +267,12 @@ crl_fetch (ctrl_t ctrl, const char *url, ksba_reader_t *reader) break; case 99999: /* Made up status code for error reporting. */ - log_error (_("error retrieving `%s': %s\n"), + log_error (_("error retrieving '%s': %s\n"), url, gpg_strerror (err)); break; default: - log_error (_("error retrieving `%s': http status %u\n"), + log_error (_("error retrieving '%s': http status %u\n"), url, http_get_status_code (hd)); err = gpg_error (GPG_ERR_NO_DATA); http_close (hd, 0); |