chore: add more locales

Signed-off-by: Infi <wingit@geist.ga>
This commit is contained in:
Infi 2023-06-05 14:05:40 +02:00
parent 3e20248df4
commit 5d4fe0c7fa
2 changed files with 15 additions and 1 deletions

View File

@ -58,7 +58,7 @@ android {
useSupportLibrary true
}
resourceConfigurations += ["en", "de", "fr", "id"]
resourceConfigurations += ["en", "de", "fr", "id", "b+es+419", "bn", "ca", "es", "gl", "in", "pt-rBR", "pt", "ru", "tr", "uk", "zh-rCN"]
}
buildTypes {
@ -75,6 +75,8 @@ android {
buildConfigField "String", "SENTRY_DSN", "\"${property('revoltbuild.properties', 'sentry.dsn', 'RVX_SENTRY_DSN')}\""
buildConfigField "Boolean", "ANALYSIS_ENABLED", "${property('revoltbuild.properties', 'analysis.enabled', 'RVX_ANALYSIS_ENABLED')}"
buildConfigField "String", "ANALYSIS_BASEURL", "\"${property('revoltbuild.properties', 'analysis.base_url', 'RVX_ANALYSIS_BASEURL')}\""
pseudoLocalesEnabled true
}
}
compileOptions {

View File

@ -4,4 +4,16 @@
<locale android:name="de" />
<locale android:name="fr" />
<locale android:name="id" />
<locale android:name="b+es+419" />
<locale android:name="bn" />
<locale android:name="ca" />
<locale android:name="es" />
<locale android:name="gl" />
<locale android:name="in" />
<locale android:name="pt-rBR" />
<locale android:name="pt" />
<locale android:name="ru" />
<locale android:name="tr" />
<locale android:name="uk" />
<locale android:name="zh-rCN" />
</locale-config>