all: yet another round of translation fixes
[project/luci.git] / modules / admin-full / luasrc / model / cbi / admin_system / buttons.lua
index 67601b1..d758183 100644 (file)
@@ -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