summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-11-23 10:14:49 +0100
committerGitHub <noreply@github.com>2018-11-23 10:14:49 +0100
commit42310095df04ba4e799222c6fa66908d7c183c5a (patch)
tree9a0c577e8d1e9261aaf056119a409cd7d26434b5
parentdb2bfb24adad0c64e74d6ad5c9266256e31b1528 (diff)
parentc7a3c5cccc8cbaa5bd44524c140f9b41ab2f7f85 (diff)
Merge pull request #2328 from tano-systems/fix-translate-arg
luci-mod-network: fix invalid translate() argument pass
-rw-r--r--modules/luci-mod-network/luasrc/view/admin_network/iface_overview.htm2
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()
%>