From 5d4fe0c7fa66f5a7eb0933e19e0ae357cfced640 Mon Sep 17 00:00:00 2001 From: Infi Date: Mon, 5 Jun 2023 14:05:40 +0200 Subject: [PATCH] chore: add more locales Signed-off-by: Infi --- app/build.gradle | 4 +++- app/src/main/res/xml/locale_config.xml | 12 ++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index 37bb9dce..25ff8e6d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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 { diff --git a/app/src/main/res/xml/locale_config.xml b/app/src/main/res/xml/locale_config.xml index 8167978d..479ebd60 100644 --- a/app/src/main/res/xml/locale_config.xml +++ b/app/src/main/res/xml/locale_config.xml @@ -4,4 +4,16 @@ + + + + + + + + + + + + \ No newline at end of file