From: Jo-Philipp Wich Date: Sun, 1 Nov 2009 13:19:57 +0000 (+0000) Subject: modules/admin-full: fix i18n for led page X-Git-Tag: 0.10.0~1014 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0a452588a1c8034a3d826a20b3b006270fe3070b;p=oweals%2Fluci.git modules/admin-full: fix i18n for led page --- diff --git a/modules/admin-full/luasrc/model/cbi/admin_system/leds.lua b/modules/admin-full/luasrc/model/cbi/admin_system/leds.lua index e4045d2f4..0613ba28b 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_system/leds.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_system/leds.lua @@ -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