From 0e9095b58c25183ea02bebeab202b59f5d722d02 Mon Sep 17 00:00:00 2001
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Thu, 19 Mar 2015 21:14:41 +0100
Subject: [PATCH] gluon-config-mode-contact-info: add missing translation

---
 .../gluon/config-mode/wizard/0500-contact-info.lua  |  2 +-
 package/gluon-config-mode-contact-info/i18n/de.po   | 13 ++++++++-----
 package/gluon-config-mode-contact-info/i18n/en.po   |  5 ++++-
 .../i18n/gluon-config-mode-contact-info.pot         |  3 +++
 4 files changed, 16 insertions(+), 7 deletions(-)

diff --git a/package/gluon-config-mode-contact-info/files/lib/gluon/config-mode/wizard/0500-contact-info.lua b/package/gluon-config-mode-contact-info/files/lib/gluon/config-mode/wizard/0500-contact-info.lua
index f6e3eade7..a2182f959 100644
--- a/package/gluon-config-mode-contact-info/files/lib/gluon/config-mode/wizard/0500-contact-info.lua
+++ b/package/gluon-config-mode-contact-info/files/lib/gluon/config-mode/wizard/0500-contact-info.lua
@@ -17,7 +17,7 @@ function M.section(form)
   o.default = uci:get_first("gluon-node-info", "owner", "contact", "")
   o.rmempty = true
   o.datatype = "string"
-  o.description = "e.g. E-mail or phone number"
+  o.description = i18n.translate("e.g. E-mail or phone number")
   o.maxlen = 140
 end
 
diff --git a/package/gluon-config-mode-contact-info/i18n/de.po b/package/gluon-config-mode-contact-info/i18n/de.po
index 4cf42535c..e802524c5 100644
--- a/package/gluon-config-mode-contact-info/i18n/de.po
+++ b/package/gluon-config-mode-contact-info/i18n/de.po
@@ -1,12 +1,12 @@
 msgid ""
 msgstr ""
-"Content-Type: text/plain; charset=UTF-8\n"
 "Project-Id-Version: PACKAGE VERSION\n"
 "PO-Revision-Date: 2015-03-19 01:32+0100\n"
 "Last-Translator: Matthias Schiffer <mschiffer@universe-factory.net>\n"
 "Language-Team: German\n"
 "Language: de\n"
 "MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
@@ -18,7 +18,10 @@ msgid ""
 "you. Please note that this information will be visible <em>publicly</em> on "
 "the internet together with your node's coordinates."
 msgstr ""
-"Hier kannst du einen <em>öffentlichen</em> Hinweis hinterlegen, um "
-"anderen Freifunkern zu ermöglichen, Kontakt mit dir aufzunehmen. Bitte "
-"beachte, dass dieser Hinweis auch öffentlich im Internet, zusammen mit "
-"den Koordinaten deines Knotens, einsehbar sein wird."
+"Hier kannst du einen <em>öffentlichen</em> Hinweis hinterlegen, um anderen "
+"Freifunkern zu ermöglichen, Kontakt mit dir aufzunehmen. Bitte beachte, dass "
+"dieser Hinweis auch öffentlich im Internet, zusammen mit den Koordinaten "
+"deines Knotens, einsehbar sein wird."
+
+msgid "e.g. E-mail or phone number"
+msgstr "z.B. E-Mail oder Telefonnummer"
diff --git a/package/gluon-config-mode-contact-info/i18n/en.po b/package/gluon-config-mode-contact-info/i18n/en.po
index fdf8805e9..1b1b88165 100644
--- a/package/gluon-config-mode-contact-info/i18n/en.po
+++ b/package/gluon-config-mode-contact-info/i18n/en.po
@@ -1,12 +1,12 @@
 msgid ""
 msgstr ""
-"Content-Type: text/plain; charset=UTF-8\n"
 "Project-Id-Version: PACKAGE VERSION\n"
 "PO-Revision-Date: 2015-03-19 01:32+0100\n"
 "Last-Translator: Matthias Schiffer <mschiffer@universe-factory.net>\n"
 "Language-Team: English\n"
 "Language: en\n"
 "MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
@@ -21,3 +21,6 @@ msgstr ""
 "You can provide your contact information here to allow others to contact "
 "you. Please note that this information will be visible <em>publicly</em> on "
 "the internet together with your node's coordinates."
+
+msgid "e.g. E-mail or phone number"
+msgstr "e.g. E-mail or phone number"
diff --git a/package/gluon-config-mode-contact-info/i18n/gluon-config-mode-contact-info.pot b/package/gluon-config-mode-contact-info/i18n/gluon-config-mode-contact-info.pot
index eace2af26..63939a838 100644
--- a/package/gluon-config-mode-contact-info/i18n/gluon-config-mode-contact-info.pot
+++ b/package/gluon-config-mode-contact-info/i18n/gluon-config-mode-contact-info.pot
@@ -9,3 +9,6 @@ msgid ""
 "you. Please note that this information will be visible <em>publicly</em> on "
 "the internet together with your node's coordinates."
 msgstr ""
+
+msgid "e.g. E-mail or phone number"
+msgstr ""
-- 
GitLab