Merge pull request #1227 from TakayukiOnodera/localization

Fix wrong localization key
This commit is contained in:
Emanuele Faranda 2017-05-10 14:11:37 +02:00 committed by GitHub
commit 8d0de8e637
2 changed files with 2 additions and 4 deletions

View file

@ -58,8 +58,7 @@ if((ifname ~= nil) and (_SESSION["session"] ~= nil)) then
key = getRedisPrefix("ntopng.prefs") .. ".ifname"
ntop.setCache(key, ifname)
msg = "<div class=\"alert alert-success\">" .. i18n("if_stats_overview.iface_switch_active_msg_pre") .. " <b>" .. getHumanReadableInterfaceName(ifid)
msg = msg .. "</b> [ifid: ".. ifid .."] " .. i18n("if_stats_overview.iface_switch_active_msg_after") .. "</div>"
msg = "<div class=\"alert alert-success\">" .. i18n("if_stats_overview.iface_switch_active_msg", {interface=getHumanReadableInterfaceName(ifid), ifid=ifid}) .. "</div>"
ntop.setCache(getRedisPrefix("ntopng.prefs")..'.iface', ifid)
else