summaryrefslogtreecommitdiffstats
path: root/dirmngr/ks-engine-http.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2012-06-05 19:29:22 +0200
committerWerner Koch <wk@gnupg.org>2012-06-05 19:29:22 +0200
commit096e7457ec636bcfcf128678660eb2f2e19f113a (patch)
treeb54df55112f195895d6d952ce3cfb3f4c98e7683 /dirmngr/ks-engine-http.c
parentPrint the hash algorithm in colon mode key listing. (diff)
downloadgnupg2-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/ks-engine-http.c')
-rw-r--r--dirmngr/ks-engine-http.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/dirmngr/ks-engine-http.c b/dirmngr/ks-engine-http.c
index b0e2e14cb..a9399a137 100644
--- a/dirmngr/ks-engine-http.c
+++ b/dirmngr/ks-engine-http.c
@@ -88,7 +88,7 @@ ks_http_fetch (ctrl_t ctrl, const char *url, estream_t *r_fp)
if (err)
{
/* Fixme: After a redirection we show the old host name. */
- log_error (_("error connecting to `%s': %s\n"),
+ log_error (_("error connecting to '%s': %s\n"),
url, gpg_strerror (err));
goto leave;
}
@@ -98,7 +98,7 @@ ks_http_fetch (ctrl_t ctrl, const char *url, estream_t *r_fp)
err = http_wait_response (http);
if (err)
{
- log_error (_("error reading HTTP response for `%s': %s\n"),
+ log_error (_("error reading HTTP response for '%s': %s\n"),
url, gpg_strerror (err));
goto leave;
}
@@ -114,7 +114,7 @@ ks_http_fetch (ctrl_t ctrl, const char *url, estream_t *r_fp)
{
const char *s = http_get_header (http, "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 (http));
if (s && *s && redirects_left-- )
{
@@ -136,7 +136,7 @@ ks_http_fetch (ctrl_t ctrl, const char *url, estream_t *r_fp)
goto leave;
default:
- log_error (_("error accessing `%s': http status %u\n"),
+ log_error (_("error accessing '%s': http status %u\n"),
url, http_get_status_code (http));
err = gpg_error (GPG_ERR_NO_DATA);
goto leave;