From: Manuel Munz Date: Thu, 18 Nov 2010 09:28:16 +0000 (+0000) Subject: modules/freifunk: Fix/add some translations X-Git-Tag: 0.10.0~418 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=c30a8a9d52120daeff79ddbd28e40f34d440adc9 modules/freifunk: Fix/add some translations --- diff --git a/modules/freifunk/luasrc/model/cbi/freifunk/contact.lua b/modules/freifunk/luasrc/model/cbi/freifunk/contact.lua index 41e709d95..c976409c6 100644 --- a/modules/freifunk/luasrc/model/cbi/freifunk/contact.lua +++ b/modules/freifunk/luasrc/model/cbi/freifunk/contact.lua @@ -14,7 +14,7 @@ $Id$ luci.i18n.loadc("freifunk") -m = Map("freifunk", translate("contact"), translate("contact1")) +m = Map("freifunk", translate("Contact"), translate("Please fill in your contact details below.")) c = m:section(NamedSection, "contact", "public", "") @@ -25,10 +25,10 @@ c:option(Value, "phone", translate("Phone")) c:option(Value, "location", translate("Location")) c:option(Value, "note", translate("Notice")) -m2 = Map("system", translate("geo")) +m2 = Map("system", translate("Coordinates")) s = m2:section(TypedSection, "system", "") -s:option(Value, "latitude", translate("Breite")).rmempty = true -s:option(Value, "longitude", translate("Länge")).rmempty = true +s:option(Value, "latitude", translate("Latitude")).rmempty = true +s:option(Value, "longitude", translate("Longitude")).rmempty = true return m, m2 diff --git a/modules/freifunk/luasrc/view/freifunk/contact.htm b/modules/freifunk/luasrc/view/freifunk/contact.htm index 59d508c6f..0b4a06810 100644 --- a/modules/freifunk/luasrc/view/freifunk/contact.htm +++ b/modules/freifunk/luasrc/view/freifunk/contact.htm @@ -14,7 +14,7 @@ $Id$ -%> <%+header%> <% local contact = luci.model.uci.cursor():get_all("freifunk", "contact") %> -

<%:contact%>

+

<%:Contact%>

diff --git a/po/de/freifunk.po b/po/de/freifunk.po index a50b67243..0ca7278a1 100644 --- a/po/de/freifunk.po +++ b/po/de/freifunk.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2010-11-18 00:59+0100\n" +"PO-Revision-Date: 2010-11-18 09:51+0100\n" "Last-Translator: Manuel Munz \n" "Language-Team: LANGUAGE \n" "Language: \n" @@ -129,6 +129,14 @@ msgstr "Gesamt" msgid "Coordinates" msgstr "Geokoordinaten" +#. Latitude +msgid "Latitude" +msgstr "Breite" + +#. Longitude +msgid "Longitude" +msgstr "Länge" + #. Client-Splash msgid "Client-Splash" msgstr "Client-Splash" @@ -334,3 +342,11 @@ msgstr "Standardtext deaktivieren" #. If checked then the default content element is not shown. msgid "If checked then the default content element is not shown." msgstr "Aktivieren um den Standardtext auf der Indexseite nicht anzuzeigen." + +#. Contact +msgid "Contact" +msgstr "Kontakt" + +#. Please fill in your contact details below. +msgid "Please fill in your contact details below." +msgstr "Bitte gib hier deine Kontaktdaten an." diff --git a/po/templates/freifunk.pot b/po/templates/freifunk.pot index 22a44bb93..d67f41a31 100644 --- a/po/templates/freifunk.pot +++ b/po/templates/freifunk.pot @@ -113,6 +113,14 @@ msgstr "" msgid "Coordinates" msgstr "" +#. Latitude +msgid "Latitude" +msgstr "" + +#. Longitude +msgid "Longitude" +msgstr "" + #. Client-Splash msgid "Client-Splash" msgstr "" @@ -303,3 +311,11 @@ msgstr "" #. If checked then the default content element is not shown. msgid "If checked then the default content element is not shown." msgstr "" + +#. Contact +msgid "Contact" +msgstr "" + +#. Please fill in your contact details below. +msgid "Please fill in your contact details below." +msgstr ""
<%:Nickname%>:<%=contact.nickname%>
<%:Realname%>:<%=contact.name%>