From 842295348e39bb910a4ff681a89fa03bc2961812 Mon Sep 17 00:00:00 2001 From: arkon Date: Sun, 4 Oct 2020 13:10:40 -0400 Subject: [PATCH] Add Amharic locale --- app/build.gradle | 4 ++-- .../kanade/tachiyomi/ui/setting/SettingsGeneralController.kt | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index a86084e06f..fe6a7b01be 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -302,13 +302,13 @@ tasks.withType(AbstractKotlinCompile).all { } // 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' into './src/main/res/values-iw' include '**/*' } -preBuild.dependsOn(formatKotlin, copyResources) +preBuild.dependsOn(formatKotlin, copyHebrewStrings) if (getGradle().getStartParameter().getTaskRequests().toString().contains("Standard")) { apply plugin: 'com.google.gms.google-services' diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt index 7e5ce7ed78..687c7de6c0 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt @@ -168,6 +168,7 @@ class SettingsGeneralController : SettingsController() { // Due to compatibility issues: // - Hebrew: `he` is copied into `iw` at build time langs += arrayOf( + "am", "ar", "be", "bg",