if (prompt)
{
+ /* L10N:
+ The first time mutt is started with $autocrypt set, it will
+ create $autocrypt_dir and then prompt to create an autocrypt
+ account with this message.
+ */
if (mutt_yesorno (_("Create an initial autocrypt account?"),
MUTT_YES) != MUTT_YES)
return 0;
goto cleanup;
if (account)
{
+ /* L10N:
+ When creating an autocrypt account, this message will be displayed
+ if there is already an account in the database with the email address
+ they just entered.
+ */
mutt_error _("That email address already has an autocrypt account");
mutt_sleep (1);
goto cleanup;
cleanup:
if (rv)
+ /* L10N:
+ Error message displayed if creating an autocrypt account failed
+ or was aborted by the user.
+ */
mutt_error _("Autocrypt account creation aborted.");
else
+ /* L10N:
+ Message displayed after an autocrypt account is successfully created.
+ */
mutt_message _("Autocrypt account creation succeeded");
mutt_sleep (1);
if (mutt_autocrypt_db_account_update (entry->account) != 0)
{
entry->account->enabled = !entry->account->enabled;
+ /* L10N:
+ This error message is displayed if a database update of an
+ account record fails for some odd reason.
+ */
mutt_error _("Error updating account record");
}
}
entry = (ENTRY *)(menu->data) + menu->current;
snprintf (msg, sizeof(msg),
/* L10N:
- Confirms deleting an autocrypt account
+ Confirmation message when deleting an autocrypt account
*/
_("Really delete account \"%s\"?"),
entry->addr->mailbox);
SQLITE_OPEN_READWRITE,
NULL) != SQLITE_OK)
{
+ /* L10N:
+ Error message if autocrypt couldn't open the sqlite database
+ for some reason. The %s is the full path of the database file.
+ */
mutt_error (_("Unable to open autocrypt database %s"), mutt_b2s (db_path));
mutt_sleep (0);
goto cleanup;
if (create_gpgme_context (&ctx))
goto cleanup;
+ /* L10N:
+ Message displayed just before a GPG key is generated for a created
+ autocrypt account.
+ */
mutt_message _("Generating autocrypt key...");
/* Primary key */
SETCOLOR (MT_COLOR_COMPOSE_HEADER);
mutt_window_mvprintw (MuttIndexWindow, HDR_AUTOCRYPT, 40, "%s",
+ /* L10N:
+ The autocrypt compose menu Recommendation field.
+ Displays the output of the recommendation engine
+ (Off, No, Discouraged, Available, Yes)
+ */
_("Recommendation: "));
NORMAL_COLOR;
printw ("%s", _(AutocryptRecUiFlags[rd->autocrypt_rec]));