mirror of
https://github.com/mihonapp/mihon.git
synced 2024-12-24 18:08:24 +01:00
Add Amharic locale
This commit is contained in:
parent
2992a0f4d8
commit
842295348e
@ -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 New Issue
Block a user