Skip to content
Snippets Groups Projects
Unverified Commit 5cf7c53e authored by Andreas Ziegler's avatar Andreas Ziegler Committed by Matthias Schiffer
Browse files

gluon-config-mode-geo-location: allow overriding geo location description text

parent 533ea986
No related branches found
No related tags found
No related merge requests found
...@@ -85,3 +85,8 @@ msgstr "z.B. E-Mail oder Telefonnummer" ...@@ -85,3 +85,8 @@ msgstr "z.B. E-Mail oder Telefonnummer"
# package/gluon-config-mode-hostname/i18n/ # package/gluon-config-mode-hostname/i18n/
msgid "gluon-config-mode:hostname-help" msgid "gluon-config-mode:hostname-help"
msgstr "" msgstr ""
# Leave empty to use the default text, which can be found in:
# package/gluon-config-mode-geo-location/i18n/
msgid "gluon-config-mode:geo-location-help"
msgstr ""
...@@ -79,3 +79,8 @@ msgstr "e.g. E-mail or phone number" ...@@ -79,3 +79,8 @@ msgstr "e.g. E-mail or phone number"
# package/gluon-config-mode-hostname/i18n/ # package/gluon-config-mode-hostname/i18n/
msgid "gluon-config-mode:hostname-help" msgid "gluon-config-mode:hostname-help"
msgstr "" msgstr ""
# Leave empty to use the default text, which can be found in:
# package/gluon-config-mode-geo-location/i18n/
msgid "gluon-config-mode:geo-location-help"
msgstr ""
...@@ -80,3 +80,8 @@ msgstr "Ex : E-mail ou numéro de téléphone" ...@@ -80,3 +80,8 @@ msgstr "Ex : E-mail ou numéro de téléphone"
# package/gluon-config-mode-hostname/i18n/ # package/gluon-config-mode-hostname/i18n/
msgid "gluon-config-mode:hostname-help" msgid "gluon-config-mode:hostname-help"
msgstr "" msgstr ""
# Leave empty to use the default text, which can be found in:
# package/gluon-config-mode-geo-location/i18n/
msgid "gluon-config-mode:geo-location-help"
msgstr ""
...@@ -33,3 +33,6 @@ msgstr "" ...@@ -33,3 +33,6 @@ msgstr ""
msgid "gluon-config-mode:hostname-help" msgid "gluon-config-mode:hostname-help"
msgstr "" msgstr ""
msgid "gluon-config-mode:geo-location-help"
msgstr ""
...@@ -523,6 +523,9 @@ gluon-config-mode:contact-note ...@@ -523,6 +523,9 @@ gluon-config-mode:contact-note
gluon-config-mode:hostname-help gluon-config-mode:hostname-help
Description for the usage of the ``hostname`` field Description for the usage of the ``hostname`` field
gluon-config-mode:geo-location-help
Description for the usage of the longitude/latitude fields
gluon-config-mode:reboot gluon-config-mode:reboot
General information shown on the reboot page. General information shown on the reboot page.
......
...@@ -14,7 +14,7 @@ return function(form, uci) ...@@ -14,7 +14,7 @@ return function(form, uci)
return uci:get_bool("gluon-node-info", location, "altitude") return uci:get_bool("gluon-node-info", location, "altitude")
end end
local text = pkg_i18n.translate( local text = site_i18n._translate("gluon-config-mode:geo-location-help") or pkg_i18n.translate(
'If you want the location of your node to ' .. 'If you want the location of your node to ' ..
'be displayed on the map, you can enter its coordinates here.' 'be displayed on the map, you can enter its coordinates here.'
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment