mirror of https://github.com/M66B/FairEmail.git
English receipt text is needed for non English locales only
This commit is contained in:
parent
e70b8a71d6
commit
a7a039f770
|
@ -1786,7 +1786,8 @@ public class FragmentCompose extends FragmentBase {
|
||||||
Resources res = context.createConfigurationContext(configuration).getResources();
|
Resources res = context.createConfigurationContext(configuration).getResources();
|
||||||
|
|
||||||
body = "<p>" + context.getString(R.string.title_receipt_text) + "</p>";
|
body = "<p>" + context.getString(R.string.title_receipt_text) + "</p>";
|
||||||
body += "<p>" + res.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)) {
|
} else if ("forward".equals(action)) {
|
||||||
String fwd = context.getString(R.string.title_subject_forward, "");
|
String fwd = context.getString(R.string.title_subject_forward, "");
|
||||||
if (!prefix_once || !subject.startsWith(fwd))
|
if (!prefix_once || !subject.startsWith(fwd))
|
||||||
|
|
Loading…
Reference in New Issue