mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Merge pull request #1227 from TakayukiOnodera/localization
Fix wrong localization key
This commit is contained in:
commit
8d0de8e637
2 changed files with 2 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue