* luci/modules/freifunk: translation fixes on contact admin page
[project/luci.git] / modules / freifunk / luasrc / model / cbi / freifunk / contact.lua
index fd3bcf7ef8ec93c498c784581d0b4d12711e310f..2bb34a14a05a387335b9c8fa382f826fe496c8ef 100644 (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
\ No newline at end of file
+return m, m2