Add Amharic locale

This commit is contained in:
arkon 2020-10-04 13:10:40 -04:00
parent 2992a0f4d8
commit 842295348e
2 changed files with 3 additions and 2 deletions

View File

@ -302,13 +302,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("Standard")) { if (getGradle().getStartParameter().getTaskRequests().toString().contains("Standard")) {
apply plugin: 'com.google.gms.google-services' apply plugin: 'com.google.gms.google-services'

View File

@ -168,6 +168,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",