mirror of
https://github.com/juewuy/ShellCrash.git
synced 2026-09-08 13:46:33 +00:00
~增加UI选项的翻译文本
This commit is contained in:
@@ -42,6 +42,9 @@ SET_RESET_FAIL="重置脚本设置失败!"
|
|||||||
SET_BACKUP_MISS="未找到备份文件,请先备份!"
|
SET_BACKUP_MISS="未找到备份文件,请先备份!"
|
||||||
SET_NEED_RESTART="请重新启动脚本以生效!"
|
SET_NEED_RESTART="请重新启动脚本以生效!"
|
||||||
|
|
||||||
|
SET_TUI_1="新版UI(By Sofia Riese)"
|
||||||
|
SET_TUI_2="精简版UI(如界面换行错乱请使用此UI)"
|
||||||
|
|
||||||
# =================================================
|
# =================================================
|
||||||
# Redir mode
|
# Redir mode
|
||||||
# =================================================
|
# =================================================
|
||||||
|
|||||||
@@ -40,6 +40,9 @@ SET_RESET_OK="Script settings have been reset! (Old config has been backed up)"
|
|||||||
SET_BACKUP_MISS="Backup file not found. Please back up first!"
|
SET_BACKUP_MISS="Backup file not found. Please back up first!"
|
||||||
SET_NEED_RESTART="Please restart the script for changes to take effect!"
|
SET_NEED_RESTART="Please restart the script for changes to take effect!"
|
||||||
|
|
||||||
|
SET_TUI_1="New Design UI by Sofia-Riese"
|
||||||
|
SET_TUI_2="Lite UI (use if line wrapping is broken)"
|
||||||
|
|
||||||
# =================================================
|
# =================================================
|
||||||
# Redir mode
|
# Redir mode
|
||||||
# =================================================
|
# =================================================
|
||||||
|
|||||||
@@ -225,8 +225,8 @@ settings() {
|
|||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
c)
|
c)
|
||||||
comp_box "1) New Design by Sofia-Riese" \
|
comp_box "1) $SET_TUI_1" \
|
||||||
"2) TUI-lite" \
|
"2) $SET_TUI_2" \
|
||||||
"" \
|
"" \
|
||||||
"0) $COMMON_BACK"
|
"0) $COMMON_BACK"
|
||||||
read -r -p "$COMMON_INPUT> " num
|
read -r -p "$COMMON_INPUT> " num
|
||||||
|
|||||||
Reference in New Issue
Block a user