summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/model/cbi/admin_system/buttons.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-11-01 01:37:03 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-11-01 01:37:03 +0000
commitb50e08149c4e3dff9c5ebc6f3448a56f508d8d1c (patch)
tree5b7521f5b15146200f5b7313fc841d9fbe884977 /modules/admin-full/luasrc/model/cbi/admin_system/buttons.lua
parente3ac0fd78d7fe7660954348675094d02d5f42aa0 (diff)
all: yet another round of translation fixes
Diffstat (limited to 'modules/admin-full/luasrc/model/cbi/admin_system/buttons.lua')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_system/buttons.lua19
1 files changed, 13 insertions, 6 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_system/buttons.lua b/modules/admin-full/luasrc/model/cbi/admin_system/buttons.lua
index 67601b132a..d7581830d3 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_system/buttons.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_system/buttons.lua
@@ -11,21 +11,28 @@ You may obtain a copy of the License at
$Id$
]]--
-m = Map("system", translate("buttons"), translate("buttons_desc"))
+
+m = Map("system", translate("Buttons"),
+ translate("This page allows the configuration of custom button actions"))
s = m:section(TypedSection, "button", "")
s.anonymous = true
s.addremove = true
-s:option(Value, "button")
+s:option(Value, "button", translate("Name"))
+
+act = s:option(ListValue, "action",
+ translate("Action"),
+ translate("Specifies the button state to handle"))
-act = s:option(ListValue, "action")
act:value("released")
-s:option(Value, "handler")
+s:option(Value, "handler",
+ translate("Handler"),
+ translate("Path to executable which handles the button event"))
-min = s:option(Value, "min")
+min = s:option(Value, "min", translate("Minimum hold time"))
min.rmempty = true
-max = s:option(Value, "max")
+max = s:option(Value, "max", translate("Maximum hold time"))
max.rmempty = true