Add measurement localized label

This commit is contained in:
emanuele-f 2020-04-16 11:19:27 +02:00
parent b4c07479dd
commit 01214d47db
5 changed files with 14 additions and 1 deletions

View file

@ -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