diff options
author | Werner Koch <wk@gnupg.org> | 2017-06-19 17:42:50 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2017-06-19 19:57:11 +0200 |
commit | 6cc4702767eec5506a974aa942868066a40cf54c (patch) | |
tree | 232309df282a5d5bea8ca8317ca8c231c741b896 /common | |
parent | gpgscm: Limit the number of parallel jobs. (diff) | |
download | gnupg2-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.c | 9 |
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; } |