mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Improve localization support
- nDPI categories are now localized (see getCategoryLabel) - Add some missing localization in plugins/user scripts pages
This commit is contained in:
parent
dcad4a80ff
commit
b0520ee189
26 changed files with 153 additions and 43 deletions
|
|
@ -351,9 +351,9 @@ for _key, _value in pairsByKeys(vals, funct) do
|
|||
if value["localhost"] == true --[[or value["systemhost"] == true --]] then
|
||||
column_location = "<span class='badge badge-success'>"..i18n("hosts_stats.label_local_host").."</span>"
|
||||
elseif value["is_multicast"] == true then
|
||||
column_location = "<span class='badge badge-secondary'>Multicast</span>"
|
||||
column_location = "<span class='badge badge-secondary'>" ..i18n("multicast").. "</span>"
|
||||
elseif value["is_broadcast"] == true then
|
||||
column_location = "<span class='badge badge-secondary'>Broadcast</span>"
|
||||
column_location = "<span class='badge badge-secondary'>" ..i18n("broadcast").. "</span>"
|
||||
else
|
||||
column_location = "<span class='badge badge-secondary'>"..i18n("hosts_stats.label_remote_host").."</span>"
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue