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 /tools/gpgconf.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 'tools/gpgconf.c')
| -rw-r--r-- | tools/gpgconf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/gpgconf.c b/tools/gpgconf.c index a2bba180c..c586bb3a3 100644 --- a/tools/gpgconf.c +++ b/tools/gpgconf.c @@ -130,7 +130,7 @@ get_outfp (estream_t *fp) { *fp = es_fopen (opt.outfile, "w"); if (!*fp) - gc_error (1, errno, "can not open `%s'", opt.outfile); + gc_error (1, errno, "can not open '%s'", opt.outfile); } else *fp = es_stdout; @@ -202,7 +202,7 @@ main (int argc, char **argv) for (i=0; i < argc; i++) if (argv[i][0] == '-' && argv[i][1] == '-') - log_info (_("NOTE: `%s' is not considered an option\n"), argv[i]); + log_info (_("NOTE: '%s' is not considered an option\n"), argv[i]); } fname = argc ? *argv : NULL; @@ -383,7 +383,7 @@ main (int argc, char **argv) if (outfp != es_stdout) if (es_fclose (outfp)) - gc_error (1, errno, "error closing `%s'", opt.outfile); + gc_error (1, errno, "error closing '%s'", opt.outfile); return 0; } |
