2 LuCI - Lua Configuration Interface
4 Copyright 2008 Steven Barth <steven@midlink.org>
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
10 http://www.apache.org/licenses/LICENSE-2.0
14 require("luci.config")
15 m = Map("luci", translate("webui"), translate("a_i_luci1",
16 "Hier können Eigenschaften und die Funktionalität der Oberfläche angepasst werden."))
18 c = m:section(NamedSection, "main", "core", translate("general"))
20 l = c:option(ListValue, "lang", translate("language"))
22 local i18ndir = luci.i18n.i18ndir .. "default."
23 for k, v in pairs(luci.config.languages) do
24 if k:sub(1, 1) ~= "." and luci.fs.isfile(i18ndir .. k .. ".lua") then
29 t = c:option(ListValue, "mediaurlbase", translate("design"))
30 for k, v in pairs(luci.config.themes) do
31 if k:sub(1, 1) ~= "." then
36 u = m:section(NamedSection, "uci_oncommit", "event", translate("a_i_ucicommit"),
37 translate("a_i_ucicommit1"))
40 f = m:section(NamedSection, "flash_keep", "extern", translate("a_i_keepflash"),
41 translate("a_i_keepflash1"))