all: yet another round of translation fixes
[project/luci.git] / modules / admin-full / luasrc / model / cbi / admin_system / buttons.lua
1 --[[
2 LuCI - Lua Configuration Interface
3
4 Copyright 2008 Steven Barth <steven@midlink.org>
5
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10         http://www.apache.org/licenses/LICENSE-2.0
11
12 $Id$
13 ]]--
14
15 m = Map("system", translate("Buttons"),
16         translate("This page allows the configuration of custom button actions"))
17
18 s = m:section(TypedSection, "button", "")
19 s.anonymous = true
20 s.addremove = true
21
22 s:option(Value, "button", translate("Name"))
23
24 act = s:option(ListValue, "action",
25         translate("Action"),
26         translate("Specifies the button state to handle"))
27
28 act:value("released")
29
30 s:option(Value, "handler",
31         translate("Handler"),
32         translate("Path to executable which handles the button event"))
33
34 min = s:option(Value, "min", translate("Minimum hold time"))
35 min.rmempty = true
36
37 max = s:option(Value, "max", translate("Maximum hold time"))
38 max.rmempty = true