modules/admin-full: fix i18n for led page
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 1 Nov 2009 13:19:57 +0000 (13:19 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 1 Nov 2009 13:19:57 +0000 (13:19 +0000)
modules/admin-full/luasrc/model/cbi/admin_system/leds.lua

index e4045d2..0613ba2 100644 (file)
@@ -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