move note shown below contact field to site localization

This commit is contained in:
Ralf Jung 2018-06-01 21:05:52 +02:00
parent 41333c511b
commit 993bf81a30
9 changed files with 16 additions and 10 deletions

View File

@ -77,3 +77,6 @@ msgstr ""
"von jedem heruntergeladen und verarbeitet werden können. Für den Betrieb sind diese " "von jedem heruntergeladen und verarbeitet werden können. Für den Betrieb sind diese "
"Informationen nicht erforderlich. Eine Speicherung erfolgt auf diesem Knoten. " "Informationen nicht erforderlich. Eine Speicherung erfolgt auf diesem Knoten. "
"Die Daten können durch dich in diesem Menü eigenständig gelöscht werden." "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"

View File

@ -71,3 +71,6 @@ msgstr ""
"downloaded and processed by anyone. This information is " "downloaded and processed by anyone. This information is "
"not required to operate a node. If you chose to enter data, it will be " "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." "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"

View File

@ -72,3 +72,6 @@ msgstr ""
"de fournir ces informations pour pouvoir opérer un nœud. Si vous avez " "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 " "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." "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"

View File

@ -27,3 +27,6 @@ msgstr ""
msgid "gluon-config-mode:contact-help" msgid "gluon-config-mode:contact-help"
msgstr "" msgstr ""
msgid "gluon-config-mode:contact-note"
msgstr ""

View File

@ -517,6 +517,9 @@ gluon-config-mode:altitude-help
gluon-config-mode:contact-help gluon-config-mode:contact-help
Description for the usage of the ``contact`` field 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 gluon-config-mode:reboot
General information shown on the reboot page. General information shown on the reboot page.

View File

@ -12,6 +12,3 @@ msgstr ""
msgid "Contact info" msgid "Contact info"
msgstr "Kontakt" msgstr "Kontakt"
msgid "e.g. E-mail or phone number"
msgstr "z.B. E-Mail oder Telefonnummer"

View File

@ -12,6 +12,3 @@ msgstr ""
msgid "Contact info" msgid "Contact info"
msgstr "Informations de Contact" msgstr "Informations de Contact"
msgid "e.g. E-mail or phone number"
msgstr "Ex : E-mail ou numéro de téléphone"

View File

@ -3,6 +3,3 @@ msgstr "Content-Type: text/plain; charset=UTF-8"
msgid "Contact info" msgid "Contact info"
msgstr "" msgstr ""
msgid "e.g. E-mail or phone number"
msgstr ""

View File

@ -7,7 +7,7 @@ return function(form, uci)
local s = form:section(Section, nil, translate("gluon-config-mode:contact-help")) 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.default = uci:get("gluon-node-info", owner, "contact")
o.optional = true o.optional = true
function o:write(data) function o:write(data)