From 993bf81a302d77691c9cbb419d42278d1e39e551 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Fri, 1 Jun 2018 21:05:52 +0200 Subject: [PATCH] move note shown below contact field to site localization --- docs/site-example/i18n/de.po | 3 +++ docs/site-example/i18n/en.po | 3 +++ docs/site-example/i18n/fr.po | 3 +++ docs/site-example/i18n/gluon-site.pot | 3 +++ docs/user/site.rst | 3 +++ package/gluon-config-mode-contact-info/i18n/de.po | 3 --- package/gluon-config-mode-contact-info/i18n/fr.po | 3 --- .../i18n/gluon-config-mode-contact-info.pot | 3 --- .../luasrc/lib/gluon/config-mode/wizard/0500-contact-info.lua | 2 +- 9 files changed, 16 insertions(+), 10 deletions(-) diff --git a/docs/site-example/i18n/de.po b/docs/site-example/i18n/de.po index 08af599c..e4f59ecf 100644 --- a/docs/site-example/i18n/de.po +++ b/docs/site-example/i18n/de.po @@ -77,3 +77,6 @@ msgstr "" "von jedem heruntergeladen und verarbeitet werden können. Für den Betrieb sind diese " "Informationen nicht erforderlich. Eine Speicherung erfolgt auf diesem Knoten. " "Die Daten können durch dich in diesem Menü eigenständig gelöscht werden." + +msgid "gluon-config-mode:contact-note" +msgstr "z.B. E-Mail oder Telefonnummer" diff --git a/docs/site-example/i18n/en.po b/docs/site-example/i18n/en.po index 0d5c0b42..02d7f822 100644 --- a/docs/site-example/i18n/en.po +++ b/docs/site-example/i18n/en.po @@ -71,3 +71,6 @@ msgstr "" "downloaded and processed by anyone. This information is " "not required to operate a node. If you chose to enter data, it will be " "stored on this node and can be deleted by yourself at any time." + +msgid "gluon-config-mode:contact-note" +msgstr "e.g. E-mail or phone number" diff --git a/docs/site-example/i18n/fr.po b/docs/site-example/i18n/fr.po index 5dbb92e8..aed423e1 100644 --- a/docs/site-example/i18n/fr.po +++ b/docs/site-example/i18n/fr.po @@ -72,3 +72,6 @@ msgstr "" "de fournir ces informations pour pouvoir opérer un nœud. Si vous avez " "choisi d'entrer des données, elles seront stockées sur ce nœud et vous " "pourrez les effacer par vous-même à tout moment." + +msgid "gluon-config-mode:contact-note" +msgstr "Ex : E-mail ou numéro de téléphone" diff --git a/docs/site-example/i18n/gluon-site.pot b/docs/site-example/i18n/gluon-site.pot index f372db3c..3fb5c98b 100644 --- a/docs/site-example/i18n/gluon-site.pot +++ b/docs/site-example/i18n/gluon-site.pot @@ -27,3 +27,6 @@ msgstr "" msgid "gluon-config-mode:contact-help" msgstr "" + +msgid "gluon-config-mode:contact-note" +msgstr "" diff --git a/docs/user/site.rst b/docs/user/site.rst index 5a0f0581..1dcf3c9f 100644 --- a/docs/user/site.rst +++ b/docs/user/site.rst @@ -517,6 +517,9 @@ gluon-config-mode:altitude-help gluon-config-mode:contact-help Description for the usage of the ``contact`` field +gluon-config-mode:contact-note + Note shown (in small font) below the ``contact`` field + gluon-config-mode:reboot General information shown on the reboot page. diff --git a/package/gluon-config-mode-contact-info/i18n/de.po b/package/gluon-config-mode-contact-info/i18n/de.po index c33840e8..83d6b667 100644 --- a/package/gluon-config-mode-contact-info/i18n/de.po +++ b/package/gluon-config-mode-contact-info/i18n/de.po @@ -12,6 +12,3 @@ msgstr "" msgid "Contact info" msgstr "Kontakt" - -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/fr.po b/package/gluon-config-mode-contact-info/i18n/fr.po index dac33c91..7c3428a9 100644 --- a/package/gluon-config-mode-contact-info/i18n/fr.po +++ b/package/gluon-config-mode-contact-info/i18n/fr.po @@ -12,6 +12,3 @@ msgstr "" msgid "Contact info" msgstr "Informations de Contact" - -msgid "e.g. E-mail or phone number" -msgstr "Ex : E-mail ou numéro de téléphone" 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 a95b5b54..ca092e60 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 @@ -3,6 +3,3 @@ msgstr "Content-Type: text/plain; charset=UTF-8" msgid "Contact info" msgstr "" - -msgid "e.g. E-mail or phone number" -msgstr "" diff --git a/package/gluon-config-mode-contact-info/luasrc/lib/gluon/config-mode/wizard/0500-contact-info.lua b/package/gluon-config-mode-contact-info/luasrc/lib/gluon/config-mode/wizard/0500-contact-info.lua index 0d325575..5ec58725 100644 --- a/package/gluon-config-mode-contact-info/luasrc/lib/gluon/config-mode/wizard/0500-contact-info.lua +++ b/package/gluon-config-mode-contact-info/luasrc/lib/gluon/config-mode/wizard/0500-contact-info.lua @@ -7,7 +7,7 @@ return function(form, uci) local s = form:section(Section, nil, translate("gluon-config-mode:contact-help")) - local o = s:option(Value, "contact", pkg_i18n.translate("Contact info"), pkg_i18n.translate("e.g. E-mail or phone number")) + local o = s:option(Value, "contact", pkg_i18n.translate("Contact info"), translate("gluon-config-mode:contact-note")) o.default = uci:get("gluon-node-info", owner, "contact") o.optional = true function o:write(data)