* Core translation
[project/luci.git] / modules / freifunk / luasrc / model / cbi / freifunk / contact.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 m = Map("freifunk", translate("contact", "Kontakt"), translate("contact1", [[Diese Daten sind
15 auf der öffentlichen Kontaktseite sichtbar. Bitte gib an, wie man dich am besten kontaktieren kann.
16 Diese Informationen sollten nach der Picopeering Vereinbarung mindestens deine E-Mail-Adresse enthalten.
17 Damit dein Knoten durch Topographieprogramme erfasst werden kann, gib bitte deine Geokoordinaten oder
18 zumindest deine Straße und Hausnummer unter Standort an.]]))
19
20 c = m:section(NamedSection, "contact", "public", "")
21
22 c:option(Value, "nickname", translate("nickname", "Pseudonym"))
23 c:option(Value, "name", translate("name", "Name"))
24 c:option(Value, "mail", translate("mail", "E-Mail"), translate("mail1", "Bitte unbedingt angeben!"))
25 c:option(Value, "phone", translate("phone", "Telefon"))
26 c:option(Value, "location", translate("location", "Standort"))
27 c:option(Value, "geo", translate("coord", "Koordinaten"), translate("coord1", "Bitte als Breite;Länge (z.B: 51.5;12.9) angeben"))
28 c:option(Value, "note", translate("note", "Notiz"))
29
30 return m