diff --git a/scripts/locales/en.lua b/scripts/locales/en.lua index ce53b2972b..89864d7041 100644 --- a/scripts/locales/en.lua +++ b/scripts/locales/en.lua @@ -719,8 +719,7 @@ local en = { if_stats_overview = { snmp = "SNMP", - iface_switch_active_msg_pre = "The selected interface", - iface_switch_active_msg_after = "is now active", + iface_switch_active_msg = "The selected interface %{interface} [ifid: %{ifid}] is now active", iface_switch_error_msg = "Error while switching interfaces", iface_switch_empty_session_msg = "Empty session", id = "Id", diff --git a/scripts/lua/if_stats.lua b/scripts/lua/if_stats.lua index f112cfce5f..b2da26f5a3 100644 --- a/scripts/lua/if_stats.lua +++ b/scripts/lua/if_stats.lua @@ -58,8 +58,7 @@ if((ifname ~= nil) and (_SESSION["session"] ~= nil)) then key = getRedisPrefix("ntopng.prefs") .. ".ifname" ntop.setCache(key, ifname) - msg = "