mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-04 01:40:12 +00:00
Add measurement localized label
This commit is contained in:
parent
b4c07479dd
commit
01214d47db
5 changed files with 14 additions and 1 deletions
|
|
@ -342,8 +342,10 @@ function am_utils.getAvailableMeasurements()
|
|||
loadRttPlugins()
|
||||
|
||||
for k, v in pairsByKeys(loaded_measurements, asc) do
|
||||
local m = v.measurement
|
||||
|
||||
measurements[#measurements + 1] = {
|
||||
title = k,
|
||||
title = i18n(m.i18n_label) or m.i18n_label,
|
||||
value = k,
|
||||
}
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue