[applications] luci-multiwan: Changed ListValue to Value for protocols, updated text in po for ports and protocols
This commit is contained in:
parent
05a61e4632
commit
a3e2691a73
3 changed files with 12 additions and 2 deletions
|
@ -123,7 +123,7 @@ dst.rmempty = true
|
|||
dst:value("", translate("all"))
|
||||
luci.tools.webadmin.cbi_add_knownips(dst)
|
||||
|
||||
proto = s:option(ListValue, "proto", translate("Protocol"))
|
||||
proto = s:option(Value, "proto", translate("Protocol"))
|
||||
proto:value("", translate("all"))
|
||||
proto:value("tcp", "TCP")
|
||||
proto:value("udp", "UDP")
|
||||
|
|
|
@ -35,7 +35,7 @@ dst.rmempty = true
|
|||
dst:value("", translate("all"))
|
||||
luci.tools.webadmin.cbi_add_knownips(dst)
|
||||
|
||||
proto = s:option(ListValue, "proto", translate("Protocol"))
|
||||
proto = s:option(Value, "proto", translate("Protocol"))
|
||||
proto:value("", translate("all"))
|
||||
proto:value("tcp", "TCP")
|
||||
proto:value("udp", "UDP")
|
||||
|
|
|
@ -123,3 +123,13 @@ msgstr "Enable"
|
|||
#. Load Balancer(Performance)
|
||||
msgid "Load Balancer(Performance)"
|
||||
msgstr "Load Balancer(Performance)"
|
||||
|
||||
#: /tmp/i18n/luasrc/i18n/multiwan.en.lua:25
|
||||
#. Ports
|
||||
msgid "Ports"
|
||||
msgstr "Ports"
|
||||
|
||||
#: /tmp/i18n/luasrc/i18n/multiwan.en.lua:26
|
||||
#. Protocol
|
||||
msgid "Protocol"
|
||||
msgstr "Protocol"
|
||||
|
|
Loading…
Reference in a new issue