From f57fe79c5df57853d5d54d0c4d5f306a3dc546fc Mon Sep 17 00:00:00 2001 From: NkBe Date: Tue, 24 Jun 2025 15:50:48 +0800 Subject: [PATCH] =?UTF-8?q?manager:=20Update=20LKM=20select=20file=20promp?= =?UTF-8?q?t,=20optimize=20=E2=80=9Cinit=5Fboot=20/=20vendor=5Fboot?= =?UTF-8?q?=E2=80=9D=20text=20(#211)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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> --- .../src/main/java/com/sukisu/ultra/ui/screen/Install.kt | 8 ++++++-- manager/app/src/main/res/values-zh-rCN/strings.xml | 1 + manager/app/src/main/res/values-zh-rTW/strings.xml | 1 + manager/app/src/main/res/values/strings.xml | 3 ++- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/manager/app/src/main/java/com/sukisu/ultra/ui/screen/Install.kt b/manager/app/src/main/java/com/sukisu/ultra/ui/screen/Install.kt index f719e148..5b4dd273 100644 --- a/manager/app/src/main/java/com/sukisu/ultra/ui/screen/Install.kt +++ b/manager/app/src/main/java/com/sukisu/ultra/ui/screen/Install.kt @@ -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( @@ -754,4 +758,4 @@ private fun TopBar( @Composable fun SelectInstallPreview() { InstallScreen(EmptyDestinationsNavigator) -} \ No newline at end of file +} diff --git a/manager/app/src/main/res/values-zh-rCN/strings.xml b/manager/app/src/main/res/values-zh-rCN/strings.xml index eef07446..a18296cc 100644 --- a/manager/app/src/main/res/values-zh-rCN/strings.xml +++ b/manager/app/src/main/res/values-zh-rCN/strings.xml @@ -111,6 +111,7 @@ 将在重启后强制切换到另一个槽位!\n注意只能在 OTA 更新完成后的重启之前使用。\n确认? 下一步 建议选择 %1$s 分区镜像 + (实验性的) 选择 KMI 卸载 临时卸载 diff --git a/manager/app/src/main/res/values-zh-rTW/strings.xml b/manager/app/src/main/res/values-zh-rTW/strings.xml index bb9b9b4c..2a65b084 100644 --- a/manager/app/src/main/res/values-zh-rTW/strings.xml +++ b/manager/app/src/main/res/values-zh-rTW/strings.xml @@ -111,6 +111,7 @@ 將在重新啟動後強制切換至另一槽位!\n注意:僅能在 OTA 更新完成後重新啟動前使用。\n確定繼續? 下一步 建議選擇 %1$s 分區映像檔 + 實驗性的 選擇 KMI 解除安裝 臨時解除安裝 diff --git a/manager/app/src/main/res/values/strings.xml b/manager/app/src/main/res/values/strings.xml index 5dcdabfc..0be14d2a 100644 --- a/manager/app/src/main/res/values/strings.xml +++ b/manager/app/src/main/res/values/strings.xml @@ -113,6 +113,7 @@ Your device will be **FORCED** to boot to the current inactive slot after a reboot!\nOnly use this option after OTA is done.\nContinue? Next %1$s partition image is recommended + (unstable) Select KMI Uninstall Uninstall temporarily @@ -518,4 +519,4 @@ Hide for all processes Hide only for non-KSU processes Run - \ No newline at end of file +