diff options
author | Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr> | 2010-07-01 09:52:27 +0000 |
---|---|---|
committer | Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr> | 2010-07-01 09:52:27 +0000 |
commit | 581d0cbff378abefe1924ee34e481a14fa25305f (patch) | |
tree | d73a6e10d2b988753d94b877a07d1ea13626053d /modules/admin-full/luasrc/model | |
parent | 66a5b8146fc86b452b5a7de372fb91ce2ace0574 (diff) |
po: base: Add some missing LED related translations
Diffstat (limited to 'modules/admin-full/luasrc/model')
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_system/leds.lua | 16 |
1 files changed, 8 insertions, 8 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 0613ba28b6..ad2a5bd980 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_system/leds.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_system/leds.lua @@ -38,18 +38,18 @@ function s.parse(self, ...) end -s:option(Value, "name") +s:option(Value, "name", translate("Name")) -sysfs = s:option(ListValue, "sysfs") +sysfs = s:option(ListValue, "sysfs", translate("<abbr title=\"Light Emitting Diode\">LED</abbr> Name")) for k, v in ipairs(leds) do sysfs:value(v) end -s:option(Flag, "default").rmempty = true +s:option(Flag, "default", translate("Default state")).rmempty = true -trigger = s:option(ListValue, "trigger") +trigger = s:option(ListValue, "trigger", translate("Trigger")) local triggers = fs.readfile(sysfs_path .. leds[1] .. "/trigger") for t in triggers:gmatch("[%w-]+") do @@ -57,14 +57,14 @@ for t in triggers:gmatch("[%w-]+") do end -delayon = s:option(Value, "delayon") +delayon = s:option(Value, "delayon", translate ("On-State Delay")) delayon:depends("trigger", "timer") -delayoff = s:option(Value, "delayoff") +delayoff = s:option(Value, "delayoff", translate ("Off-State Delay")) delayoff:depends("trigger", "timer") -dev = s:option(ListValue, "dev") +dev = s:option(ListValue, "dev", translate("Device")) dev.rmempty = true dev:value("") dev:depends("trigger", "netdev") @@ -75,7 +75,7 @@ for k, v in pairs(luci.sys.net.devices()) do end -mode = s:option(MultiValue, "mode") +mode = s:option(MultiValue, "mode", translate("Trigger Mode")) mode.rmempty = true mode:depends("trigger", "netdev") mode:value("link", translate("Link On")) |