1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 10:17:18 +00:00

Improved error message

This commit is contained in:
M66B 2020-03-11 16:58:10 +01:00
parent b7c9472ced
commit bdf0ffd069
2 changed files with 2 additions and 1 deletions

View file

@ -5396,7 +5396,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
if (is == null) {
if (message.identity != null)
db.identity().setIdentitySignKeyAlias(message.identity, null);
throw new IllegalArgumentException(context.getString(R.string.title_invalid_key));
throw new IllegalArgumentException(context.getString(R.string.title_unknown_key));
}
}

View file

@ -817,6 +817,7 @@
<string name="title_certificate_invalid">Public key of %1$s is invalid</string>
<string name="title_no_key">No private key</string>
<string name="title_invalid_key">Invalid private key</string>
<string name="title_unknown_key">Private key does not match encryption key</string>
<string name="title_send_plain_text">Plain text only</string>
<string name="title_send_receipt">Request receipt</string>
<string name="title_send_receipt_remark">Most providers and email clients ignore receipt requests</string>