summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-11-01 13:19:57 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-11-01 13:19:57 +0000
commit0a452588a1c8034a3d826a20b3b006270fe3070b (patch)
treea4200635a1416f373b06a81d0eb8623b942b0a5a
parent5f0ecfe984f0e69095a4e888913fe2da38b13ccc (diff)
modules/admin-full: fix i18n for led page
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_system/leds.lua2
1 files changed, 1 insertions, 1 deletions
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