Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 39 additions & 34 deletions luci/luci-app-qmodem/luasrc/model/cbi/qmodem/dial_config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,25 @@ apn = s:taboption("advanced", Value, "apn", translate("APN"))
apn.default = ""
apn.rmempty = true
apn:value("", translate("Auto Choose"))
apn:value("cmnet", translate("China Mobile"))
apn:value("3gnet", translate("China Unicom"))
apn:value("ctnet", translate("China Telecom"))
apn:value("cbnet", translate("China Broadcast"))
apn:value("5gscuiot", translate("Skytone"))
apn:value("cmnet", translate("China Mobile (CN)"))
apn:value("3gnet", translate("China Unicom (CN)"))
apn:value("ctnet", translate("China Telecom (CN)"))
apn:value("cbnet", translate("China Broadcast (CN)"))
apn:value("5gscuiot", translate("Skytone (CN)"))

-- Switzerland (CH)
apn:value("gprs.swisscom.ch", translate("Swisscom (CH)"))
apn:value("internet", "Salt (CH), Sunrise (CH), O2 (DE), 1&1 (DE)")

-- Germany (DE)
apn:value("web.vodafone.de", translate("Vodafone (DE)"))
apn:value("internet.telekom", translate("Telekom (DE)"))
apn:value("internet.eplus.de", translate("E-Plus (DE)"))

-- Austria (AT)
apn:value("A1.net", translate("A1 (AT)"))
apn:value("drei.at", translate("Drei (AT)"))
apn:value("internet.t-mobile.at", translate("Magenta (AT)"))

auth = s:taboption("advanced", ListValue, "auth", translate("Authentication Type"))
auth.default = "none"
Expand Down Expand Up @@ -129,39 +143,30 @@ pincode.description = translate("If the PIN code is not set, leave it blank.")

--卡2
apn = s:taboption("advanced", Value, "apn2", translate("APN").." 2")
apn.description = translate("If solt 2 config is not set,will use slot 1 config.")
apn.description = translate("If slot 2 config is not set,will use slot 1 config.")
apn.default = ""
apn.rmempty = true
apn:value("", translate("Auto Choose"))
apn:value("cmnet", translate("China Mobile"))
apn:value("3gnet", translate("China Unicom"))
apn:value("ctnet", translate("China Telecom"))
apn:value("cbnet", translate("China Broadcast"))
apn:value("5gscuiot", translate("Skytone"))
apn:value("cmnet", translate("China Mobile (CN)"))
apn:value("3gnet", translate("China Unicom (CN)"))
apn:value("ctnet", translate("China Telecom (CN)"))
apn:value("cbnet", translate("China Broadcast (CN)"))
apn:value("5gscuiot", translate("Skytone (CN)"))

-- Switzerland (CH)
apn:value("gprs.swisscom.ch", translate("Swisscom (CH)"))
apn:value("internet", "Salt (CH), Sunrise (CH), O2 (DE), 1&1 (DE)")

-- Germany (DE)
apn:value("web.vodafone.de", translate("Vodafone (DE)"))
apn:value("internet.telekom", translate("Telekom (DE)"))
apn:value("internet.eplus.de", translate("E-Plus (DE)"))

-- Austria (AT)
apn:value("A1.net", translate("A1 (AT)"))
apn:value("drei.at", translate("Drei (AT)"))
apn:value("internet.t-mobile.at", translate("Magenta (AT)"))

auth = s:taboption("advanced", ListValue, "auth2", translate("Authentication Type").. " 2")
auth.default = "none"
auth.rmempty = false
auth:value("none", translate("NONE"))
auth:value("both", translate("PAP/CHAP (both)"))
auth:value("pap", "PAP")
auth:value("chap", "CHAP")

username = s:taboption("advanced", Value, "username2", translate("PAP/CHAP Username").. " 2")
username.rmempty = true
username:depends("auth2", "both")
username:depends("auth2", "pap")
username:depends("auth2", "chap")

password = s:taboption("advanced", Value, "password2", translate("PAP/CHAP Password").. " 2")
password.rmempty = true
password.password = true
password:depends("auth2", "both")
password:depends("auth2", "pap")
password:depends("auth2", "chap")

pincode = s:taboption("advanced", Value, "pincode2", translate("PIN Code").. " 2")
pincode.description = translate("If the PIN code is not set, leave it blank.")

metric = s:taboption("advanced", Value, "metric", translate("Metric"))
metric.description = translate("The metric value is used to determine the priority of the route. The smaller the value, the higher the priority. Cannot duplicate.")
Expand Down
54 changes: 44 additions & 10 deletions luci/luci-app-qmodem/po/ru/modem.po
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,54 @@ msgstr "Тип PDP"
msgid "Auto Choose"
msgstr "Авто выбор"

msgid "China Mobile"
msgstr "Китайский мобильный"
msgid "China Mobile (CN)"
msgstr "Китайский мобильный (CN)"

msgid "China Unicom"
msgstr "Китайский Юником"
msgid "China Unicom (CN)"
msgstr "Китайский Юником (CN)"

msgid "China Telecom"
msgstr "Китайский Телеком"
msgid "China Telecom (CN)"
msgstr "Китайский Телеком (CN)"

msgid "China Broadcast"
msgstr "Китайское вещание"
msgid "China Broadcast (CN)"
msgstr "Китайское вещание (CN)"

msgid "Skytone"
msgstr "Скайтон"
msgid "Skytone (CN)"
msgstr "Скайтон (CN)"

msgid "Swisscom (CH)"
msgstr "Swisscom (CH)"

msgid "Sunrise (CH)"
msgstr "Sunrise (CH)"

msgid "Salt (CH)"
msgstr "Salt (CH)"

msgid "Vodafone (DE)"
msgstr "Vodafone (DE)"

msgid "Telekom (DE)"
msgstr "Telekom (DE)"


msgid "O2 (DE)"
msgstr "O2 (DE)"

msgid "E-Plus (DE)"
msgstr "E-Plus (DE)"

msgid "1&1 (DE)"
msgstr "1&1 (DE)"

msgid "A1 (AT)"
msgstr "A1 (AT)"

msgid "Drei (AT)"
msgstr "Drei (AT)"

msgid "Magenta (AT)"
msgstr "Magenta (AT)"

msgid "Authentication Type"
msgstr "Тип аутентификации"
Expand Down
47 changes: 42 additions & 5 deletions luci/luci-app-qmodem/po/template/qmodem.po
Original file line number Diff line number Diff line change
Expand Up @@ -57,19 +57,56 @@ msgstr ""
msgid "Auto Choose"
msgstr ""

msgid "China Mobile"
msgid "China Mobile (CN)"
msgstr ""

msgid "China Unicom"
msgid "China Unicom (CN)"
msgstr ""

msgid "China Telecom"
msgid "China Telecom (CN)"
msgstr ""

msgid "China Broadcast"
msgid "China Broadcast (CN)"
msgstr ""

msgid "Skytone"
msgid "Skytone (CN)"
msgstr ""

msgid "Sunrise (CH)"
msgstr ""

msgid "Swisscom (CH)"
msgstr ""

msgid "Salt (CH)"
msgstr "Salt (CH)"


msgid "Vodafone (DE)"
msgstr ""

msgid "Telekom (DE)"
msgstr ""

msgid "O2 (DE)"
msgstr ""

msgid "E-Plus (DE)"
msgstr ""

msgid "1&1 (DE)"
msgstr ""

msgid "A1 (AT)"
msgstr ""

msgid "Drei (AT)"
msgstr ""

msgid "Magenta (AT)"
msgstr ""

msgid "T-Mobile (AT)"
msgstr ""

msgid "Authentication Type"
Expand Down
54 changes: 44 additions & 10 deletions luci/luci-app-qmodem/po/zh-cn/qmodem.po
Original file line number Diff line number Diff line change
Expand Up @@ -73,20 +73,54 @@ msgstr "PDP类型"
msgid "Auto Choose"
msgstr "自动选择"

msgid "China Mobile"
msgstr "中国移动"
msgid "China Mobile (CN)"
msgstr "中国移动 (CN)"

msgid "China Unicom"
msgstr "中国联通"
msgid "China Unicom (CN)"
msgstr "中国联通 (CN)"

msgid "China Telecom"
msgstr "中国电信"
msgid "China Telecom (CN)"
msgstr "中国电信 (CN)"

msgid "China Broadcast"
msgstr "中国广电"
msgid "China Broadcast (CN)"
msgstr "中国广电 (CN)"

msgid "Skytone"
msgstr "天际通"
msgid "Skytone (CN)"
msgstr "天际通 (CN)"

msgid "Sunrise (CH)"
msgstr "Sunrise (CH)"

msgid "Swisscom(CH)"
msgstr "Swisscom (CH)"

msgid "Salt (CH)"
msgstr "Salt (CH)"


msgid "Vodafone (DE)"
msgstr "Vodafone (DE)"

msgid "Telekom (DE)"
msgstr "Telekom (DE)"

msgid "O2 (DE)"
msgstr "O2 (DE)"

msgid "E-Plus (DE)"
msgstr "E-Plus (DE)"

msgid "1&1 (DE)"
msgstr "1&1 (DE)"

msgid "A1 (AT)"
msgstr "A1 (AT)"

msgid "Drei (AT)"
msgstr "Drei (AT)"

msgid "Magenta (AT)"
msgstr "Magenta (AT)"

msgid "Authentication Type"
msgstr "认证类型"
Expand Down
53 changes: 43 additions & 10 deletions luci/luci-app-qmodem/po/zh_Hans/qmodem.po
Original file line number Diff line number Diff line change
Expand Up @@ -73,20 +73,53 @@ msgstr "PDP类型"
msgid "Auto Choose"
msgstr "自动选择"

msgid "China Mobile"
msgstr "中国移动"
msgid "China Mobile (CN)"
msgstr "中国移动 (CN)"

msgid "China Unicom"
msgstr "中国联通"
msgid "China Unicom (CN)"
msgstr "中国联通 (CN)"

msgid "China Telecom"
msgstr "中国电信"
msgid "China Telecom (CN)"
msgstr "中国电信 (CN)"

msgid "China Broadcast"
msgstr "中国广电"
msgid "China Broadcast (CN)"
msgstr "中国广电 (CN)"

msgid "Skytone"
msgstr "天际通"
msgid "Skytone (CN)"
msgstr "天际通 (CN)"

msgid "Sunrise (CH)"
msgstr "Sunrise (CH)"

msgid "Swisscom(CH)"
msgstr "Swisscom (CH)"

msgid "Salt (CH)"
msgstr "Salt (CH)"

msgid "Vodafone (DE)"
msgstr "Vodafone (DE)"

msgid "Telekom (DE)"
msgstr "Telekom (DE)"

msgid "O2 (DE)"
msgstr "O2 (DE)"

msgid "E-Plus (DE)"
msgstr "E-Plus (DE)"

msgid "1&1 (DE)"
msgstr "1&1 (DE)"

msgid "A1 (AT)"
msgstr "A1 (AT)"

msgid "Drei (AT)"
msgstr "Drei (AT)"

msgid "Magenta (AT)"
msgstr "Magenta (AT)"

msgid "Authentication Type"
msgstr "认证类型"
Expand Down
Loading