android: add Arabic, Finnish, Hebrew (#3018)
* android: add Arabic, Finnish, Hebrew * update localization lib to support Hebrew --------- Co-authored-by: Avently <7953703+avently@users.noreply.github.com>
This commit is contained in:
parent
4d6283630a
commit
83b939d215
@ -83,12 +83,15 @@ android {
|
|||||||
// Comma separated list of languages that will be included in the apk
|
// Comma separated list of languages that will be included in the apk
|
||||||
android.defaultConfig.resConfigs(
|
android.defaultConfig.resConfigs(
|
||||||
"en",
|
"en",
|
||||||
|
"ar",
|
||||||
"bg",
|
"bg",
|
||||||
"cs",
|
"cs",
|
||||||
"de",
|
"de",
|
||||||
"es",
|
"es",
|
||||||
|
"fi",
|
||||||
"fr",
|
"fr",
|
||||||
"it",
|
"it",
|
||||||
|
"iw",
|
||||||
"ja",
|
"ja",
|
||||||
"nl",
|
"nl",
|
||||||
"pl",
|
"pl",
|
||||||
|
@ -46,7 +46,7 @@ buildscript {
|
|||||||
classpath("com.android.tools.build:gradle:${rootProject.extra["gradle.plugin.version"]}")
|
classpath("com.android.tools.build:gradle:${rootProject.extra["gradle.plugin.version"]}")
|
||||||
classpath(kotlin("gradle-plugin", version = rootProject.extra["kotlin.version"] as String))
|
classpath(kotlin("gradle-plugin", version = rootProject.extra["kotlin.version"] as String))
|
||||||
classpath("org.jetbrains.kotlin:kotlin-serialization:1.3.2")
|
classpath("org.jetbrains.kotlin:kotlin-serialization:1.3.2")
|
||||||
classpath("dev.icerock.moko:resources-generator:0.22.3")
|
classpath("dev.icerock.moko:resources-generator:0.23.0")
|
||||||
|
|
||||||
// NOTE: Do not place your application dependencies here; they belong
|
// NOTE: Do not place your application dependencies here; they belong
|
||||||
// in the individual module build.gradle files
|
// in the individual module build.gradle files
|
||||||
|
@ -39,7 +39,7 @@ kotlin {
|
|||||||
api("org.jetbrains.kotlinx:kotlinx-datetime:0.3.2")
|
api("org.jetbrains.kotlinx:kotlinx-datetime:0.3.2")
|
||||||
api("com.russhwolf:multiplatform-settings:1.0.0")
|
api("com.russhwolf:multiplatform-settings:1.0.0")
|
||||||
api("com.charleskorn.kaml:kaml:0.43.0")
|
api("com.charleskorn.kaml:kaml:0.43.0")
|
||||||
api("dev.icerock.moko:resources-compose:0.22.3")
|
api("dev.icerock.moko:resources-compose:0.23.0")
|
||||||
api("org.jetbrains.compose.ui:ui-text:${rootProject.extra["compose.version"] as String}")
|
api("org.jetbrains.compose.ui:ui-text:${rootProject.extra["compose.version"] as String}")
|
||||||
implementation("org.jetbrains.compose.components:components-animatedimage:${rootProject.extra["compose.version"] as String}")
|
implementation("org.jetbrains.compose.components:components-animatedimage:${rootProject.extra["compose.version"] as String}")
|
||||||
//Barcode
|
//Barcode
|
||||||
@ -48,7 +48,7 @@ kotlin {
|
|||||||
// Link Previews
|
// Link Previews
|
||||||
implementation("org.jsoup:jsoup:1.13.1")
|
implementation("org.jsoup:jsoup:1.13.1")
|
||||||
// Resources
|
// Resources
|
||||||
implementation("dev.icerock.moko:resources:0.22.3")
|
implementation("dev.icerock.moko:resources:0.23.0")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
val commonTest by getting {
|
val commonTest by getting {
|
||||||
@ -62,7 +62,7 @@ kotlin {
|
|||||||
val work_version = "2.7.1"
|
val work_version = "2.7.1"
|
||||||
implementation("androidx.work:work-runtime-ktx:$work_version")
|
implementation("androidx.work:work-runtime-ktx:$work_version")
|
||||||
implementation("com.google.accompanist:accompanist-insets:0.23.0")
|
implementation("com.google.accompanist:accompanist-insets:0.23.0")
|
||||||
implementation("dev.icerock.moko:resources:0.22.3")
|
implementation("dev.icerock.moko:resources:0.23.0")
|
||||||
|
|
||||||
// Video support
|
// Video support
|
||||||
implementation("com.google.android.exoplayer:exoplayer:2.17.1")
|
implementation("com.google.android.exoplayer:exoplayer:2.17.1")
|
||||||
|
@ -201,12 +201,15 @@ object AppearanceScope {
|
|||||||
val supportedLanguages = mapOf(
|
val supportedLanguages = mapOf(
|
||||||
"system" to generalGetString(MR.strings.language_system),
|
"system" to generalGetString(MR.strings.language_system),
|
||||||
"en" to "English",
|
"en" to "English",
|
||||||
|
"ar" to "العربية",
|
||||||
"bg" to "Български",
|
"bg" to "Български",
|
||||||
"cs" to "Čeština",
|
"cs" to "Čeština",
|
||||||
"de" to "Deutsch",
|
"de" to "Deutsch",
|
||||||
"es" to "Español",
|
"es" to "Español",
|
||||||
|
"fi" to "Suomi",
|
||||||
"fr" to "Français",
|
"fr" to "Français",
|
||||||
"it" to "Italiano",
|
"it" to "Italiano",
|
||||||
|
"iw" to "עִברִית",
|
||||||
"ja" to "日本語",
|
"ja" to "日本語",
|
||||||
"nl" to "Nederlands",
|
"nl" to "Nederlands",
|
||||||
"pl" to "Polski",
|
"pl" to "Polski",
|
||||||
|
Loading…
Reference in New Issue
Block a user