diff options
author | Anton Kikin <a.kikin@tano-systems.com> | 2018-11-23 00:46:51 +0300 |
---|---|---|
committer | Anton Kikin <a.kikin@tano-systems.com> | 2018-11-23 00:46:51 +0300 |
commit | c7a3c5cccc8cbaa5bd44524c140f9b41ab2f7f85 (patch) | |
tree | 9a0c577e8d1e9261aaf056119a409cd7d26434b5 | |
parent | db2bfb24adad0c64e74d6ad5c9266256e31b1528 (diff) |
luci-mod-network: fix invalid translate() argument pass
We must pass to the translate() a string without substituted zone name.
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
-rw-r--r-- | modules/luci-mod-network/luasrc/view/admin_network/iface_overview.htm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-network/luasrc/view/admin_network/iface_overview.htm b/modules/luci-mod-network/luasrc/view/admin_network/iface_overview.htm index 4fd46e2bf..9d4afd2b2 100644 --- a/modules/luci-mod-network/luasrc/view/admin_network/iface_overview.htm +++ b/modules/luci-mod-network/luasrc/view/admin_network/iface_overview.htm @@ -4,7 +4,7 @@ for i, net in ipairs(self.netlist) do local z = net[3] local c = z and z:get_color() or "#EEEEEE" - local t = z and translate("Part of zone %q" % z:name()) or translate("No zone assigned") + local t = z and translate("Part of zone %q") % z:name() or translate("No zone assigned") local disabled = (net[4]:get("auto") == "0") local dynamic = net[4]:is_dynamic() %> |