diff options
author | Werner Koch <wk@gnupg.org> | 2012-06-05 19:29:22 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2012-06-05 19:29:22 +0200 |
commit | 096e7457ec636bcfcf128678660eb2f2e19f113a (patch) | |
tree | b54df55112f195895d6d952ce3cfb3f4c98e7683 /g10/keydb.c | |
parent | Print the hash algorithm in colon mode key listing. (diff) | |
download | gnupg2-096e7457ec636bcfcf128678660eb2f2e19f113a.tar.xz gnupg2-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 'g10/keydb.c')
-rw-r--r-- | g10/keydb.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/g10/keydb.c b/g10/keydb.c index 9b9b2ed5f..75c036cf5 100644 --- a/g10/keydb.c +++ b/g10/keydb.c @@ -144,7 +144,7 @@ maybe_create_keyring (char *filename, int force) sense if this is the case. An empty non-writable directory with no keyring is not really useful at all. */ if (opt.verbose) - log_info ("can't allocate lock for `%s'\n", filename ); + log_info ("can't allocate lock for '%s'\n", filename ); if (!force) return gpg_error (GPG_ERR_ENOENT); @@ -155,7 +155,7 @@ maybe_create_keyring (char *filename, int force) if ( dotlock_take (lockhd, -1) ) { /* This is something bad. Probably a stale lockfile. */ - log_info ("can't lock `%s'\n", filename ); + log_info ("can't lock '%s'\n", filename ); rc = G10ERR_GENERAL; goto leave; } @@ -180,13 +180,13 @@ maybe_create_keyring (char *filename, int force) if (!iobuf) { rc = gpg_error_from_syserror (); - log_error ( _("error creating keyring `%s': %s\n"), + log_error ( _("error creating keyring '%s': %s\n"), filename, strerror(errno)); goto leave; } if (!opt.quiet) - log_info (_("keyring `%s' created\n"), filename); + log_info (_("keyring '%s' created\n"), filename); iobuf_close (iobuf); /* Must invalidate that ugly cache */ @@ -243,7 +243,7 @@ keydb_add_resource (const char *url, int flags) #if !defined(HAVE_DRIVE_LETTERS) && !defined(__riscos__) else if (strchr (resname, ':')) { - log_error ("invalid key resource URL `%s'\n", url ); + log_error ("invalid key resource URL '%s'\n", url ); rc = gpg_error (GPG_ERR_GENERAL); goto leave; } @@ -292,7 +292,7 @@ keydb_add_resource (const char *url, int flags) switch (rt) { case KEYDB_RESOURCE_TYPE_NONE: - log_error ("unknown type of key resource `%s'\n", url ); + log_error ("unknown type of key resource '%s'\n", url ); rc = gpg_error (GPG_ERR_GENERAL); goto leave; @@ -326,7 +326,7 @@ keydb_add_resource (const char *url, int flags) break; default: - log_error ("resource type of `%s' not supported\n", url); + log_error ("resource type of '%s' not supported\n", url); rc = gpg_error (GPG_ERR_GENERAL); goto leave; } @@ -335,7 +335,7 @@ keydb_add_resource (const char *url, int flags) leave: if (rc) - log_error (_("keyblock resource `%s': %s\n"), filename, gpg_strerror (rc)); + log_error (_("keyblock resource '%s': %s\n"), filename, gpg_strerror (rc)); else any_public = 1; xfree (filename); |