fix something

This commit is contained in:
Ing 2023-09-20 12:33:18 +08:00
parent c4b72607d8
commit a4a5a9966a
8 changed files with 9 additions and 9 deletions

View File

@ -229,7 +229,7 @@ msgid "Disable flags restriction"
msgstr ""
#: menu.sh:120
msgid "Show beta models"
msgid "Show all models"
msgstr ""
#: menu.sh:122

View File

@ -110,7 +110,7 @@ msgstr "未连接"
#: boot.sh:214 init.sh:216
msgid "TIMEOUT (Please check the IP on the router.)"
msgstr "超时 (检查路由器上的IP.)"
msgstr "超时 (检查路由器上的IP.)"
#: boot.sh:220
msgid "Access \\033[1;34mhttp://%s:5000\\033[0m to connect the DSM via web."
@ -228,8 +228,8 @@ msgid "Disable flags restriction"
msgstr "禁用标志限制"
#: menu.sh:120
msgid "Show beta models"
msgstr "显示测试型号"
msgid "Show all models"
msgstr "显示所有型号"
#: menu.sh:122
msgid "Choose the model"

View File

@ -228,8 +228,8 @@ msgid "Disable flags restriction"
msgstr "禁用標誌限制"
#: menu.sh:120
msgid "Show beta models"
msgstr "顯示測試型號"
msgid "Show all models"
msgstr "顯示所有型號"
#: menu.sh:122
msgid "Choose the model"

View File

@ -230,8 +230,8 @@ msgid "Disable flags restriction"
msgstr "禁用標誌限制"
#: menu.sh:120
msgid "Show beta models"
msgstr "顯示測試型號"
msgid "Show all models"
msgstr "顯示所有型號"
#: menu.sh:122
msgid "Choose the model"

View File

@ -117,7 +117,7 @@ function modelMenu() {
[ ${COMPATIBLE} -eq 1 ] && echo "${M} \"$(printf "\Zb%-12s\Zn \Z4%-2s\Zn" "${PLATFORM}" "${DT}")\" " >>"${TMP_PATH}/menu"
done < <(cat "${TMP_PATH}/modellist" | sort -r -n -k 2)
[ ${FLGNEX} -eq 1 ] && echo "f \"\Z1$(TEXT "Disable flags restriction")\Zn\"" >>"${TMP_PATH}/menu"
[ ${FLGBETA} -eq 0 ] && echo "b \"\Z1$(TEXT "Show beta models")\Zn\"" >>"${TMP_PATH}/menu"
[ ${FLGBETA} -eq 0 ] && echo "b \"\Z1$(TEXT "Show all models")\Zn\"" >>"${TMP_PATH}/menu"
dialog --backtitle "$(backtitle)" --colors \
--menu "$(TEXT "Choose the model")" 0 0 0 --file "${TMP_PATH}/menu" \
2>${TMP_PATH}/resp