Mark installer names as non-translatable

This commit is contained in:
arkon 2021-09-25 21:08:31 -04:00
parent f754b081ce
commit c2255b0a0f
2 changed files with 3 additions and 3 deletions

View File

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

View File

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