From 41333c511b8a6880eb673ed74e78667f8dad2474 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Thu, 31 May 2018 09:21:09 +0200 Subject: [PATCH 1/4] Move contact field help to site localization for easier customization --- docs/site-example/i18n/de.po | 10 ++++++++++ docs/site-example/i18n/en.po | 9 +++++++++ docs/site-example/i18n/fr.po | 10 ++++++++++ docs/site-example/i18n/gluon-site.pot | 3 +++ docs/user/site.rst | 3 +++ .../gluon-config-mode-contact-info/i18n/de.po | 16 ---------------- .../gluon-config-mode-contact-info/i18n/fr.po | 16 ---------------- .../i18n/gluon-config-mode-contact-info.pot | 9 --------- .../config-mode/wizard/0500-contact-info.lua | 9 +-------- 9 files changed, 36 insertions(+), 49 deletions(-) diff --git a/docs/site-example/i18n/de.po b/docs/site-example/i18n/de.po index c5738333..08af599c 100644 --- a/docs/site-example/i18n/de.po +++ b/docs/site-example/i18n/de.po @@ -67,3 +67,13 @@ msgid "gluon-config-mode:altitude-help" msgstr "" "Die Höhenangabe ist optional und sollte nur gesetzt werden, wenn ein " "exakter Wert bekannt ist." + +msgid "gluon-config-mode:contact-help" +msgstr "" +"Bitte hinterlege hier einen Hinweis, um anderen zu ermöglichen, " +"Kontakt mit dir aufzunehmen. Beachte, dass dieser Hinweis auch " +"öffentlich im Internet, zusammen mit den Koordinaten " +"deines Knotens, einsehbar sein wird. Das bedeutet, dass diese Informationen " +"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." diff --git a/docs/site-example/i18n/en.po b/docs/site-example/i18n/en.po index 0a014a3b..0d5c0b42 100644 --- a/docs/site-example/i18n/en.po +++ b/docs/site-example/i18n/en.po @@ -62,3 +62,12 @@ msgid "gluon-config-mode:altitude-help" msgstr "" "Specifying the altitude is optional and should only be done if a proper " "value is known." + +msgid "gluon-config-mode:contact-help" +msgstr "" +"Please provide your contact information here to allow others to contact " +"you. Note that this information will be visible publicly on " +"the internet together with your node's coordinates. This means it can be " +"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." diff --git a/docs/site-example/i18n/fr.po b/docs/site-example/i18n/fr.po index 69522c4c..5dbb92e8 100644 --- a/docs/site-example/i18n/fr.po +++ b/docs/site-example/i18n/fr.po @@ -62,3 +62,13 @@ msgid "gluon-config-mode:altitude-help" msgstr "" "La altitude est optionelle et ne devrait que être ajoutée si la valeur " "exacte est connue." + +msgid "gluon-config-mode:contact-help" +msgstr "" +"Entrez vos coordonnées ici si vous souhaitez permettre à d'autres " +"personnes de communiquer avec vous. Ces informations seront affichées " +"en ligne avec les coordonnées du nœud. Il peut être téléchargé " +"et traité par tous. Il n'est pas obligatoire " +"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." diff --git a/docs/site-example/i18n/gluon-site.pot b/docs/site-example/i18n/gluon-site.pot index b3138d28..f372db3c 100644 --- a/docs/site-example/i18n/gluon-site.pot +++ b/docs/site-example/i18n/gluon-site.pot @@ -24,3 +24,6 @@ msgstr "" msgid "gluon-config-mode:altitude-help" msgstr "" + +msgid "gluon-config-mode:contact-help" +msgstr "" diff --git a/docs/user/site.rst b/docs/user/site.rst index cd139623..5a0f0581 100644 --- a/docs/user/site.rst +++ b/docs/user/site.rst @@ -514,6 +514,9 @@ gluon-config-mode:altitude-label gluon-config-mode:altitude-help Description for the usage of the ``altitude`` field +gluon-config-mode:contact-help + Description for the usage of 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 651fdde4..c33840e8 100644 --- a/package/gluon-config-mode-contact-info/i18n/de.po +++ b/package/gluon-config-mode-contact-info/i18n/de.po @@ -13,21 +13,5 @@ msgstr "" msgid "Contact info" msgstr "Kontakt" -msgid "" -"Please provide your contact information here to allow others to contact " -"you. Note that this information will be visible publicly on " -"the internet together with your node's coordinates. This means it can " -"be 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." -msgstr "" -"Bitte hinterlege hier einen Hinweis, um anderen zu ermöglichen, " -"Kontakt mit dir aufzunehmen. Beachte, dass dieser Hinweis auch " -"öffentlich im Internet, zusammen mit den Koordinaten " -"deines Knotens, einsehbar sein wird. Das bedeutet, dass diese Informationen " -"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 "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 f20e06cb..dac33c91 100644 --- a/package/gluon-config-mode-contact-info/i18n/fr.po +++ b/package/gluon-config-mode-contact-info/i18n/fr.po @@ -13,21 +13,5 @@ msgstr "" msgid "Contact info" msgstr "Informations de Contact" -msgid "" -"Please provide your contact information here to allow others to contact " -"you. Note that this information will be visible publicly on " -"the internet together with your node's coordinates. This means it can " -"be 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." -msgstr "" -"Entrez vos coordonnées ici si vous souhaitez permettre à d'autres " -"personnes de communiquer avec vous. Ces informations seront affichées " -"en ligne avec les coordonnées du nœud. Il peut être téléchargé " -"et traité par tous. Il n'est pas obligatoire " -"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 "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 913f38a5..a95b5b54 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 @@ -4,14 +4,5 @@ msgstr "Content-Type: text/plain; charset=UTF-8" msgid "Contact info" msgstr "" -msgid "" -"Please provide your contact information here to allow others to contact " -"you. Note that this information will be visible publicly on " -"the internet together with your node's coordinates. This means it can be " -"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." -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 3b44773e..0d325575 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 @@ -5,14 +5,7 @@ return function(form, uci) local owner = uci:get_first("gluon-node-info", "owner") - local s = form:section(Section, nil, pkg_i18n.translate( - 'Please provide your contact information here to allow others to contact ' - .. 'you. Note that this information will be visible publicly on ' - .. 'the internet together with your node\'s coordinates. This means it can ' - .. 'be 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.' - )) + 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")) o.default = uci:get("gluon-node-info", owner, "contact") From 993bf81a302d77691c9cbb419d42278d1e39e551 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Fri, 1 Jun 2018 21:05:52 +0200 Subject: [PATCH 2/4] 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) From da7fbff1cfcac27032059d2ce989ea25c857aa47 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Wed, 6 Jun 2018 21:02:44 +0200 Subject: [PATCH 3/4] add fallback text for gluon-config-mode:contact-note --- 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 +++ .../lib/gluon/config-mode/wizard/0500-contact-info.lua | 6 ++++-- 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/package/gluon-config-mode-contact-info/i18n/de.po b/package/gluon-config-mode-contact-info/i18n/de.po index 83d6b667..c33840e8 100644 --- a/package/gluon-config-mode-contact-info/i18n/de.po +++ b/package/gluon-config-mode-contact-info/i18n/de.po @@ -12,3 +12,6 @@ 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 7c3428a9..dac33c91 100644 --- a/package/gluon-config-mode-contact-info/i18n/fr.po +++ b/package/gluon-config-mode-contact-info/i18n/fr.po @@ -12,3 +12,6 @@ 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 ca092e60..a95b5b54 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,3 +3,6 @@ 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 5ec58725..9c4ea3c0 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 @@ -1,13 +1,15 @@ return function(form, uci) local pkg_i18n = i18n 'gluon-config-mode-contact-info' + local site_i18n = i18n 'gluon-site' local site = require 'gluon.site' local owner = uci:get_first("gluon-node-info", "owner") - local s = form:section(Section, nil, translate("gluon-config-mode:contact-help")) + local s = form:section(Section, nil, site_i18n.translate("gluon-config-mode:contact-help")) - local o = s:option(Value, "contact", pkg_i18n.translate("Contact info"), translate("gluon-config-mode:contact-note")) + local o = s:option(Value, "contact", pkg_i18n.translate("Contact info"), + site_i18n._translate("gluon-config-mode:contact-note") or pkg_i18n.translate("e.g. E-mail or phone number")) o.default = uci:get("gluon-node-info", owner, "contact") o.optional = true function o:write(data) From c03211295b1e798332b9159a966e6dab854503a2 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sun, 10 Jun 2018 18:13:37 +0200 Subject: [PATCH 4/4] Add fallback text for gluon-config-mode:contact-help --- .../gluon-config-mode-contact-info/i18n/de.po | 16 ++++++++++++++++ .../gluon-config-mode-contact-info/i18n/fr.po | 16 ++++++++++++++++ .../i18n/gluon-config-mode-contact-info.pot | 9 +++++++++ .../config-mode/wizard/0500-contact-info.lua | 11 ++++++++++- 4 files changed, 51 insertions(+), 1 deletion(-) diff --git a/package/gluon-config-mode-contact-info/i18n/de.po b/package/gluon-config-mode-contact-info/i18n/de.po index c33840e8..651fdde4 100644 --- a/package/gluon-config-mode-contact-info/i18n/de.po +++ b/package/gluon-config-mode-contact-info/i18n/de.po @@ -13,5 +13,21 @@ msgstr "" msgid "Contact info" msgstr "Kontakt" +msgid "" +"Please provide your contact information here to allow others to contact " +"you. Note that this information will be visible publicly on " +"the internet together with your node's coordinates. This means it can " +"be 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." +msgstr "" +"Bitte hinterlege hier einen Hinweis, um anderen zu ermöglichen, " +"Kontakt mit dir aufzunehmen. Beachte, dass dieser Hinweis auch " +"öffentlich im Internet, zusammen mit den Koordinaten " +"deines Knotens, einsehbar sein wird. Das bedeutet, dass diese Informationen " +"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 "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..f20e06cb 100644 --- a/package/gluon-config-mode-contact-info/i18n/fr.po +++ b/package/gluon-config-mode-contact-info/i18n/fr.po @@ -13,5 +13,21 @@ msgstr "" msgid "Contact info" msgstr "Informations de Contact" +msgid "" +"Please provide your contact information here to allow others to contact " +"you. Note that this information will be visible publicly on " +"the internet together with your node's coordinates. This means it can " +"be 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." +msgstr "" +"Entrez vos coordonnées ici si vous souhaitez permettre à d'autres " +"personnes de communiquer avec vous. Ces informations seront affichées " +"en ligne avec les coordonnées du nœud. Il peut être téléchargé " +"et traité par tous. Il n'est pas obligatoire " +"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 "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..913f38a5 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 @@ -4,5 +4,14 @@ msgstr "Content-Type: text/plain; charset=UTF-8" msgid "Contact info" msgstr "" +msgid "" +"Please provide your contact information here to allow others to contact " +"you. Note that this information will be visible publicly on " +"the internet together with your node's coordinates. This means it can be " +"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." +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 9c4ea3c0..6f85d704 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 @@ -6,7 +6,16 @@ return function(form, uci) local owner = uci:get_first("gluon-node-info", "owner") - local s = form:section(Section, nil, site_i18n.translate("gluon-config-mode:contact-help")) + local default_text = pkg_i18n.translate( + 'Please provide your contact information here to allow others to contact ' + .. 'you. Note that this information will be visible publicly on ' + .. 'the internet together with your node\'s coordinates. This means it can ' + .. 'be 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.' + ) + local s = form:section(Section, nil, + site_i18n._translate("gluon-config-mode:contact-help") or default_text) local o = s:option(Value, "contact", pkg_i18n.translate("Contact info"), site_i18n._translate("gluon-config-mode:contact-note") or pkg_i18n.translate("e.g. E-mail or phone number"))