Commit 2a919856 authored by TAKAHASHI Tamotsu's avatar TAKAHASHI Tamotsu Committed by Kevin J. McCarthy

Add L10N comments to several unclear messages.

Updating Japanese translation, I found that some of the updated messages
were a little hard to understand without reading the code.

Add comments to some messages I nearly translated in a wrong way.
parent 5c1af7a4
Pipeline #37028138 passed with stages
in 14 minutes and 49 seconds
......@@ -276,6 +276,11 @@ char* mutt_account_getoauthbearer (ACCOUNT* account)
if (cmd == NULL)
{
/* L10N: You will see this error message if (1) you have "oauthbearer" in
one of your $*_authenticators and (2) you do not have the corresponding
$*_oauth_refresh_command defined. So the message does not mean "None of
your $*_oauth_refresh_command's are defined."
*/
mutt_error (_("mutt_account_getoauthbearer: No OAUTH refresh command defined"));
return NULL;
}
......
......@@ -1383,6 +1383,9 @@ static void print_smime_keyinfo (const char* msg, gpgme_signature_t sig,
else
{
if (sig->fpr == NULL)
/* L10N: You will see this message in place of "KeyID "
if the S/MIME key has no ID. This is quite an error.
*/
state_puts (_("no signature fingerprint available"), s);
else {
state_puts (_("KeyID "), s);
......
......@@ -662,6 +662,10 @@ int pgp_application_pgp_handler (BODY *m, STATE *s)
if (could_not_decrypt || (decrypt_okay_rc <= -3))
mutt_error _("Could not decrypt PGP message");
else if (decrypt_okay_rc < 0)
/* L10N: You will see this error message if (1) you are decrypting
(not encrypting) something and (2) it is a plaintext. So the
message does not mean "You failed to encrypt the message."
*/
mutt_error _("PGP message was not encrypted.");
else
mutt_message _("PGP message successfully decrypted.");
......
......@@ -714,6 +714,9 @@ void mutt_attach_mail_sender (FILE *fp, HEADER *hdr, ATTACH_CONTEXT *actx,
if (check_all_msg (actx, cur, 0) == -1)
{
/* L10N: You will see this error message if you invoke <compose-to-sender>
when you are on a normal attachment.
*/
mutt_error _("You may only compose to sender with message/rfc822 parts.");
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment