Skip to content

Commit bca5fda

Browse files
update supported languages
we're still severely lacking on translation, so if it does not pick up soon, we're going to start using machine translation Signed-off-by: androidacy-user <opensource@androidacy.com>
1 parent b3faf0d commit bca5fda

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

app/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,16 @@ android {
7171
"fr",
7272
"hu",
7373
"id",
74+
"it",
7475
"ja",
75-
"hu",
7676
"nl",
7777
"pl",
7878
"pt",
7979
"pt-rBR",
8080
"ru",
8181
"tr",
8282
"uk",
83+
"vi",
8384
"zh",
8485
"zh-rTW",
8586
"en"

app/src/main/kotlin/com/fox2code/mmm/MainApplication.kt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,15 +229,16 @@ class MainApplication : FoxApplication(), Configuration.Provider {
229229
"fr",
230230
"hu",
231231
"id",
232+
"it",
232233
"ja",
233-
"hu",
234234
"nl",
235235
"pl",
236236
"pt",
237237
"pt-rBR",
238238
"ru",
239239
"tr",
240240
"uk",
241+
"vi",
241242
"zh",
242243
"zh-rTW",
243244
"en"
@@ -288,7 +289,7 @@ class MainApplication : FoxApplication(), Configuration.Provider {
288289
this.packageManager.getPackageInfo(
289290
this.packageName, PackageManager.GET_SIGNATURES
290291
).signatures
291-
@Suppress("SpellCheckingInspection") val osh = arrayOf(
292+
val osh = arrayOf(
292293
"7bec7c4462f4aac616612d9f56a023ee3046e83afa956463b5fab547fd0a0be6",
293294
"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
294295
"e8ce7deca880304d7ff09f8fc37656cfa927cee7f6a0bb7b3feda6a5942931f5",
@@ -624,7 +625,7 @@ class MainApplication : FoxApplication(), Configuration.Provider {
624625
val isUsingMagiskCommand: Boolean
625626
get() = (peekMagiskVersion() >= Constants.MAGISK_VER_CODE_INSTALL_COMMAND) && getSharedPreferences(
626627
"mmm"
627-
)!!.getBoolean("pref_use_magisk_install_command", false) && isDeveloper
628+
)!!.getBoolean("pref_use_magisk_install_command", false) && isDeveloper && !InstallerInitializer.isKsu
628629

629630
@JvmStatic
630631
val isBackgroundUpdateCheckEnabled: Boolean

0 commit comments

Comments
 (0)