diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-09-20 22:44:58 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-09-20 22:44:58 +0000 |
commit | 57def3cead7af261dfab738551fa357c2cea4d0e (patch) | |
tree | d955ebda575220abbec1f1d1f4cb348152c6c296 /modules | |
parent | dc253f4af41caab2430fe1fbc69ff092d6fb2d04 (diff) |
* luci/modules/freifunk: translation fixes on contact admin page
Diffstat (limited to 'modules')
-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 |