X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=applications%2Fluci-fw%2Fluasrc%2Fmodel%2Fcbi%2Fluci_fw%2Fredirect.lua;h=52a3c39d679f1d4dceecf27264b908295fe3bd01;hp=3aa1066f52d7e4a9615e9cb5bd31e44d95fd618e;hb=7c765875884d6866c53b63757731b079bace2e9b;hpb=dc7138e424dfd454951ed5ed4eeddbf842457e87 diff --git a/applications/luci-fw/luasrc/model/cbi/luci_fw/redirect.lua b/applications/luci-fw/luasrc/model/cbi/luci_fw/redirect.lua index 3aa1066f5..52a3c39d6 100644 --- a/applications/luci-fw/luasrc/model/cbi/luci_fw/redirect.lua +++ b/applications/luci-fw/luasrc/model/cbi/luci_fw/redirect.lua @@ -12,7 +12,7 @@ You may obtain a copy of the License at $Id$ ]]-- require("luci.sys") -m = Map("firewall", translate("fw_redirect"), translate("fw_redirect_desc")) +m = Map("firewall", translate("Traffic Redirection"), translate("Traffic redirection allows you to change the destination address of forwarded packets.")) s = m:section(TypedSection, "redirect", "") @@ -21,17 +21,17 @@ s.addremove = true s.anonymous = true s.extedit = luci.dispatcher.build_url("admin", "network", "firewall", "redirect", "%s") -name = s:option(Value, "_name", translate("name"), translate("cbi_optional")) +name = s:option(Value, "_name", translate("Name"), translate(" (optional)")) name.size = 10 -iface = s:option(ListValue, "src", translate("fw_zone")) +iface = s:option(ListValue, "src", translate("Zone")) iface.default = "wan" luci.model.uci.cursor():foreach("firewall", "zone", function (section) iface:value(section.name) end) -proto = s:option(ListValue, "proto", translate("protocol")) +proto = s:option(ListValue, "proto", translate("Protocol")) proto:value("tcp", "TCP") proto:value("udp", "UDP") proto:value("tcpudp", "TCP+UDP")