Эх сурвалжийг харах

Mark installer names as non-translatable

arkon 3 жил өмнө
parent
commit
c2255b0a0f

+ 1 - 1
app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsAdvancedController.kt

@@ -199,7 +199,7 @@ class SettingsAdvancedController : SettingsController() {
                 entriesRes = arrayOf(
                     R.string.ext_installer_legacy,
                     R.string.ext_installer_packageinstaller,
-                    R.string.ext_installer_shizuku
+                    R.string.ext_installer_shizuku,
                 )
                 entryValues = PreferenceValues.ExtensionInstaller.values().map { it.name }.toTypedArray()
                 defaultValue = if (MiuiUtil.isMiui()) {

+ 2 - 2
app/src/main/res/values/strings.xml

@@ -267,8 +267,8 @@
     <string name="ext_install_service_notif">Installing extension…</string>
     <string name="ext_installer_pref">Installer</string>
     <string name="ext_installer_legacy">Legacy</string>
-    <string name="ext_installer_packageinstaller">PackageInstaller</string>
-    <string name="ext_installer_shizuku">Shizuku</string>
+    <string name="ext_installer_packageinstaller" translatable="false">PackageInstaller</string>
+    <string name="ext_installer_shizuku" translatable="false">Shizuku</string>
     <string name="ext_installer_shizuku_stopped">Shizuku is not running</string>
     <string name="ext_installer_shizuku_unavailable_dialog">Install and start Shizuku to use Shizuku as extension installer.</string>