diff options
-rw-r--r-- | modules/freifunk/luasrc/model/cbi/freifunk/contact.lua | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/modules/freifunk/luasrc/model/cbi/freifunk/contact.lua b/modules/freifunk/luasrc/model/cbi/freifunk/contact.lua index fd3bcf7ef..2bb34a14a 100644 --- a/modules/freifunk/luasrc/model/cbi/freifunk/contact.lua +++ b/modules/freifunk/luasrc/model/cbi/freifunk/contact.lua @@ -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 |