gluon-config-mode-geo-location-with-map: fix spelling and indentation
This commit is contained in:
parent
0218bb6cee
commit
cfa68a4fd9
@ -10,14 +10,14 @@ It is possible to include ``gluon-config-mode-geo-location`` or
|
|||||||
gluon-config-mode-geo-location-with-map
|
gluon-config-mode-geo-location-with-map
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
The package ``gluon-config-mode-geo-location-with-map`` will additionally and a
|
The package ``gluon-config-mode-geo-location-with-map`` will additionally add a
|
||||||
map where users can pick a position. This map will only shown if the users
|
map where users can pick a position. This map will only be shown if the users
|
||||||
computer will have an internet connection.
|
computer has an internet connection.
|
||||||
|
|
||||||
site.conf
|
site.conf
|
||||||
^^^^^^^^^
|
^^^^^^^^^
|
||||||
|
|
||||||
This option is valid for both typ of package.
|
This option is valid for both package variants.
|
||||||
|
|
||||||
config_mode.geo_location.show_altitude \: optional
|
config_mode.geo_location.show_altitude \: optional
|
||||||
- ``true`` the altitude section in config mode is shown
|
- ``true`` the altitude section in config mode is shown
|
||||||
@ -35,8 +35,8 @@ config_mode.geo_location.map_lat \: optional
|
|||||||
- represents the default latitude center of the location picker map.
|
- represents the default latitude center of the location picker map.
|
||||||
- defaults to ``0.0``
|
- defaults to ``0.0``
|
||||||
|
|
||||||
The above 2 options will usually shown on a factory flashed Router. If a node
|
The above 2 options will usually be shown on a factory flashed Router. If a node
|
||||||
is reenter the config mode the maps center will be on the last defined
|
is reentered the config mode the map's center will be on the last defined
|
||||||
position.
|
position.
|
||||||
|
|
||||||
config_mode.geo_location.olurl \: optional
|
config_mode.geo_location.olurl \: optional
|
||||||
|
@ -30,7 +30,7 @@ return function(form, uci)
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
-- show altitude if site.json retruns true or nil and uci an value. Dont show if site.json retruns false or uci nil!
|
-- show altitude if site.json returns true or nil and uci an value. Don't show if site.json returns false or uci nil!
|
||||||
local function show_altitude()
|
local function show_altitude()
|
||||||
return site.config_mode.geo_location.show_altitude(uci:get("gluon-node-info", location, "altitude") ~= nil)
|
return site.config_mode.geo_location.show_altitude(uci:get("gluon-node-info", location, "altitude") ~= nil)
|
||||||
end
|
end
|
||||||
@ -41,7 +41,7 @@ return function(form, uci)
|
|||||||
|
|
||||||
#ifdef WITHMAP
|
#ifdef WITHMAP
|
||||||
|
|
||||||
'If your PC is connected to the internet you can also click on the map displayed below. ' ..
|
'If your PC is connected to the internet you may also click on the map displayed below. ' ..
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -18,12 +18,12 @@ msgid ""
|
|||||||
"If you want the location of your node to be displayed on the map, you can "
|
"If you want the location of your node to be displayed on the map, you can "
|
||||||
"enter its coordinates here. "
|
"enter its coordinates here. "
|
||||||
#ifdef WITHMAP
|
#ifdef WITHMAP
|
||||||
"If your PC is connected to the internet you can also click on the map displayed below. "
|
"If your PC is connected to the internet you may also click on the map displayed below. "
|
||||||
#endif
|
#endif
|
||||||
"Please keep in mind setting a location can also enhance the network quality."
|
"Please keep in mind setting a location can also enhance the network quality."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Um Deinen Router auf der Karte anzeigen zu können, benötigen wir seine "
|
"Um deinen Router auf der Karte anzeigen zu können, benötigen wir seine "
|
||||||
"Koordinaten. Hier hast Du die Möglichkeit, "
|
"Koordinaten. Hier hast du die Möglichkeit, "
|
||||||
"die Koordinaten händisch zu hinterlegen."
|
"die Koordinaten händisch zu hinterlegen."
|
||||||
#ifdef WITHMAP
|
#ifdef WITHMAP
|
||||||
"Wenn dein Computer mit dem du den Router einrichtest eine Internetverbindung hat, "
|
"Wenn dein Computer mit dem du den Router einrichtest eine Internetverbindung hat, "
|
||||||
|
@ -18,7 +18,7 @@ msgid ""
|
|||||||
"If you want the location of your node to be displayed on the map, you can "
|
"If you want the location of your node to be displayed on the map, you can "
|
||||||
"enter its coordinates here. "
|
"enter its coordinates here. "
|
||||||
#ifdef WITHMAP
|
#ifdef WITHMAP
|
||||||
"If your PC is connected to the internet you can also click on the map displayed below. "
|
"If your PC is connected to the internet you may also click on the map displayed below. "
|
||||||
#endif
|
#endif
|
||||||
"Please keep in mind setting a location can also enhance the network quality."
|
"Please keep in mind setting a location can also enhance the network quality."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -5,7 +5,7 @@ msgid ""
|
|||||||
"If you want the location of your node to be displayed on the map, you can "
|
"If you want the location of your node to be displayed on the map, you can "
|
||||||
"enter its coordinates here. "
|
"enter its coordinates here. "
|
||||||
#ifdef WITHMAP
|
#ifdef WITHMAP
|
||||||
"If your PC is connected to the internet you can also click on the map displayed below. "
|
"If your PC is connected to the internet you may also click on the map displayed below. "
|
||||||
#endif
|
#endif
|
||||||
"Please keep in mind setting a location can also enhance the network quality."
|
"Please keep in mind setting a location can also enhance the network quality."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
Loading…
Reference in New Issue
Block a user