Browse Source

Revised text

main
M66B 6 years ago
parent
commit
1ed714c123
2 changed files with 5 additions and 4 deletions
  1. +2
    -2
      app/src/main/java/eu/faircode/email/FragmentCompose.java
  2. +3
    -2
      app/src/main/res/values/strings.xml

+ 2
- 2
app/src/main/java/eu/faircode/email/FragmentCompose.java View File

@ -432,7 +432,7 @@ public class FragmentCompose extends Fragment {
if (ex == null) {
getFragmentManager().popBackStack();
Toast.makeText(getContext(), R.string.title_deleted, Toast.LENGTH_LONG).show();
Toast.makeText(getContext(), R.string.title_draft_deleted, Toast.LENGTH_LONG).show();
}
}
@ -571,7 +571,7 @@ public class FragmentCompose extends Fragment {
if (ex == null) {
getFragmentManager().popBackStack();
Toast.makeText(getContext(), send ? R.string.title_queued : R.string.title_saved, Toast.LENGTH_LONG).show();
Toast.makeText(getContext(), send ? R.string.title_queued : R.string.title_draft_saved, Toast.LENGTH_LONG).show();
} else {
Log.w(Helper.TAG, ex + "\n" + Log.getStackTraceString(ex));
Toast.makeText(getContext(), Helper.formatThrowable(ex), Toast.LENGTH_LONG).show();


+ 3
- 2
app/src/main/res/values/strings.xml View File

@ -102,9 +102,10 @@
<string name="title_send">Send</string>
<string name="title_no_primary_drafts">No primary account or no drafts folder</string>
<string name="title_from_missing">Sender missing</string>
<string name="title_to_missing">Recipient missing</string>
<string name="title_deleted">Message deleted</string>
<string name="title_saved">Message saved</string>
<string name="title_draft_deleted">Draft deleted</string>
<string name="title_draft_saved">Draft saved</string>
<string name="title_queued">Message queued</string>
</resources>

Loading…
Cancel
Save