summaryrefslogtreecommitdiffstats
path: root/dirmngr/certcache.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/certcache.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/certcache.c')
-rw-r--r--dirmngr/certcache.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/dirmngr/certcache.c b/dirmngr/certcache.c
index 73916b03e..969b3ec19 100644
--- a/dirmngr/certcache.c
+++ b/dirmngr/certcache.c
@@ -349,7 +349,7 @@ load_certs_from_dir (const char *dirname, int are_trusted)
if (!dir)
{
if (opt.system_daemon)
- log_info (_("can't access directory `%s': %s\n"),
+ log_info (_("can't access directory '%s': %s\n"),
dirname, strerror (errno));
return 0; /* We do not consider this a severe error. */
}
@@ -368,7 +368,7 @@ load_certs_from_dir (const char *dirname, int are_trusted)
fp = es_fopen (fname, "rb");
if (!fp)
{
- log_error (_("can't open `%s': %s\n"),
+ log_error (_("can't open '%s': %s\n"),
fname, strerror (errno));
continue;
}
@@ -387,7 +387,7 @@ load_certs_from_dir (const char *dirname, int are_trusted)
es_fclose (fp);
if (err)
{
- log_error (_("can't parse certificate `%s': %s\n"),
+ log_error (_("can't parse certificate '%s': %s\n"),
fname, gpg_strerror (err));
ksba_cert_release (cert);
continue;
@@ -395,13 +395,13 @@ load_certs_from_dir (const char *dirname, int are_trusted)
err = put_cert (cert, 1, are_trusted, NULL);
if (gpg_err_code (err) == GPG_ERR_DUP_VALUE)
- log_info (_("certificate `%s' already cached\n"), fname);
+ log_info (_("certificate '%s' already cached\n"), fname);
else if (!err)
{
if (are_trusted)
- log_info (_("trusted certificate `%s' loaded\n"), fname);
+ log_info (_("trusted certificate '%s' loaded\n"), fname);
else
- log_info (_("certificate `%s' loaded\n"), fname);
+ log_info (_("certificate '%s' loaded\n"), fname);
if (opt.verbose)
{
p = get_fingerprint_hexstring_colon (cert);
@@ -413,7 +413,7 @@ load_certs_from_dir (const char *dirname, int are_trusted)
}
}
else
- log_error (_("error loading certificate `%s': %s\n"),
+ log_error (_("error loading certificate '%s': %s\n"),
fname, gpg_strerror (err));
ksba_cert_release (cert);
}
@@ -593,7 +593,7 @@ get_cert_byhexfpr (const char *string)
}
if (i!=20 || *s)
{
- log_error (_("invalid SHA1 fingerprint string `%s'\n"), string);
+ log_error (_("invalid SHA1 fingerprint string '%s'\n"), string);
return NULL;
}