modules/freifunk: Fix/add some translations

This commit is contained in:
Manuel Munz 2010-11-18 09:28:16 +00:00
parent 00c2ca6622
commit c30a8a9d52
4 changed files with 38 additions and 6 deletions

View file

@ -14,7 +14,7 @@ $Id$
luci.i18n.loadc("freifunk") 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", "") 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, "location", translate("Location"))
c:option(Value, "note", translate("Notice")) c:option(Value, "note", translate("Notice"))
m2 = Map("system", translate("geo")) m2 = Map("system", translate("Coordinates"))
s = m2:section(TypedSection, "system", "") s = m2:section(TypedSection, "system", "")
s:option(Value, "latitude", translate("Breite")).rmempty = true s:option(Value, "latitude", translate("Latitude")).rmempty = true
s:option(Value, "longitude", translate("Länge")).rmempty = true s:option(Value, "longitude", translate("Longitude")).rmempty = true
return m, m2 return m, m2

View file

@ -14,7 +14,7 @@ $Id$
-%> -%>
<%+header%> <%+header%>
<% local contact = luci.model.uci.cursor():get_all("freifunk", "contact") %> <% 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"> <table cellspacing="0" cellpadding="6">
<tr><th><%:Nickname%>:</th><td><%=contact.nickname%></td></tr> <tr><th><%:Nickname%>:</th><td><%=contact.nickname%></td></tr>
<tr><th><%:Realname%>:</th><td><%=contact.name%></td></tr> <tr><th><%:Realname%>:</th><td><%=contact.name%></td></tr>

View file

@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: \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" "Last-Translator: Manuel Munz <freifunk@somakoma.de>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n" "Language: \n"
@ -129,6 +129,14 @@ msgstr "Gesamt"
msgid "Coordinates" msgid "Coordinates"
msgstr "Geokoordinaten" msgstr "Geokoordinaten"
#. Latitude
msgid "Latitude"
msgstr "Breite"
#. Longitude
msgid "Longitude"
msgstr "Länge"
#. Client-Splash #. Client-Splash
msgid "Client-Splash" msgid "Client-Splash"
msgstr "Client-Splash" msgstr "Client-Splash"
@ -334,3 +342,11 @@ msgstr "Standardtext deaktivieren"
#. If checked then the default content element is not shown. #. If checked then the default content element is not shown.
msgid "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." 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."

View file

@ -113,6 +113,14 @@ msgstr ""
msgid "Coordinates" msgid "Coordinates"
msgstr "" msgstr ""
#. Latitude
msgid "Latitude"
msgstr ""
#. Longitude
msgid "Longitude"
msgstr ""
#. Client-Splash #. Client-Splash
msgid "Client-Splash" msgid "Client-Splash"
msgstr "" msgstr ""
@ -303,3 +311,11 @@ msgstr ""
#. If checked then the default content element is not shown. #. If checked then the default content element is not shown.
msgid "If checked then the default content element is not shown." msgid "If checked then the default content element is not shown."
msgstr "" msgstr ""
#. Contact
msgid "Contact"
msgstr ""
#. Please fill in your contact details below.
msgid "Please fill in your contact details below."
msgstr ""