diff --git a/docs/site-example/i18n/de.po b/docs/site-example/i18n/de.po index 30f5c83869ad222f4a8e9d03c1fcf014d61acf43..c3c763ddb2e6944be2d4deb437dcb6f614e98897 100644 --- a/docs/site-example/i18n/de.po +++ b/docs/site-example/i18n/de.po @@ -42,3 +42,11 @@ msgstr "" "Betrieb für drei Sekunden den Reset-Button. Das Gerät wird dann im Config " "Mode neustarten.</p>" "<p>Viel Spaß mit deinem Knoten und der Erkundung von Freifunk!</p>" + +msgid "gluon-config-mode:altitude-label" +msgstr "Höhe" + +msgid "gluon-config-mode:altitude-help" +msgstr "" +"Die Höhenangabe ist optional und sollte nur gesetzt werden, wenn ein " +"exakter Wert bekannt ist." diff --git a/docs/site-example/i18n/en.po b/docs/site-example/i18n/en.po index e6d1e672b3500eb5399d35fe9bb8f38434d7ec93..94aa8bc544cffbdc12e25c05aaf897107a728fa0 100644 --- a/docs/site-example/i18n/en.po +++ b/docs/site-example/i18n/en.po @@ -29,7 +29,6 @@ msgstr "" "<%= pubkey %>" "</div>" - msgid "gluon-config-mode:reboot" msgstr "" "<p>The node is currently rebooting and will try to connect to other " @@ -40,3 +39,11 @@ msgstr "" "3 seconds during normal operation. The device will then reboot into config " "mode.</p>" "<p>Have fun with your node and exploring of the Freifunk network!</p>" + +msgid "gluon-config-mode:altitude-label" +msgstr "Altitude" + +msgid "gluon-config-mode:altitude-help" +msgstr "" +"Specifying the altitude is optional and should only be done if a proper " +"value is known." diff --git a/docs/site-example/i18n/fr.po b/docs/site-example/i18n/fr.po index 1462fdbf0c89ce1fa122088614c71f7643a57989..c38dca6ecfd102252ddac88840daf1cb43819bc0 100644 --- a/docs/site-example/i18n/fr.po +++ b/docs/site-example/i18n/fr.po @@ -41,3 +41,11 @@ msgstr "" "fonctionement normal pendant 3 Secondes sur le bouton reset. L'appareil va ensuite " "redémarer en mode configuration.</p> " "<p>Profitez votre de nœud et amusez vous à découvrir le réseau Freifunk!</p>" + +msgid "gluon-config-mode:altitude-label" +msgstr "Hauteur" + +msgid "gluon-config-mode:altitude-help" +msgstr "" +"La altitude est optionelle et ne devrait que être ajoutée si la valeur " +"exacte est connue." diff --git a/docs/site-example/i18n/gluon-site.pot b/docs/site-example/i18n/gluon-site.pot index 670de4107f99ccdc03c2faf70ed7bb3487f1ef01..a161a12b04c6dbe3175905ae6e8118babe76ef67 100644 --- a/docs/site-example/i18n/gluon-site.pot +++ b/docs/site-example/i18n/gluon-site.pot @@ -9,3 +9,9 @@ msgstr "" msgid "gluon-config-mode:reboot" msgstr "" + +msgid "gluon-config-mode:altitude-label" +msgstr "" + +msgid "gluon-config-mode:altitude-help" +msgstr "" diff --git a/docs/user/site.rst b/docs/user/site.rst index 43e16d89d74dc49f9574ae49c62c3923f9bc48d3..8e9371eeb1e12957459a68d6167461347d5f7da3 100644 --- a/docs/user/site.rst +++ b/docs/user/site.rst @@ -364,6 +364,12 @@ gluon-config-mode:welcome gluon-config-mode:pubkey Information about the public VPN key on the reboot page. +gluon-config-mode:altitude-label + Label for the ``altitude`` field + +gluon-config-mode:altitude-help + Description for the usage of the ``altitude`` field + gluon-config-mode:reboot General information shown on the reboot page. diff --git a/package/gluon-config-mode-geo-location/i18n/de.po b/package/gluon-config-mode-geo-location/i18n/de.po index 3580732b1f3313e3fc624544e494568230c240fc..c8bc906ab7cb43207551e65ae95dd299649d5548 100644 --- a/package/gluon-config-mode-geo-location/i18n/de.po +++ b/package/gluon-config-mode-geo-location/i18n/de.po @@ -17,22 +17,12 @@ msgstr "" "Um deinen Knoten auf der Karte anzeigen zu können, benötigen wir seine " "Koordinaten. Hier hast du die Möglichkeit, diese zu hinterlegen." -msgid "" -"Specifying the altitude is optional and should only be done if a proper " -"value is known." -msgstr "" -"Die Höhenangabe ist optional und sollte nur gesetzt werden, wenn ein " -"exakter Wert bekannt ist." - msgid "Latitude" msgstr "Breitengrad" msgid "Longitude" msgstr "Längengrad" -msgid "Altitude" -msgstr "Höhe" - msgid "Show node on the map" msgstr "Knoten auf der Karte anzeigen" diff --git a/package/gluon-config-mode-geo-location/i18n/fr.po b/package/gluon-config-mode-geo-location/i18n/fr.po index b239c84c9b41e690b14196a0cdab36381cf716cb..d3d7c6e80b22dbb3078a99b279f8908eb3af0916 100644 --- a/package/gluon-config-mode-geo-location/i18n/fr.po +++ b/package/gluon-config-mode-geo-location/i18n/fr.po @@ -17,22 +17,12 @@ msgstr "" "Pour Afficher votre nœud sur la Carte nous avons besoin de ses coordonnées. " "Ici vous pouvez entrer sa position." -msgid "" -"Specifying the altitude is optional and should only be done if a proper " -"value is known." -msgstr "" -"La altitude est optionelle et ne devrait que être ajoutée si la valeur " -"exacte est connue." - msgid "Latitude" msgstr "Latitude" msgid "Longitude" msgstr "Longitude" -msgid "Altitude" -msgstr "Hauteur" - msgid "Show node on the map" msgstr "Afficher le nœud sur la carte" diff --git a/package/gluon-config-mode-geo-location/i18n/gluon-config-mode-geo-location.pot b/package/gluon-config-mode-geo-location/i18n/gluon-config-mode-geo-location.pot index 48f26f7046beff070120f4d3ff65db47740e44c5..7acf7f28c15aab2e5e09196e40c0599710807a60 100644 --- a/package/gluon-config-mode-geo-location/i18n/gluon-config-mode-geo-location.pot +++ b/package/gluon-config-mode-geo-location/i18n/gluon-config-mode-geo-location.pot @@ -6,20 +6,12 @@ msgid "" "enter its coordinates here." msgstr "" -msgid "" -"Specifying the altitude is optional and should only be done if a proper " -"value is known." -msgstr "" - msgid "Latitude" msgstr "" msgid "Longitude" msgstr "" -msgid "Altitude" -msgstr "" - msgid "Show node on the map" msgstr "" diff --git a/package/gluon-config-mode-geo-location/luasrc/lib/gluon/config-mode/wizard/0400-geo-location.lua b/package/gluon-config-mode-geo-location/luasrc/lib/gluon/config-mode/wizard/0400-geo-location.lua index 9bc703014e6850d44e629e4a315ec30510fd6286..04e9b144838f390adf03b866bbb3e035d1698202 100644 --- a/package/gluon-config-mode-geo-location/luasrc/lib/gluon/config-mode/wizard/0400-geo-location.lua +++ b/package/gluon-config-mode-geo-location/luasrc/lib/gluon/config-mode/wizard/0400-geo-location.lua @@ -19,8 +19,7 @@ function M.section(form) local text = i18n.translate('If you want the location of your node to ' .. 'be displayed on the map, you can enter its coordinates here.') if show_altitude() then - text = text .. ' ' .. i18n.translate('Specifying the altitude is ' - .. 'optional and should only be done if a proper value is known.') + text = text .. ' ' .. i18n.translate("gluon-config-mode:altitude-help") end local s = form:section(cbi.SimpleSection, nil, text) @@ -46,7 +45,7 @@ function M.section(form) o.description = i18n.translatef("e.g. %s", "10.689901") if show_altitude() then - o = s:option(cbi.Value, "_altitude", i18n.translate("Altitude")) + o = s:option(cbi.Value, "_altitude", i18n.translate("gluon-config-mode:altitude-label")) o.default = uci:get_first("gluon-node-info", "location", "altitude") o:depends("_location", "1") o.rmempty = true