From 096e7457ec636bcfcf128678660eb2f2e19f113a Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 5 Jun 2012 19:29:22 +0200 Subject: 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. --- dirmngr/dirmngr-client.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'dirmngr/dirmngr-client.c') 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) -- cgit v1.2.3