manager: Update LKM select file prompt, optimize “init_boot / vendor_boot” text (#211)

* Update Install.kt

* Update Install.kt

* Update strings.xml

* Update strings-rCN.xml

* Update strings-rTW.xml

* manger: Add a space to ensure pangu

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
NkBe
2025-06-24 15:50:48 +08:00
committed by GitHub
parent 91ae4c9650
commit f57fe79c5d
4 changed files with 10 additions and 3 deletions

View File

@@ -373,7 +373,11 @@ private fun SelectInstallMethod(
val horizonKernelSummary = stringResource(R.string.horizon_kernel_summary)
val selectFileTip = stringResource(
id = R.string.select_file_tip,
if (isInitBoot()) "init_boot / vendor_boot" else "boot"
if (isInitBoot()) {
"init_boot / vendor_boot ${stringResource(R.string.select_file_tip_vendor)}"
} else {
"boot"
}
)
val radioOptions = mutableListOf<InstallMethod>(

View File

@@ -111,6 +111,7 @@
<string name="install_inactive_slot_warning">将在重启后强制切换到另一个槽位!\n注意只能在 OTA 更新完成后的重启之前使用。\n确认</string>
<string name="install_next">下一步</string>
<string name="select_file_tip">建议选择 %1$s 分区镜像</string>
<string name="select_file_tip_vendor">(实验性的)</string>
<string name="select_kmi">选择 KMI</string>
<string name="settings_uninstall">卸载</string>
<string name="settings_uninstall_temporary">临时卸载</string>

View File

@@ -111,6 +111,7 @@
<string name="install_inactive_slot_warning">將在重新啟動後強制切換至另一槽位!\n注意僅能在 OTA 更新完成後重新啟動前使用。\n確定繼續</string>
<string name="install_next">下一步</string>
<string name="select_file_tip">建議選擇 %1$s 分區映像檔</string>
<string name="select_file_tip_vendor">實驗性的</string>
<string name="select_kmi">選擇 KMI</string>
<string name="settings_uninstall">解除安裝</string>
<string name="settings_uninstall_temporary">臨時解除安裝</string>

View File

@@ -113,6 +113,7 @@
<string name="install_inactive_slot_warning">Your device will be **FORCED** to boot to the current inactive slot after a reboot!\nOnly use this option after OTA is done.\nContinue?</string>
<string name="install_next">Next</string>
<string name="select_file_tip">%1$s partition image is recommended</string>
<string name="select_file_tip_vendor">(unstable)</string>
<string name="select_kmi">Select KMI</string>
<string name="settings_uninstall">Uninstall</string>
<string name="settings_uninstall_temporary">Uninstall temporarily</string>