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>(
@@ -754,4 +758,4 @@ private fun TopBar(
@Composable
fun SelectInstallPreview() {
InstallScreen(EmptyDestinationsNavigator)
}
}