Add Amharic locale

(cherry picked from commit 842295348e39bb910a4ff681a89fa03bc2961812)
This commit is contained in:
arkon 2020-10-04 13:10:40 -04:00 committed by Jobobby04
parent 856a149032
commit 8e27ffcad7
2 changed files with 3 additions and 2 deletions

View File

@ -360,13 +360,13 @@ tasks.withType(AbstractKotlinCompile).all {
} }
// Duplicating Hebrew string assets due to some locale code issues on different devices // Duplicating Hebrew string assets due to some locale code issues on different devices
task copyResources(type: Copy) { task copyHebrewStrings(type: Copy) {
from './src/main/res/values-he' from './src/main/res/values-he'
into './src/main/res/values-iw' into './src/main/res/values-iw'
include '**/*' include '**/*'
} }
preBuild.dependsOn(formatKotlin, copyResources) preBuild.dependsOn(formatKotlin, copyHebrewStrings)
if (!getGradle().getStartParameter().getTaskRequests().toString().contains("Debug")) { if (!getGradle().getStartParameter().getTaskRequests().toString().contains("Debug")) {
apply plugin: 'com.google.gms.google-services' apply plugin: 'com.google.gms.google-services'

View File

@ -171,6 +171,7 @@ class SettingsGeneralController : SettingsController() {
// Due to compatibility issues: // Due to compatibility issues:
// - Hebrew: `he` is copied into `iw` at build time // - Hebrew: `he` is copied into `iw` at build time
langs += arrayOf( langs += arrayOf(
"am",
"ar", "ar",
"be", "be",
"bg", "bg",