* applications/luci-splash: Removed dependency to sgi-haserl, Updated attributes
[project/luci.git] / modules / admin-core / luasrc / model / cbi / admin_system / hostname.lua
index c9e159d..1c74d90 100644 (file)
@@ -1,9 +1,21 @@
-m = Map("system", "Hostname", [[Definiert den Hostnamen des Routers.
-Der Hostname ist eine im Netzwerk eindeutige Kennung, die dieses Gerät identifiziert.]])
+--[[
+LuCI - Lua Configuration Interface
 
-s = m:section(TypedSection, "system")
+Copyright 2008 Steven Barth <steven@midlink.org>
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+$Id$
+]]--
+m = Map("system", translate("hostname"), translate("a_s_hostname1"))
+
+s = m:section(TypedSection, "system", "")
 s.anonymous = true
 
-s:option(Value, "hostname", "Hostname")
+s:option(Value, "hostname", translate("hostname"))
 
 return m
\ No newline at end of file