mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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>
This commit is contained in:
parent
61ef43546b
commit
6cc4702767
11 changed files with 31 additions and 30 deletions
|
@ -101,8 +101,8 @@ decrypt_data (ctrl_t ctrl, void *procctx, PKT_encrypted *ed, DEK *dek)
|
|||
/* Check compliance. */
|
||||
if (! gnupg_cipher_is_allowed (opt.compliance, 0, dek->algo, GCRY_CIPHER_MODE_CFB))
|
||||
{
|
||||
log_error (_ ("you may not use cipher algorithm '%s'"
|
||||
" while in %s mode\n"),
|
||||
log_error (_("you may not use cipher algorithm '%s'"
|
||||
" while in %s mode\n"),
|
||||
openpgp_cipher_algo_name (dek->algo),
|
||||
gnupg_compliance_option_string (opt.compliance));
|
||||
rc = gpg_error (GPG_ERR_CIPHER_ALGO);
|
||||
|
|
|
@ -617,8 +617,8 @@ encrypt_crypt (ctrl_t ctrl, int filefd, const char *filename,
|
|||
if (! gnupg_cipher_is_allowed (opt.compliance, 1, cfx.dek->algo,
|
||||
GCRY_CIPHER_MODE_CFB))
|
||||
{
|
||||
log_error (_ ("you may not use cipher algorithm '%s'"
|
||||
" while in %s mode\n"),
|
||||
log_error (_("you may not use cipher algorithm '%s'"
|
||||
" while in %s mode\n"),
|
||||
openpgp_cipher_algo_name (cfx.dek->algo),
|
||||
gnupg_compliance_option_string (opt.compliance));
|
||||
rc = gpg_error (GPG_ERR_CIPHER_ALGO);
|
||||
|
|
|
@ -3883,8 +3883,8 @@ main (int argc, char **argv)
|
|||
|| cmd == aSignEncrSym,
|
||||
opt.def_cipher_algo,
|
||||
GCRY_CIPHER_MODE_NONE))
|
||||
log_error (_ ("you may not use cipher algorithm '%s'"
|
||||
" while in %s mode\n"),
|
||||
log_error (_("you may not use cipher algorithm '%s'"
|
||||
" while in %s mode\n"),
|
||||
openpgp_cipher_algo_name (opt.def_cipher_algo),
|
||||
gnupg_compliance_option_string (opt.compliance));
|
||||
|
||||
|
@ -3896,8 +3896,8 @@ main (int argc, char **argv)
|
|||
|| cmd == aSignSym
|
||||
|| cmd == aClearsign,
|
||||
opt.def_digest_algo))
|
||||
log_error (_ ("you may not use digest algorithm '%s'"
|
||||
" while in %s mode\n"),
|
||||
log_error (_("you may not use digest algorithm '%s'"
|
||||
" while in %s mode\n"),
|
||||
gcry_md_algo_name (opt.def_digest_algo),
|
||||
gnupg_compliance_option_string (opt.compliance));
|
||||
|
||||
|
|
|
@ -136,8 +136,8 @@ check_signature2 (ctrl_t ctrl,
|
|||
else if (! gnupg_digest_is_allowed (opt.compliance, 0, sig->digest_algo))
|
||||
{
|
||||
/* Compliance failure. */
|
||||
log_info (_ ("you may not use digest algorithm '%s'"
|
||||
" while in %s mode\n"),
|
||||
log_info (_("you may not use digest algorithm '%s'"
|
||||
" while in %s mode\n"),
|
||||
gcry_md_algo_name (sig->digest_algo),
|
||||
gnupg_compliance_option_string (opt.compliance));
|
||||
rc = gpg_error (GPG_ERR_DIGEST_ALGO);
|
||||
|
|
|
@ -281,8 +281,8 @@ do_sign (ctrl_t ctrl, PKT_public_key *pksk, PKT_signature *sig,
|
|||
/* Check compliance. */
|
||||
if (! gnupg_digest_is_allowed (opt.compliance, 1, mdalgo))
|
||||
{
|
||||
log_error (_ ("you may not use digest algorithm '%s'"
|
||||
" while in %s mode\n"),
|
||||
log_error (_("you may not use digest algorithm '%s'"
|
||||
" while in %s mode\n"),
|
||||
gcry_md_algo_name (mdalgo),
|
||||
gnupg_compliance_option_string (opt.compliance));
|
||||
err = gpg_error (GPG_ERR_DIGEST_ALGO);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue