mirror of
https://github.com/yuzu-emu/yuzu-mainline
synced 2024-11-22 13:43:37 +00:00
android: Auto-generate locale config
This commit is contained in:
parent
1d7ff850d6
commit
97b4ca1d01
4 changed files with 5 additions and 18 deletions
|
@ -47,6 +47,10 @@ android {
|
|||
jniLibs.useLegacyPackaging = true
|
||||
}
|
||||
|
||||
androidResources {
|
||||
generateLocaleConfig = true
|
||||
}
|
||||
|
||||
defaultConfig {
|
||||
// TODO If this is ever modified, change application_id in strings.xml
|
||||
applicationId = "org.yuzu.yuzu_emu"
|
||||
|
|
|
@ -26,7 +26,6 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||
android:supportsRtl="true"
|
||||
android:isGame="true"
|
||||
android:appCategory="game"
|
||||
android:localeConfig="@xml/locales_config"
|
||||
android:banner="@drawable/tv_banner"
|
||||
android:fullBackupContent="@xml/data_extraction_rules"
|
||||
android:dataExtractionRules="@xml/data_extraction_rules_api_31"
|
||||
|
|
1
src/android/app/src/main/res/resources.properties
Normal file
1
src/android/app/src/main/res/resources.properties
Normal file
|
@ -0,0 +1 @@
|
|||
unqualifiedResLocale=en-US
|
|
@ -1,17 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<locale-config xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<locale android:name="en" /> <!-- English (default) -->
|
||||
<locale android:name="de" /> <!-- German -->
|
||||
<locale android:name="es" /> <!-- Spanish -->
|
||||
<locale android:name="fr" /> <!-- French -->
|
||||
<locale android:name="it" /> <!-- Italian -->
|
||||
<locale android:name="ja" /> <!-- Japanese -->
|
||||
<locale android:name="nb" /> <!-- Norwegian Bokmal -->
|
||||
<locale android:name="pl" /> <!-- Polish -->
|
||||
<locale android:name="pt-rBR" /> <!-- Portuguese (Brazil) -->
|
||||
<locale android:name="pt-RPT" /> <!-- Portuguese (Portugal) -->
|
||||
<locale android:name="ru" /> <!-- Russian -->
|
||||
<locale android:name="uk" /> <!-- Ukranian -->
|
||||
<locale android:name="zh-rCN" /> <!-- Chinese (China) -->
|
||||
<locale android:name="zh-rTW" /> <!-- Chinese (Taiwan) -->
|
||||
</locale-config>
|
Loading…
Reference in a new issue