diff --git a/scripts/locales/en.lua b/scripts/locales/en.lua index edbec82c16..0113cd46b4 100644 --- a/scripts/locales/en.lua +++ b/scripts/locales/en.lua @@ -58,6 +58,7 @@ local en = { status = "Status", vlan = "VLAN", breakdown = "Breakdown", + interface = "Interface", graphs = { arp_requests = "ARP Requests", @@ -83,7 +84,7 @@ local en = { all_protocols = "All Protocols", }, - flows = { + flows_page = { recently_active_flows = "Recently Active %{filter} Flows", active_flows = "Active %{filter} Flows", flows = "%{filter} Flows", diff --git a/scripts/locales/it.lua b/scripts/locales/it.lua index 409d575a1a..5a2565d64e 100644 --- a/scripts/locales/it.lua +++ b/scripts/locales/it.lua @@ -1,6 +1,6 @@ local it = { welcome = "Benvenuto", - version = "La tua verione è %{vers}.", + version = "La tua versione è %{vers}.", report = {period = "Intervallo", date = "%{day}/%{month}/%{year}"} } diff --git a/scripts/lua/flows_stats.lua b/scripts/lua/flows_stats.lua index 9948e4af2c..6a020a385b 100644 --- a/scripts/lua/flows_stats.lua +++ b/scripts/lua/flows_stats.lua @@ -146,11 +146,11 @@ local filter_msg = (application or vhost or "") local active_msg if not interface.isPacketInterface() then - active_msg = i18n("flows.recently_active_flows", {filter=filter_msg}) + active_msg = i18n("flows_page.recently_active_flows", {filter=filter_msg}) elseif interface.isPcapDumpInterface() then - active_msg = i18n("flows.flows", {filter=filter_msg}) + active_msg = i18n("flows_page.flows", {filter=filter_msg}) else - active_msg = i18n("flows.active_flows", {filter=filter_msg}) + active_msg = i18n("flows_page.active_flows", {filter=filter_msg}) end if(network_name ~= nil) then @@ -189,14 +189,14 @@ end print[['\
\ - \ + \ \ @@ -211,10 +211,10 @@ print[[, '\
\ \ \ @@ -227,12 +227,12 @@ traffic_type_params["traffic_type"] = nil print[[, '\
\ - \ + \ \ @@ -245,7 +245,7 @@ print('
  • '..i18n("flows.all_proto")..'
  • ') +print('">'..i18n("flows_page.all_proto")..'') for key, value in pairsByKeys(ndpistats["ndpi"], asc) do class_active = '' @@ -342,14 +342,14 @@ print[[ textAlign: 'center' } }, { - title: "]] print(i18n("flows.actual_throughput")) print[[", + title: "]] print(i18n("flows_page.actual_throughput")) print[[", field: "column_thpt", sortable: true, css: { textAlign: 'right' } }, { - title: "]] print(i18n("flows.total_bytes")) print[[", + title: "]] print(i18n("flows_page.total_bytes")) print[[", field: "column_bytes", sortable: true, css: { diff --git a/scripts/lua/modules/lua_utils.lua b/scripts/lua/modules/lua_utils.lua index c29477c2cd..35a314c8c3 100644 --- a/scripts/lua/modules/lua_utils.lua +++ b/scripts/lua/modules/lua_utils.lua @@ -233,11 +233,11 @@ function printIpVersionDropdown(base_url, page_params) ipversion_params["version"] = nil print[[\ - \ + \ ]] end