gluon-config-mode-geo-location: allow overriding geo location description text
This commit is contained in:
parent
533ea986ad
commit
5cf7c53e69
@ -85,3 +85,8 @@ msgstr "z.B. E-Mail oder Telefonnummer"
|
||||
# package/gluon-config-mode-hostname/i18n/
|
||||
msgid "gluon-config-mode:hostname-help"
|
||||
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"
|
||||
# package/gluon-config-mode-hostname/i18n/
|
||||
msgid "gluon-config-mode:hostname-help"
|
||||
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"
|
||||
# package/gluon-config-mode-hostname/i18n/
|
||||
msgid "gluon-config-mode:hostname-help"
|
||||
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 ""
|
||||
|
||||
msgid "gluon-config-mode:hostname-help"
|
||||
msgstr ""
|
||||
|
||||
msgid "gluon-config-mode:geo-location-help"
|
||||
msgstr ""
|
||||
|
@ -523,6 +523,9 @@ gluon-config-mode:contact-note
|
||||
gluon-config-mode:hostname-help
|
||||
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
|
||||
General information shown on the reboot page.
|
||||
|
||||
|
@ -14,7 +14,7 @@ return function(form, uci)
|
||||
return uci:get_bool("gluon-node-info", location, "altitude")
|
||||
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 ' ..
|
||||
'be displayed on the map, you can enter its coordinates here.'
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user