mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-12-18 19:23:25 +03:00
Add Amharic locale
This commit is contained in:
parent
2992a0f4d8
commit
842295348e
2 changed files with 3 additions and 2 deletions
|
@ -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'
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue