add: zn_CN and zn_TW web UI languages (#21)

This commit adds Chinese translations to the web UI.

Signed-off-by: WinCS <94188592+Meltartica@users.noreply.github.com>
This commit is contained in:
WinCS
2024-07-08 10:44:10 +08:00
committed by ThePedroo
parent a18215226f
commit afcf302d90
3 changed files with 100 additions and 1 deletions

View File

@@ -150,4 +150,6 @@ export const avaliableLanguages = [
"ro_RO", /* INFO: Translated by @ExtremeXT */
"ru_RU", /* INFO: Translated by Emulond Argent (@Emulond) */
"vi_VN", /* INFO: Translated by @RainyXeon (unexpected unresolved) */
]
"zh_CN", /* INFO: Translated by @Meltartica */
"zh_TW", /* INFO: Translated by @Meltartica */
]

48
webroot/lang/zh_CN.json Normal file
View File

@@ -0,0 +1,48 @@
{
"langName": "简体中文 (中国)",
"langModal": {
"header": "选择你的语言"
},
"infoCard": {
"status": {
"unknown": "ReZygisk处于未知状态!",
"notWorking": "ReZygisk无法运行!",
"ok": "ReZygisk正常运行!",
"partially": "ReZygisk部分正常运行!"
},
"version": "版本",
"root": "根实现",
"zygote": {
"injected": "已注入",
"notInjected": "注入失败",
"unknown": "未知"
}
},
"moduleCard": {
"header": "模块",
"arch": "架构: "
},
"settings": {
"header": "设置",
"daemonButton": {
"start": "开启",
"stop": "停止",
"exit": "退出"
}
},
"cmdErrors": {
"ptrace64": "执行zygisk-ptrace64时出现错误",
"ptrace32": "执行zygisk-ptrace32时出现错误",
"ls": "列出模块zygisk文件夹中的文件时出现错误",
"cat": "读取模块module.prop时出现错误",
"find": "查找zygisk模块时出现错误"
},
"global": {
"unknown": "未知"
},
"errorHistory": {
"header": "错误记录",
"placeholder": "未发现任何错误!"
}
}

49
webroot/lang/zh_TW.json Normal file
View File

@@ -0,0 +1,49 @@
{
"langName": "繁體中文 (中國台灣)",
"langModal": {
"header": "選擇你的語言"
},
"infoCard": {
"status": {
"unknown": "ReZygisk處於未知狀態!",
"notWorking": "ReZygisk無法運作!",
"ok": "ReZygisk正常運作!",
"partially": "ReZygisk部分正常運作!"
},
"version": "版本",
"root": "根實現",
"zygote": {
"injected": "已註入",
"notInjected": "注入失敗",
"unknown": "未知"
}
},
"moduleCard": {
"header": "模塊",
"arch": "架構: "
},
"settings": {
"header": "設定",
"daemonButton": {
"start": "開啟",
"stop": "停止",
"exit": "退出"
}
},
"cmdErrors": {
"ptrace64": "執行zygisk-ptrace64時發生錯誤",
"ptrace32": "執行zygisk-ptrace32時發生錯誤",
"ls": "列出模塊zygisk文件夾中的文件時出現錯誤",
"cat": "讀取模塊module.prop時出現錯誤",
"find": "查找zygisk模塊時出現錯誤"
},
"global": {
"unknown": "未知"
},
"errorHistory": {
"header": "錯誤記錄",
"placeholder": "未發現任何錯誤!"
}
}