remove web for lszrz

This commit is contained in:
Ing 2023-12-10 20:09:17 +08:00
parent 65abc66f84
commit b9b4ae66bd
5 changed files with 23 additions and 23 deletions

View File

@ -318,7 +318,7 @@ msgid ""
msgstr ""
#: menu.sh:419 menu.sh:548 menu.sh:1509 menu.sh:2079
msgid "This feature is only available when accessed via web/ssh."
msgid "This feature is only available when accessed via ssh (Requires a terminal that supports ZModem protocol)."
msgstr ""
#: menu.sh:423
@ -988,7 +988,7 @@ msgstr ""
#: menu.sh:1642
msgid ""
"opkg install is complete. Please reconnect to SSH/web, or execute 'source ~/."
"opkg install is complete. Please reconnect to ssh/web, or execute 'source ~/."
"bashrc'"
msgstr ""

View File

@ -321,8 +321,8 @@ msgid ""
msgstr "名称颜色为\"\\Z4蓝色\\Zn\"的为已添加, 颜色为\"黑色\"的为未添加.\\n\\n"
#: menu.sh:419 menu.sh:548 menu.sh:1509 menu.sh:2079
msgid "This feature is only available when accessed via web/ssh."
msgstr "此功能仅在通过 web/ssh 访问时可用."
msgid "This feature is only available when accessed via ssh (Requires a terminal that supports ZModem protocol)."
msgstr "此功能仅在通过 ssh 访问时可用(需要支持ZModem协议的终端)."
#: menu.sh:423
msgid "Please upload the *.addons file."
@ -1005,9 +1005,9 @@ msgstr "opkg 安装中 ..."
#: menu.sh:1642
msgid ""
"opkg install is complete. Please reconnect to SSH/web, or execute 'source ~/."
"opkg install is complete. Please reconnect to ssh/web, or execute 'source ~/."
"bashrc'"
msgstr "opkg 安装完成. 请重新链接 SSH/web, 或者执行 'source ~/.bashrc'"
msgstr "opkg 安装完成. 请重新链接 ssh/web, 或者执行 'source ~/.bashrc'"
#: menu.sh:1654
msgid "Please enter a proxy server url.(e.g., http://192.168.1.1:7981/)"

View File

@ -321,8 +321,8 @@ msgid ""
msgstr "名稱顏色為\"\\Z4藍色\\Zn\"的為已添加, 顏色為\"黑色\"的為未添加..\\n\\n"
#: menu.sh:419 menu.sh:548 menu.sh:1509 menu.sh:2079
msgid "This feature is only available when accessed via web/ssh."
msgstr "此功能僅通過 web/ssh 訪問時可用."
msgid "This feature is only available when accessed via ssh (Requires a terminal that supports ZModem protocol)."
msgstr "此功能僅通過 ssh 訪問時可用(需要支援ZModem協定的終端)."
#: menu.sh:423
msgid "Please upload the *.addons file."
@ -1005,9 +1005,9 @@ msgstr "opkg 安裝中 ..."
#: menu.sh:1642
msgid ""
"opkg install is complete. Please reconnect to SSH/web, or execute 'source ~/."
"opkg install is complete. Please reconnect to ssh/web, or execute 'source ~/."
"bashrc'"
msgstr "opkg 安裝完成. 請重新連結 SSH/web, 或者執行 'source ~/.bashrc'"
msgstr "opkg 安裝完成. 請重新連結 ssh/web, 或者執行 'source ~/.bashrc'"
#: menu.sh:1654
msgid "Please enter a proxy server url.(e.g., http://192.168.1.1:7981/)"

View File

@ -322,8 +322,8 @@ msgstr ""
"名稱色彩為 \"\\Z4藍色\\Zn\" 者為已加入,色彩為 \"黑色\" 者為未加入。\\n\\n"
#: menu.sh:419 menu.sh:548 menu.sh:1509 menu.sh:2079
msgid "This feature is only available when accessed via web/ssh."
msgstr "此功能僅在透過 web/ssh 存取時可用。"
msgid "This feature is only available when accessed via ssh (Requires a terminal that supports ZModem protocol)."
msgstr "此功能僅在透過 ssh 存取時可用(需要支援ZModem協定的終端)。"
#: menu.sh:423
msgid "Please upload the *.addons file."
@ -1008,9 +1008,9 @@ msgstr "opkg 安裝中 ..."
#: menu.sh:1642
msgid ""
"opkg install is complete. Please reconnect to SSH/web, or execute 'source ~/."
"opkg install is complete. Please reconnect to ssh/web, or execute 'source ~/."
"bashrc'"
msgstr "opkg 安裝完成。請重新連線 SSH/web或者執行「source ~/.bashrc」"
msgstr "opkg 安裝完成。請重新連線 ssh/web或者執行「source ~/.bashrc」"
#: menu.sh:1654
msgid "Please enter a proxy server url.(e.g., http://192.168.1.1:7981/)"

View File

@ -414,9 +414,9 @@ function addonMenu() {
--msgbox "${MSG}" 0 0
;;
o)
if ! tty | grep -q "/dev/pts"; then
if ! tty | grep -q "/dev/pts" || [ -z "${SSH_TTY}" ]; then
DIALOG --title "$(TEXT "Addons")" \
--msgbox "$(TEXT "This feature is only available when accessed via web/ssh.")" 0 0
--msgbox "$(TEXT "This feature is only available when accessed via ssh (Requires a terminal that supports ZModem protocol).")" 0 0
return
fi
DIALOG --title "$(TEXT "Addons")" \
@ -543,9 +543,9 @@ function moduleMenu() {
touch ${PART1_PATH}/.build
;;
o)
if ! tty | grep -q "/dev/pts"; then
if ! tty | grep -q "/dev/pts" || [ -z "${SSH_TTY}" ]; then
DIALOG --title "$(TEXT "Modules")" \
--msgbox "$(TEXT "This feature is only available when accessed via web/ssh.")" 0 0
--msgbox "$(TEXT "This feature is only available when accessed via ssh (Requires a terminal that supports ZModem protocol).")" 0 0
return
fi
MSG=""
@ -1504,9 +1504,9 @@ function advancedMenu() {
--msgbox ""$(TEXT "Save is complete.")"" 0 0
;;
d)
if ! tty | grep -q "/dev/pts"; then
if ! tty | grep -q "/dev/pts" || [ -z "${SSH_TTY}" ]; then
DIALOG --title "$(TEXT "Advanced")" \
--msgbox "$(TEXT "This feature is only available when accessed via web/ssh.")" 0 0
--msgbox "$(TEXT "This feature is only available when accessed via ssh (Requires a terminal that supports ZModem protocol).")" 0 0
return
fi
DIALOG --title "$(TEXT "Advanced")" \
@ -1639,7 +1639,7 @@ function advancedMenu() {
) 2>&1 | DIALOG --title "$(TEXT "Advanced")" \
--progressbox "$(TEXT "opkg installing ...")" 20 100
DIALOG --title "$(TEXT "Advanced")" \
--msgbox "$(TEXT "opkg install is complete. Please reconnect to SSH/web, or execute 'source ~/.bashrc'")" 0 0
--msgbox "$(TEXT "opkg install is complete. Please reconnect to ssh/web, or execute 'source ~/.bashrc'")" 0 0
;;
g)
[ "${DSMLOGO}" = "true" ] && DSMLOGO='false' || DSMLOGO='true'
@ -2074,9 +2074,9 @@ function updateMenu() {
updateExts "LKMs" "0"
;;
u)
if ! tty | grep -q "/dev/pts"; then
if ! tty | grep -q "/dev/pts" || [ -z "${SSH_TTY}" ]; then
DIALOG --title "$(TEXT "Update")" \
--msgbox "$(TEXT "This feature is only available when accessed via web/ssh.")" 0 0
--msgbox "$(TEXT "This feature is only available when accessed via ssh (Requires a terminal that supports ZModem protocol).")" 0 0
return
fi
MSG=""