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. --- agent/command-ssh.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'agent/command-ssh.c') diff --git a/agent/command-ssh.c b/agent/command-ssh.c index 54e56eac0..ddf8e2cf6 100644 --- a/agent/command-ssh.c +++ b/agent/command-ssh.c @@ -684,7 +684,7 @@ open_control_file (FILE **r_fp, int append) if (!stream) { err = gpg_error_from_syserror (); - log_error (_("can't create `%s': %s\n"), fname, gpg_strerror (err)); + log_error (_("can't create '%s': %s\n"), fname, gpg_strerror (err)); xfree (fname); return err; } @@ -696,7 +696,7 @@ open_control_file (FILE **r_fp, int append) if (!fp) { err = gpg_error (gpg_err_code_from_errno (errno)); - log_error (_("can't open `%s': %s\n"), fname, gpg_strerror (err)); + log_error (_("can't open '%s': %s\n"), fname, gpg_strerror (err)); xfree (fname); return err; } @@ -769,7 +769,7 @@ search_control_file (FILE *fp, const char *hexgrip, goto next_line; if (i != 40 || !(spacep (p) || *p == '\n')) { - log_error ("invalid formatted line in `%s', line %d\n", fname, lnr); + log_error ("invalid formatted line in '%s', line %d\n", fname, lnr); return gpg_error (GPG_ERR_BAD_DATA); } @@ -777,7 +777,7 @@ search_control_file (FILE *fp, const char *hexgrip, p = pend; if (!(spacep (p) || *p == '\n') || ttl < -1) { - log_error ("invalid TTL value in `%s', line %d; assuming 0\n", + log_error ("invalid TTL value in '%s', line %d; assuming 0\n", fname, lnr); ttl = 0; } @@ -795,7 +795,7 @@ search_control_file (FILE *fp, const char *hexgrip, if (p[n] == '=') { log_error ("assigning a value to a flag is not yet supported; " - "in `%s', line %d; flag ignored\n", fname, lnr); + "in '%s', line %d; flag ignored\n", fname, lnr); p++; } else if (n == 7 && !memcmp (p, "confirm", 7)) @@ -804,7 +804,7 @@ search_control_file (FILE *fp, const char *hexgrip, *r_confirm = 1; } else - log_error ("invalid flag `%.*s' in `%s', line %d; ignored\n", + log_error ("invalid flag '%.*s' in '%s', line %d; ignored\n", n, p, fname, lnr); p += n; } -- cgit v1.2.3