[applications] luci-multiwan: Changed ListValue to Value for protocols, updated text...
authorCraig M. Coffee <craigc@netlab7.com>
Sat, 26 Jun 2010 08:12:52 +0000 (08:12 +0000)
committerCraig M. Coffee <craigc@netlab7.com>
Sat, 26 Jun 2010 08:12:52 +0000 (08:12 +0000)
applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua
applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwanmini.lua
po/en/multiwan.po

index ee71e295b8cf3365ff366b5c1cc353eaff5c61d9..96718f7cf02041973def28675520917ee902a188 100644 (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")
index 7556901591097560ac244a2319443c953b008e33..e14dc0a9fd81e025ddb1c6074e745830c01368c5 100644 (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")
index 514a7dc38a8de85d24e7b07a35a84e5de7732f8e..e61354de85a234e14b65aca4f382735789000bed 100644 (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"