DeepL: texts

pull/198/head
M66B 4 years ago
parent 4739c2275f
commit e2c6a3673b

@ -6700,7 +6700,7 @@ public class FragmentCompose extends FragmentBase {
ibInfo.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Helper.viewFAQ(v.getContext(), 167);
Helper.viewFAQ(v.getContext(), 167, true);
}
});

@ -749,6 +749,10 @@ public class Helper {
}
static void viewFAQ(Context context, int question) {
viewFAQ(context, question, false);
}
static void viewFAQ(Context context, int question, boolean english) {
// Redirection is done to prevent text editors from opening the link
// https://email.faircode.eu/faq -> https://github.com/M66B/FairEmail/blob/master/FAQ.md
// https://email.faircode.eu/docs -> https://github.com/M66B/FairEmail/tree/master/docs
@ -756,7 +760,7 @@ public class Helper {
// https://github.com/M66B/FairEmail/blob/master/docs/FAQ-de-rDE.md#user-content-faq1
String base;
String locale = getFAQLocale();
String locale = (english ? null : getFAQLocale());
if (locale == null)
base = "https://email.faircode.eu/faq";
else

@ -1107,8 +1107,8 @@
<string name="title_insert_contact_group">Insert contact group</string>
<string name="title_insert_template">Insert template</string>
<string name="title_create_template">Create template</string>
<string name="title_translate" translatable="false">Translate</string>
<string name="title_translate_key" translatable="false">Enter key</string>
<string name="title_translate">Translate</string>
<string name="title_translate_key">Enter key</string>
<string name="title_edit_plain_text">Edit as plain text</string>
<string name="title_edit_formatted_text">Edit as reformatted text</string>
<string name="title_select_certificate">Select public key</string>

Loading…
Cancel
Save