feat(i18n): add region codes to locale filters (#3058)

pull/3061/head
James Rich 2025-09-10 13:19:09 -05:00 zatwierdzone przez GitHub
rodzic 823ed8c609
commit 92c05a21f8
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 36 dodań i 34 usunięć

Wyświetl plik

@ -8,7 +8,7 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR a PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
@ -84,43 +84,45 @@ android {
@Suppress("UnstableApiUsage")
androidResources.localeFilters.addAll(
listOf(
"bg",
"ca",
"cs",
"de",
"el",
"en",
"es",
"et",
"fi",
"fr",
"fr-rHT",
"ga",
"gl",
"hr",
"hu",
"is",
"it",
"iw",
"ja",
"ko",
"lt",
"nl",
"nb",
"pl",
"pt",
"ar-rSA",
"sr-Latn",
"bg-rBG",
"ca-rES",
"cs-rCZ",
"de-rDE",
"el-rGR",
"es-rES",
"et-rEE",
"fi-rFI",
"fr-rFR",
"ga-rIE",
"gl-rES",
"hr-rHR",
"ht-rHT",
"hu-rHU",
"is-rIS",
"it-rIT",
"iw-rIL",
"ja-rJP",
"ko-rKR",
"lt-rLT",
"nl-rNL",
"no-rNO",
"pl-rPL",
"pt-rBR",
"ro",
"ru",
"sk",
"sl",
"sq",
"sr",
"sv",
"tr",
"pt-rPT",
"ro-rRO",
"ru-rRU",
"sk-rSK",
"sl-rSI",
"sq-rAL",
"srp",
"sv-rSE",
"tr-rTR",
"uk-rUA",
"zh-rCN",
"zh-rTW",
"uk",
),
)
ndk { abiFilters += listOf("armeabi-v7a", "arm64-v8a", "x86", "x86_64") }