diff options
author | Werner Koch <[email protected]> | 2012-06-05 17:29:22 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2012-06-05 17:29:22 +0000 |
commit | 096e7457ec636bcfcf128678660eb2f2e19f113a (patch) | |
tree | b54df55112f195895d6d952ce3cfb3f4c98e7683 /dirmngr/dirmngr-client.c | |
parent | Print the hash algorithm in colon mode key listing. (diff) | |
download | gnupg-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 '')
-rw-r--r-- | dirmngr/dirmngr-client.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/dirmngr/dirmngr-client.c b/dirmngr/dirmngr-client.c index e20e6c08f..65d5a84a4 100644 --- a/dirmngr/dirmngr-client.c +++ b/dirmngr/dirmngr-client.c @@ -272,7 +272,7 @@ main (int argc, char **argv ) { err = read_certificate (*argv, &certbuf, &certbuflen); if (err) - log_error (_("error reading certificate from `%s': %s\n"), + log_error (_("error reading certificate from '%s': %s\n"), *argv, gpg_strerror (err)); } else @@ -327,7 +327,7 @@ main (int argc, char **argv ) err = do_loadcrl (ctx, *argv); if (err) { - log_error (_("loading CRL `%s' failed: %s\n"), + log_error (_("loading CRL '%s' failed: %s\n"), *argv, gpg_strerror (err)); last_err = err; } @@ -408,7 +408,7 @@ status_cb (void *opaque, const char *line) (void)opaque; if (opt.verbose > 2) - log_info (_("got status: `%s'\n"), line); + log_info (_("got status: '%s'\n"), line); return 0; } @@ -791,7 +791,7 @@ inq_cert (void *opaque, const char *line) } else { - log_info (_("unsupported inquiry `%s'\n"), line); + log_info (_("unsupported inquiry '%s'\n"), line); err = gpg_error (GPG_ERR_ASS_UNKNOWN_INQUIRE); /* Note that this error will let assuan_transact terminate immediately instead of return the error to the caller. It is @@ -884,7 +884,7 @@ do_loadcrl (assuan_context_t ctx, const char *filename) fname = canonicalize_file_name (filename); if (!fname) { - log_error ("error canonicalizing `%s': %s\n", + log_error ("error canonicalizing '%s': %s\n", filename, strerror (errno)); return gpg_error (GPG_ERR_GENERAL); } @@ -938,7 +938,7 @@ do_lookup (assuan_context_t ctx, const char *pattern) struct b64state state; if (opt.verbose) - log_info (_("looking up `%s'\n"), pattern); + log_info (_("looking up '%s'\n"), pattern); err = b64enc_start (&state, stdout, NULL); if (err) |