From cfa68a4fd9124876d9b83842a016e9b826589dad Mon Sep 17 00:00:00 2001 From: Jan-Tarek Butt Date: Sat, 21 Jul 2018 00:51:16 +0200 Subject: [PATCH] gluon-config-mode-geo-location-with-map: fix spelling and indentation --- docs/package/gluon-config-mode-geo-location.rst | 12 ++++++------ .../src/0400-geo-location.lua.in | 10 +++++----- package/gluon-config-mode-geo-location/src/de.po.in | 6 +++--- package/gluon-config-mode-geo-location/src/fr.po.in | 2 +- .../src/gluon-config-mode-geo-location.pot.in | 2 +- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/docs/package/gluon-config-mode-geo-location.rst b/docs/package/gluon-config-mode-geo-location.rst index ad5fd8b3..bde7b7bf 100644 --- a/docs/package/gluon-config-mode-geo-location.rst +++ b/docs/package/gluon-config-mode-geo-location.rst @@ -10,14 +10,14 @@ It is possible to include ``gluon-config-mode-geo-location`` or gluon-config-mode-geo-location-with-map --------------------------------------- -The package ``gluon-config-mode-geo-location-with-map`` will additionally and a -map where users can pick a position. This map will only shown if the users -computer will have an internet connection. +The package ``gluon-config-mode-geo-location-with-map`` will additionally add a +map where users can pick a position. This map will only be shown if the users +computer has an internet connection. 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 - ``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. - defaults to ``0.0`` -The above 2 options will usually shown on a factory flashed Router. If a node -is reenter the config mode the maps center will be on the last defined +The above 2 options will usually be shown on a factory flashed Router. If a node +is reentered the config mode the map's center will be on the last defined position. config_mode.geo_location.olurl \: optional diff --git a/package/gluon-config-mode-geo-location/src/0400-geo-location.lua.in b/package/gluon-config-mode-geo-location/src/0400-geo-location.lua.in index 6c87253b..fafbcb26 100644 --- a/package/gluon-config-mode-geo-location/src/0400-geo-location.lua.in +++ b/package/gluon-config-mode-geo-location/src/0400-geo-location.lua.in @@ -1,8 +1,8 @@ return function(form, uci) - local pkg_i18n = i18n 'gluon-config-mode-geo-location' - local site_i18n = i18n 'gluon-site' + local pkg_i18n = i18n 'gluon-config-mode-geo-location' + local site_i18n = i18n 'gluon-site' - local site = require 'gluon.site' + local site = require 'gluon.site' local location = uci:get_first("gluon-node-info", "location") local uci_latitude = uci:get("gluon-node-info", location, "latitude") @@ -30,7 +30,7 @@ return function(form, uci) #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() return site.config_mode.geo_location.show_altitude(uci:get("gluon-node-info", location, "altitude") ~= nil) end @@ -41,7 +41,7 @@ return function(form, uci) #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 diff --git a/package/gluon-config-mode-geo-location/src/de.po.in b/package/gluon-config-mode-geo-location/src/de.po.in index ae18d2f9..6c9a4cef 100644 --- a/package/gluon-config-mode-geo-location/src/de.po.in +++ b/package/gluon-config-mode-geo-location/src/de.po.in @@ -18,12 +18,12 @@ msgid "" "If you want the location of your node to be displayed on the map, you can " "enter its coordinates here. " #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 "Please keep in mind setting a location can also enhance the network quality." msgstr "" -"Um Deinen Router auf der Karte anzeigen zu können, benötigen wir seine " -"Koordinaten. Hier hast Du die Möglichkeit, " +"Um deinen Router auf der Karte anzeigen zu können, benötigen wir seine " +"Koordinaten. Hier hast du die Möglichkeit, " "die Koordinaten händisch zu hinterlegen." #ifdef WITHMAP "Wenn dein Computer mit dem du den Router einrichtest eine Internetverbindung hat, " diff --git a/package/gluon-config-mode-geo-location/src/fr.po.in b/package/gluon-config-mode-geo-location/src/fr.po.in index dfe3af83..02c9fa47 100644 --- a/package/gluon-config-mode-geo-location/src/fr.po.in +++ b/package/gluon-config-mode-geo-location/src/fr.po.in @@ -18,7 +18,7 @@ msgid "" "If you want the location of your node to be displayed on the map, you can " "enter its coordinates here. " #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 "Please keep in mind setting a location can also enhance the network quality." msgstr "" diff --git a/package/gluon-config-mode-geo-location/src/gluon-config-mode-geo-location.pot.in b/package/gluon-config-mode-geo-location/src/gluon-config-mode-geo-location.pot.in index c7854807..fa850916 100644 --- a/package/gluon-config-mode-geo-location/src/gluon-config-mode-geo-location.pot.in +++ b/package/gluon-config-mode-geo-location/src/gluon-config-mode-geo-location.pot.in @@ -5,7 +5,7 @@ msgid "" "If you want the location of your node to be displayed on the map, you can " "enter its coordinates here. " #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 "Please keep in mind setting a location can also enhance the network quality." msgstr ""