summaryrefslogtreecommitdiffstats
path: root/common/helpfile.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 /common/helpfile.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 'common/helpfile.c')
-rw-r--r--common/helpfile.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/helpfile.c b/common/helpfile.c
index f38d163de..faed8191a 100644
--- a/common/helpfile.c
+++ b/common/helpfile.c
@@ -54,7 +54,7 @@ findkey_fname (const char *key, const char *fname)
if (errno != ENOENT)
{
err = gpg_error_from_syserror ();
- log_error (_("can't open `%s': %s\n"), fname, gpg_strerror (err));
+ log_error (_("can't open '%s': %s\n"), fname, gpg_strerror (err));
}
return NULL;
}
@@ -70,7 +70,7 @@ findkey_fname (const char *key, const char *fname)
;
err = gpg_error (*line? GPG_ERR_LINE_TOO_LONG
: GPG_ERR_INCOMPLETE_LINE);
- log_error (_("file `%s', line %d: %s\n"),
+ log_error (_("file '%s', line %d: %s\n"),
fname, lnr, gpg_strerror (err));
}
else
@@ -86,7 +86,7 @@ findkey_fname (const char *key, const char *fname)
continue;
if (*line != '.' || spacep(line+1))
{
- log_info (_("file `%s', line %d: %s\n"),
+ log_info (_("file '%s', line %d: %s\n"),
fname, lnr, _("ignoring garbage line"));
continue;
}
@@ -133,7 +133,7 @@ findkey_fname (const char *key, const char *fname)
if ( !err && ferror (fp) )
{
err = gpg_error_from_syserror ();
- log_error (_("error reading `%s', line %d: %s\n"),
+ log_error (_("error reading '%s', line %d: %s\n"),
fname, lnr, gpg_strerror (err));
}