aboutsummaryrefslogtreecommitdiffstats
path: root/g10/misc.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2015-12-03 09:39:29 +0000
committerWerner Koch <[email protected]>2015-12-03 09:40:05 +0000
commit9fcc047d921bde95b6807325b7fd2b697e89907f (patch)
tree3145fdb632a504b96e0bee3b854d16ceb419939e /g10/misc.c
parentscd: Fix "Conflicting usage" bug. (diff)
downloadgnupg-9fcc047d921bde95b6807325b7fd2b697e89907f.tar.gz
gnupg-9fcc047d921bde95b6807325b7fd2b697e89907f.zip
gpg: Change some error messages.
* g10/getkey.c (parse_def_secret_key): Change error message. Replace log_debug by log_info. * g10/gpg.c (check_user_ids): Make function static. Change error messages. (main): Change error messages. * g10/revoke.c (gen_revoke): Ditto. -- There are other smaller changes not described above. This change tries to avoid new error messages so not to increase the the number of translated strings or break too many existing translations. It also tries to use existing strings and changes the quoting to the most common style used in gpg. Key specifications should in general use double quotes. Other values should use single quotes. However. sometimes it is not easy to distinguish between values given on the command line and key specifications. According to old GNU coding standards diagnostics should not start capitalized - whether this is a good idea is a different thing but we used this rules for most strings. However, strings which are used interactively should be properly capitalized and end with a dot. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/misc.c')
-rw-r--r--g10/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/misc.c b/g10/misc.c
index 861ba8752..547944d34 100644
--- a/g10/misc.c
+++ b/g10/misc.c
@@ -1705,7 +1705,7 @@ additional_weak_digest (const char* digestname)
if (algo == GCRY_MD_NONE)
{
- log_error(_("Unknown weak digest '%s'\n"), digestname);
+ log_error (_("unknown weak digest '%s'\n"), digestname);
return;
}