From: Craig M. Coffee Date: Sat, 26 Jun 2010 08:12:52 +0000 (+0000) Subject: [applications] luci-multiwan: Changed ListValue to Value for protocols, updated text... X-Git-Tag: 0.10.0~670 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a3e2691a73da98ec394e8be59a727942dcdc352b;p=oweals%2Fluci.git [applications] luci-multiwan: Changed ListValue to Value for protocols, updated text in po for ports and protocols --- diff --git a/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua b/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua index ee71e295b..96718f7cf 100644 --- a/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua +++ b/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua @@ -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") diff --git a/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwanmini.lua b/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwanmini.lua index 755690159..e14dc0a9f 100644 --- a/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwanmini.lua +++ b/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwanmini.lua @@ -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") diff --git a/po/en/multiwan.po b/po/en/multiwan.po index 514a7dc38..e61354de8 100644 --- a/po/en/multiwan.po +++ b/po/en/multiwan.po @@ -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"