MCPcopy Create free account
hub / github.com/M66B/FairEmail / getFAQLocale

Method getFAQLocale

app/src/main/java/eu/faircode/email/Helper.java:1391–1404  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1389 }
1390
1391 static String getFAQLocale() {
1392 switch (Locale.getDefault().getLanguage()) {
1393 case "de":
1394 return "de-rDE";
1395 case "fr":
1396 return "fr-rFR";
1397 case "it":
1398 return "it-rIT";
1399 case "ro":
1400 return "ro-rRO";
1401 default:
1402 return null;
1403 }
1404 }
1405
1406 static void viewFAQ(Context context, int question) {
1407 viewFAQ(context, question, true /* Google translate */);

Callers 1

viewFAQMethod · 0.95

Calls 2

getLanguageMethod · 0.80
getDefaultMethod · 0.80

Tested by

no test coverage detected