* luci/modules/freifunk: translation fixes on contact admin page

This commit is contained in:
Jo-Philipp Wich 2008-09-20 22:44:58 +00:00
parent dc253f4af4
commit 57def3cead

View file

@ -11,16 +11,19 @@ You may obtain a copy of the License at
$Id$
]]--
luci.i18n.loadc("freifunk")
m = Map("freifunk", translate("contact"), translate("contact1"))
c = m:section(NamedSection, "contact", "public", "")
c:option(Value, "nickname", translate("nickname"))
c:option(Value, "name", translate("name"))
c:option(Value, "mail", translate("mail"), translate("mail1"))
c:option(Value, "phone", translate("phone"))
c:option(Value, "location", translate("location"))
c:option(Value, "note", translate("note"))
c:option(Value, "nickname", translate("ff_nickname"))
c:option(Value, "name", translate("ff_name"))
c:option(Value, "mail", translate("ff_mail"), translate("ff_mail1"))
c:option(Value, "phone", translate("ff_phone"))
c:option(Value, "location", translate("ff_location"))
c:option(Value, "note", translate("ff_note"))
m2 = Map("system", translate("geo"))
@ -28,4 +31,4 @@ s = m2:section(TypedSection, "system", "")
s:option(Value, "latitude", translate("latitude", "Breite")).rmempty = true
s:option(Value, "longitude", translate("longitude", "Länge")).rmempty = true
return m, m2
return m, m2