Skip to content

Commit

Permalink
Merge pull request #5 from dafeiyoung/hotfix/issue#4
Browse files Browse the repository at this point in the history
fixed issue#4
  • Loading branch information
dafeiyoung authored Jul 11, 2019
2 parents 8d89a15 + 9cf549f commit 6aaf460
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Binary file modified sguclient-OpenWrt-LuCI/sguclient/i18n/zh-cn/sguclient.zh-cn.lmo
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ msgstr "内网(校园网)密码"
msgid "ISP Type"
msgstr "网络运营商类型"

msgid "Interface"
msgid "AuthInterface"
msgstr "认证网卡"

msgid "Wan IP Address"
Expand All @@ -28,7 +28,7 @@ msgstr "认证网卡的IP地址"
msgid "Main control of SGUClient"
msgstr "SGUClient总开关"

msgid "Reconnect while client has been off-line(Generally NOT checked)"
msgid "Reconnect if client went off-line(Generally NOT checked)"
msgstr "客户端离线时自动重连(一般不勾选)"

msgid "No 802.1x heart beat and cancel alarm(Generally NOT checked)"
Expand All @@ -52,5 +52,5 @@ msgstr "移动"
msgid "Chose your authentication interface"
msgstr "请选择你的内网认证网卡"

msgid "Authentication interface IP address(must be the same as which filled in 'Network-Interfaces')"
msgstr "请填写上述认证网卡的实际IP地址(务必要和‘网络-接口’里填写的完全一样)"
msgid "Authentication interface IPv4 address(must be the same as which filled in 'Network-Interfaces')"
msgstr "请填写上述认证网卡的实际IPv4地址(务必要和‘网络-接口’里填写的完全一样)"
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ s.addremove = false
s.anonymous = true

enable = s:option(Flag, "enable", translate("Enable"),translate("Main control of SGUClient"))
enable = s:option(Flag, "autoreconnect", translate("Auto Reconnect"),translate("Reconnect while client has been off-line(Generally NOT checked)"))
enable = s:option(Flag, "autoreconnect", translate("Auto Reconnect"),translate("Reconnect if client went off-line(Generally NOT checked)"))
enable = s:option(Flag, "noheartbeat", translate("No 1x Heart Beat"),translate("No 802.1x heart beat and cancel alarm(Generally NOT checked)"))
name = s:option(Value, "username", translate("1x Username"),translate("Fill in your 802.1x username"))
pass = s:option(Value, "password", translate("1x Password"),translate("Fill in your 802.1x password"))
Expand All @@ -29,9 +29,9 @@ isptype=s:option(ListValue,"isptype",translate("ISP Type"),translate("Chose your
isptype:value("D",translate("CTCC(DX)"))
isptype:value("Y",translate("CMCC(YD)"))

ifname = s:option(ListValue, "ifname", translate("Interface"),translate("Chose your authentication interface"))
ifname = s:option(ListValue, "ifname", translate("AuthInterface"),translate("Chose your authentication interface"))

wanip = s:option(Value, "wanip", translate("Wan IP Address"),translate("Authentication interface IP address(must be the same as which filled in 'Network-Interfaces')"))
wanip = s:option(Value, "wanip", translate("Wan IP Address"),translate("Authentication interface IPv4 address(must be the same as which filled in 'Network-Interfaces')"))
wanip.datatype="ip4addr"

for k, v in ipairs(luci.sys.net.devices()) do
Expand Down

0 comments on commit 6aaf460

Please sign in to comment.