aboutsummaryrefslogtreecommitdiffstats
path: root/sm/export.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2012-06-05 17:29:22 +0000
committerWerner Koch <[email protected]>2012-06-05 17:29:22 +0000
commit096e7457ec636bcfcf128678660eb2f2e19f113a (patch)
treeb54df55112f195895d6d952ce3cfb3f4c98e7683 /sm/export.c
parentPrint the hash algorithm in colon mode key listing. (diff)
downloadgnupg-096e7457ec636bcfcf128678660eb2f2e19f113a.tar.gz
gnupg-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 'sm/export.c')
-rw-r--r--sm/export.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sm/export.c b/sm/export.c
index 2e4fed9a1..0403fe2f5 100644
--- a/sm/export.c
+++ b/sm/export.c
@@ -181,7 +181,7 @@ gpgsm_export (ctrl_t ctrl, strlist_t names, estream_t stream)
rc = classify_user_id (sl->d, desc+ndesc, 0);
if (rc)
{
- log_error ("key `%s' not found: %s\n",
+ log_error ("key '%s' not found: %s\n",
sl->d, gpg_strerror (rc));
rc = 0;
}
@@ -351,7 +351,7 @@ gpgsm_p12_export (ctrl_t ctrl, const char *name, estream_t stream)
err = classify_user_id (name, desc, 0);
if (err)
{
- log_error ("key `%s' not found: %s\n",
+ log_error ("key '%s' not found: %s\n",
name, gpg_strerror (err));
goto leave;
}
@@ -388,7 +388,7 @@ gpgsm_p12_export (ctrl_t ctrl, const char *name, estream_t stream)
err = 0;
if (err)
{
- log_error ("key `%s' not found: %s\n",
+ log_error ("key '%s' not found: %s\n",
name, gpg_strerror (err));
goto leave;
}
@@ -399,7 +399,7 @@ gpgsm_p12_export (ctrl_t ctrl, const char *name, estream_t stream)
{
/* Note, that the !keygrip case indicates a bad certificate. */
err = gpg_error (GPG_ERR_NO_SECKEY);
- log_error ("can't export key `%s': %s\n", name, gpg_strerror (err));
+ log_error ("can't export key '%s': %s\n", name, gpg_strerror (err));
goto leave;
}