aboutsummaryrefslogtreecommitdiffstats
path: root/common/asshelp.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2012-06-05 17:29:22 +0000
committerWerner Koch <[email protected]>2012-06-05 17:29:22 +0000
commit096e7457ec636bcfcf128678660eb2f2e19f113a (patch)
treeb54df55112f195895d6d952ce3cfb3f4c98e7683 /common/asshelp.c
parentPrint the hash algorithm in colon mode key listing. (diff)
downloadgnupg-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 'common/asshelp.c')
-rw-r--r--common/asshelp.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/common/asshelp.c b/common/asshelp.c
index eb5dc65bc..fe328549b 100644
--- a/common/asshelp.c
+++ b/common/asshelp.c
@@ -398,7 +398,7 @@ start_new_gpg_agent (assuan_context_t *r_ctx,
agent_program = gnupg_module_name (GNUPG_MODULE_NAME_AGENT);
if (verbose)
- log_info (_("no running gpg-agent - starting `%s'\n"),
+ log_info (_("no running gpg-agent - starting '%s'\n"),
agent_program);
if (status_cb)
@@ -420,12 +420,12 @@ start_new_gpg_agent (assuan_context_t *r_ctx,
argv[1] = NULL;
err = gnupg_spawn_process_fd (agent_program, argv, -1, -1, -1, &pid);
if (err)
- log_debug ("starting `%s' for testing failed: %s\n",
+ log_debug ("starting '%s' for testing failed: %s\n",
agent_program, gpg_strerror (err));
else if ((err = gnupg_wait_process (agent_program, pid, 1, &excode)))
{
if (excode == -1)
- log_debug ("running `%s' for testing failed (wait): %s\n",
+ log_debug ("running '%s' for testing failed (wait): %s\n",
agent_program, gpg_strerror (err));
}
gnupg_release_process (pid);
@@ -447,7 +447,7 @@ start_new_gpg_agent (assuan_context_t *r_ctx,
{
err = gnupg_spawn_process_detached (agent_program, argv,NULL);
if (err)
- log_error ("failed to start agent `%s': %s\n",
+ log_error ("failed to start agent '%s': %s\n",
agent_program, gpg_strerror (err));
else
{
@@ -616,7 +616,7 @@ start_new_dirmngr (assuan_context_t *r_ctx,
dirmngr_program = gnupg_module_name (GNUPG_MODULE_NAME_DIRMNGR);
if (verbose)
- log_info (_("no running Dirmngr - starting `%s'\n"),
+ log_info (_("no running Dirmngr - starting '%s'\n"),
dirmngr_program);
if (status_cb)
@@ -641,7 +641,7 @@ start_new_dirmngr (assuan_context_t *r_ctx,
{
err = gnupg_spawn_process_detached (dirmngr_program, argv,NULL);
if (err)
- log_error ("failed to start the dirmngr `%s': %s\n",
+ log_error ("failed to start the dirmngr '%s': %s\n",
dirmngr_program, gpg_strerror (err));
else
{
@@ -681,7 +681,7 @@ start_new_dirmngr (assuan_context_t *r_ctx,
if (err)
{
- log_error ("connecting dirmngr at `%s' failed: %s\n",
+ log_error ("connecting dirmngr at '%s' failed: %s\n",
sockname, gpg_strerror (err));
assuan_release (ctx);
return gpg_err_make (errsource, GPG_ERR_NO_DIRMNGR);