mirror of
https://git.mihon.tech/mihonapp/mihon
synced 2024-11-22 13:15:47 +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
|
||||
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'
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue