summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2010-11-18 09:28:16 +0000
committerManuel Munz <freifunk@somakoma.de>2010-11-18 09:28:16 +0000
commitc30a8a9d52120daeff79ddbd28e40f34d440adc9 (patch)
treea2f5102c10c8cc1810b73d83653484e6216037c4
parent00c2ca662286cc602460d1eabd162bea7c54436a (diff)
modules/freifunk: Fix/add some translations
-rw-r--r--modules/freifunk/luasrc/model/cbi/freifunk/contact.lua8
-rw-r--r--modules/freifunk/luasrc/view/freifunk/contact.htm2
-rw-r--r--po/de/freifunk.po18
-rw-r--r--po/templates/freifunk.pot16
4 files changed, 38 insertions, 6 deletions
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") %>
-<h2><a id="content" name="content"><%:contact%></a></h2>
+<h2><a id="content" name="content"><%:Contact%></a></h2>
<table cellspacing="0" cellpadding="6">
<tr><th><%:Nickname%>:</th><td><%=contact.nickname%></td></tr>
<tr><th><%:Realname%>:</th><td><%=contact.name%></td></tr>
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 <freifunk@somakoma.de>\n"
"Language-Team: LANGUAGE <LL@li.org>\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 ""