[applications] luci-multiwan: Changed ListValue to Value for protocols, updated text in po for ports and protocols

This commit is contained in:
Craig M. Coffee 2010-06-26 08:12:52 +00:00
parent 05a61e4632
commit a3e2691a73
3 changed files with 12 additions and 2 deletions

View file

@ -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")

View file

@ -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")

View file

@ -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"