summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2017-06-19 17:42:50 +0200
committerWerner Koch <wk@gnupg.org>2017-06-19 19:57:11 +0200
commit6cc4702767eec5506a974aa942868066a40cf54c (patch)
tree232309df282a5d5bea8ca8317ca8c231c741b896 /common
parentgpgscm: Limit the number of parallel jobs. (diff)
downloadgnupg2-6cc4702767eec5506a974aa942868066a40cf54c.tar.xz
gnupg2-6cc4702767eec5506a974aa942868066a40cf54c.zip
indent: Always use "_(" and not "_ (" to mark translatable strings.
-- This makes greping much easier and we have done that since ever. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'common')
-rw-r--r--common/compliance.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/common/compliance.c b/common/compliance.c
index 5702471dd..3c43fd821 100644
--- a/common/compliance.c
+++ b/common/compliance.c
@@ -397,7 +397,8 @@ gnupg_cipher_is_allowed (enum gnupg_compliance_mode compliance, int producer,
/* Return true if DIGEST is compliant to the given COMPLIANCE mode. */
int
-gnupg_digest_is_compliant (enum gnupg_compliance_mode compliance, digest_algo_t digest)
+gnupg_digest_is_compliant (enum gnupg_compliance_mode compliance,
+ digest_algo_t digest)
{
if (! initialized)
return 0;
@@ -499,7 +500,7 @@ gnupg_parse_compliance_option (const char *string,
if (! ascii_strcasecmp (string, "help"))
{
- log_info (_ ("valid values for option '%s':\n"), "--compliance");
+ log_info (_("valid values for option '%s':\n"), "--compliance");
for (i = 0; i < length; i++)
log_info (" %s\n", options[i].keyword);
return -1;
@@ -509,9 +510,9 @@ gnupg_parse_compliance_option (const char *string,
if (! ascii_strcasecmp (string, options[i].keyword))
return options[i].value;
- log_error (_ ("invalid value for option '%s'\n"), "--compliance");
+ log_error (_("invalid value for option '%s'\n"), "--compliance");
if (! quiet)
- log_info (_ ("(use \"help\" to list choices)\n"));
+ log_info (_("(use \"help\" to list choices)\n"));
return -1;
}