From a223781faee2658dd109e4a59733a9a5b7e694a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?AxelPLN=EF=BC=88Axel=20Yinjia=20Huang=EF=BC=89?= <54173955+axelpln@users.noreply.github.com> Date: Sun, 23 Mar 2025 19:50:22 +0800 Subject: [PATCH] improve manager translations for zh-rCN & zh-rTW (#247) * add README_TW * Update README_CN.md * add Simplified Chinese for website add Simplified Chinese for website fix some mistakes in README_CN * Update zh/devices.html * Update zh/features.html * Update zh/devices.html * Update zh/features.html * Update zh/index.html * Add Traditional Chinese translation for manager * Try to add switching function for website * fix manager translations for zh-rCH & zh-rTW * try to add language switcher for manager * try to add language switcher for manager * try to add language switching function for manager app * try to add language switching function for manager app * try to add language switching function for manager app * discard invalid changes --- docs/index.html | 116 ++++++++++++++++++ .../com/rifsxd/ksunext/ui/screen/Settings.kt | 2 +- .../app/src/main/res/values-ja/strings.xml | 1 + .../src/main/res/values-zh-rCN/strings.xml | 4 +- .../src/main/res/values-zh-rTW/strings.xml | 22 +++- manager/app/src/main/res/values/strings.xml | 1 + 6 files changed, 142 insertions(+), 4 deletions(-) create mode 100644 docs/index.html diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 00000000..40332d47 --- /dev/null +++ b/docs/index.html @@ -0,0 +1,116 @@ + + + + + + + Home | KernelSU Next + + + + + + + + + + + + +
+
+
+ +
+

KernelSU Next

+

A kernel-based root solution for Android

+

Supports kernel 4.4 - 6.6 (Non-GKI & GKI)

+
+
+ + +
+
+

Installation

+

Run the following commands below for different installation options, they should be run inside the root of your kernel's directory.

+

Latest release

+
+ curl -LSs "https://raw.githubusercontent.com/rifsxd/KernelSU-Next/next/kernel/setup.sh" | bash - + +
+

Next branch (dev)

+
+ curl -LSs "https://raw.githubusercontent.com/rifsxd/KernelSU-Next/next/kernel/setup.sh" | bash -s next + +
+

Specific tag

+
+ curl -LSs "https://raw.githubusercontent.com/rifsxd/KernelSU-Next/next/kernel/setup.sh" | bash -s v1.0.2-R14 + +
+
+
+ + +
+
+

Contact Us

+

If you have any questions or need support, feel free to reach out:

+ +
+
+ + + + + + + + + diff --git a/manager/app/src/main/java/com/rifsxd/ksunext/ui/screen/Settings.kt b/manager/app/src/main/java/com/rifsxd/ksunext/ui/screen/Settings.kt index 49b6697d..73d0fdb6 100644 --- a/manager/app/src/main/java/com/rifsxd/ksunext/ui/screen/Settings.kt +++ b/manager/app/src/main/java/com/rifsxd/ksunext/ui/screen/Settings.kt @@ -638,4 +638,4 @@ private fun TopBar( @Composable private fun SettingsPreview() { SettingScreen(EmptyDestinationsNavigator) -} +} \ No newline at end of file diff --git a/manager/app/src/main/res/values-ja/strings.xml b/manager/app/src/main/res/values-ja/strings.xml index 4da4aac3..9349bac9 100644 --- a/manager/app/src/main/res/values-ja/strings.xml +++ b/manager/app/src/main/res/values-ja/strings.xml @@ -176,4 +176,5 @@ ログを保存 ログが保存されました ログを共有 + 言語 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 24e4374d..69f58b6a 100644 --- a/manager/app/src/main/res/values-zh-rCN/strings.xml +++ b/manager/app/src/main/res/values-zh-rCN/strings.xml @@ -134,6 +134,7 @@ 强制停止 重新启动 为 %s 更新 SELinux 规则失败 + 拒绝授予%s超级用户权限 更新日志 App Profile 模板 管理本地和在线的 App Profile 模版 @@ -187,6 +188,7 @@ 保存日志 日志已保存 分享日志 - 关闭 su 兼容 + 禁用超级用户指令 临时禁止任何应用通过 su 命令获取 root 权限(已运行的 root 进程不受影响) + 语言 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 aa88799b..7aa9b0f4 100644 --- a/manager/app/src/main/res/values-zh-rTW/strings.xml +++ b/manager/app/src/main/res/values-zh-rTW/strings.xml @@ -19,6 +19,9 @@ 內核中未找到 KernelSU Next v2 簽名! [ !KSU_NEXT || != size/hash ] 請讓你的內核開發人員整合 KernelSU Next! 內核版本 + SuSFS:%s + SuSFS 版本 + SuS SU Android 版本 管理器版本 SELinux 狀態 @@ -54,6 +57,12 @@ 恢復失敗: %s 版本 作者 + 模組標識 + 模組版本 + 更新配置 + 無更新配置 + 啟用開發人員模式 + 顯示隱藏的開發人員專用設置和調試信息 OverlayFS 被內核禁用,模組不可用。 刷新 顯示系統應用 @@ -72,6 +81,11 @@ 更改將在重啟系統後生效。您想現在重啟嗎? 恢復模組 從備份中恢復模組。 + 備份 & 恢復 + 恢復超級使用者列表 + 從最近的備份中恢復超級使用者列表 + 備份超級使用者列表 + 備份當前的超級使用者列表 備份模組 備份當前已安裝的模組。 警告 @@ -106,8 +120,8 @@ 當前 KernelSU-Next 版本 %1$d 過低,管理器無法正常工作,請升級內核 KernelSU-Next 版本至 %2$d 或以上! 預設卸載模組 App Profile 中"卸載模組"的全域預設值,如果啟用,將會為沒有設定 Profile 的應用移除所有模組針對系統的修改。 - 隱藏kprobe鉤子 - 它禁用由ksu所建立的kprobe鉤子,並啟用非kprobe內聯鉤子,就如同無法支援kprobe的non-gki核心的實現方式。 + 隱藏 Kprobe 鉤子 + 它禁用由 KSU 所建立的 kprobe 鉤子,並啟用非 kprobe 內聯鉤子,就如同無法支援 kprobe 的 non-gki 核心的實現方式。 啟用後將允許 KernelSU-Next 為本應用還原被模組修改過的檔案。 規則 @@ -120,6 +134,7 @@ 強制停止 重新啟動 為:%s 更新 SELinux 規則失敗 + 拒絕授予%s超級使用者權限 更新日誌 App Profile 模板 管理本地和線上的 App Profile 模板 @@ -173,4 +188,7 @@ 保存日誌 日誌已保存 發送日誌 + 關閉 SU 相容 + 暫時禁止任何應用通過 su 命令獲取 root 權限(已運行的 root 進程不受影響) + 語言 diff --git a/manager/app/src/main/res/values/strings.xml b/manager/app/src/main/res/values/strings.xml index 3388c6c3..0a32ca37 100644 --- a/manager/app/src/main/res/values/strings.xml +++ b/manager/app/src/main/res/values/strings.xml @@ -193,4 +193,5 @@ Share logs Disable su compatibility Temporarily disable the ability of any app to gain root privileges via the ⁠su command (existing root processes won\'t be affected). + Language