remove .i18n annotations from controller files
[project/luci.git] / applications / luci-freifunk-policyrouting / luasrc / model / cbi / freifunk / policyrouting.lua
index b3cac9a..f7f0467 100644 (file)
@@ -10,7 +10,6 @@ You may obtain a copy of the License at
        http://www.apache.org/licenses/LICENSE-2.0
 ]]--
 
-luci.i18n.loadc("freifunk")
 local uci = require "luci.model.uci".cursor()
 
 m = Map("freifunk-policyrouting", translate("Policy Routing"), translate("These pages can be used to setup policy routing for certain firewall zones. "..
@@ -28,6 +27,10 @@ local strict = c:option(Flag, "strict", translate("Strict Filtering"), translate
        "select this option."))
 strict.rmempty = false
 
+local fallback = c:option(Flag, "fallback", translate("Fallback to mesh"),
+       translate("If your own gateway is not available then fallback to the mesh default gateway."))
+strict.rmempty = false
+
 local zones = c:option(MultiValue, "zones", translate("Firewall zones"), translate("All traffic from interfaces belonging to these zones will be sent via "..
        "a gateway in the mesh network."))
 uci:foreach("firewall", "zone", function(section)