modules/admin-full: fix i18n for led page
This commit is contained in:
parent
5f0ecfe984
commit
0a452588a1
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ trigger = s:option(ListValue, "trigger")
|
|||
|
||||
local triggers = fs.readfile(sysfs_path .. leds[1] .. "/trigger")
|
||||
for t in triggers:gmatch("[%w-]+") do
|
||||
trigger:value(t, translate("system_led_trigger_" .. t:gsub("-", "")))
|
||||
trigger:value(t, translate(t:gsub("-", "")))
|
||||
end
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue