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:
parent
b7c9472ced
commit
bdf0ffd069
2 changed files with 2 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue