From 0a452588a1c8034a3d826a20b3b006270fe3070b Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 1 Nov 2009 13:19:57 +0000 Subject: modules/admin-full: fix i18n for led page --- modules/admin-full/luasrc/model/cbi/admin_system/leds.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/admin-full/luasrc') 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 -- cgit v1.2.3