English receipt text is needed for non English locales only

This commit is contained in:
M66B 2019-04-19 15:56:50 +02:00
parent e70b8a71d6
commit a7a039f770
1 changed files with 2 additions and 1 deletions

View File

@ -1786,6 +1786,7 @@ public class FragmentCompose extends FragmentBase {
Resources res = context.createConfigurationContext(configuration).getResources();
body = "<p>" + context.getString(R.string.title_receipt_text) + "</p>";
if (!Locale.getDefault().getLanguage().equals("en"))
body += "<p>" + res.getString(R.string.title_receipt_text) + "</p>";
} else if ("forward".equals(action)) {
String fwd = context.getString(R.string.title_subject_forward, "");