Update locales
This commit is contained in:
parent
1f5bdb975b
commit
efb8cd565b
|
@ -12,7 +12,7 @@ android {
|
||||||
versionCode 84
|
versionCode 84
|
||||||
versionName "2.3.0"
|
versionName "2.3.0"
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
resConfigs "ar-rSA", "be-rBY", "bn-rBD", "bs-rBA", "ca-rES", "cs-rCZ", "da-rDK", "de-rDE", "el-rGR", "es-rES", "eu-rES", "fa-rIR", "fi-rFI", "fil-rPH", "fr-rFR", "ga-rIE", "gd-rGB", "gl-rES", "hi-rIN", "hr-rHR", "hu-rHU", "hy-rAM", "ig-rNG", "in-rID", "is-rIS", "it-rIT", "iw-rIL", "ja-rJP", "kab", "ko-rKR", "my-rMM", "nl-rNL", "no-rNO", "oc-rFR", "pl-rPL", "pt-rBR", "pt-rPT", "ro-rRO", "ru-rRU", "si-rLK", "sl-rSI", "sv-rSE", "th-rTH", "tr-rTR", "uk-rUA", "ur-rIN", "vi-rVN", "zh-rCN", "zh-rTW"
|
resConfigs "ar-rSA", "be-rBY", "bn-rBD", "bs-rBA", "ca-rES", "cs-rCZ", "da-rDK", "de-rDE", "el-rGR", "es-rES", "eu-rES", "fa-rIR", "fi-rFI", "fil-rPH", "fr-rFR", "ga-rIE", "gd-rGB", "gl-rES", "hi-rIN", "hr-rHR", "hu-rHU", "hy-rAM", "ig-rNG", "in-rID", "is-rIS", "it-rIT", "iw-rIL", "ja-rJP", "ka-rGE", "kab", "ko-rKR", "lt-rLT", "my-rMM", "nl-rNL", "no-rNO", "oc-rFR", "pl-rPL", "pt-rBR", "pt-rPT", "ro-rRO", "ru-rRU", "si-rLK", "sl-rSI", "sv-rSE", "th-rTH", "tr-rTR", "uk-rUA", "ur-rIN", "vi-rVN", "zh-rCN", "zh-rTW"
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
|
|
|
@ -29,8 +29,10 @@
|
||||||
<locale android:name="it-IT"/>
|
<locale android:name="it-IT"/>
|
||||||
<locale android:name="iw-IL"/>
|
<locale android:name="iw-IL"/>
|
||||||
<locale android:name="ja-JP"/>
|
<locale android:name="ja-JP"/>
|
||||||
|
<locale android:name="ka-GE"/>
|
||||||
<locale android:name="kab"/>
|
<locale android:name="kab"/>
|
||||||
<locale android:name="ko-KR"/>
|
<locale android:name="ko-KR"/>
|
||||||
|
<locale android:name="lt-LT"/>
|
||||||
<locale android:name="my-MM"/>
|
<locale android:name="my-MM"/>
|
||||||
<locale android:name="nl-NL"/>
|
<locale android:name="nl-NL"/>
|
||||||
<locale android:name="no-NO"/>
|
<locale android:name="no-NO"/>
|
||||||
|
|
|
@ -102,6 +102,8 @@ public class VerifyTranslatedStringFormatting{
|
||||||
}
|
}
|
||||||
|
|
||||||
private static boolean verifyString(String str, List<String> placeholders){
|
private static boolean verifyString(String str, List<String> placeholders){
|
||||||
|
if(placeholders==null)
|
||||||
|
return true;
|
||||||
for(String placeholder:placeholders){
|
for(String placeholder:placeholders){
|
||||||
if(placeholder.equals("%,d")){
|
if(placeholder.equals("%,d")){
|
||||||
// %,d and %d are interchangeable but %,d provides nicer formatting
|
// %,d and %d are interchangeable but %,d provides nicer formatting
|
||||||
|
|
Loading…
Reference in New Issue