[gnome-maps/wip/mlundblad/codespell-fixes] Fix typos found with codespell




commit 98235a8a51402ff94b08b1c64f0dadf21efafe1d
Author: Marcus Lundblad <ml update uu se>
Date:   Mon Oct 26 22:18:51 2020 +0100

    Fix typos found with codespell

 src/osmConnection.js     | 2 +-
 src/osmEdit.js           | 2 +-
 src/transitLegRow.js     | 2 +-
 src/transitWalkMarker.js | 2 +-
 src/utils.js             | 4 ++--
 tests/addressTest.js     | 2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/osmConnection.js b/src/osmConnection.js
index fcb1183a..7cbee11d 100644
--- a/src/osmConnection.js
+++ b/src/osmConnection.js
@@ -88,7 +88,7 @@ var OSMConnection = class OSMConnection {
 
     openChangeset(comment, callback) {
         /* we assume that this would only be called if there's already been an
-           OAuth access token enrolled, so, if the currently instanciated
+           OAuth access token enrolled, so, if the currently instantiated
            proxy instance doesn't have a token set, we could safely count on
            it being present in the keyring */
         if (this._callProxy.get_token() === null) {
diff --git a/src/osmEdit.js b/src/osmEdit.js
index cfb92069..fa1a7e5d 100644
--- a/src/osmEdit.js
+++ b/src/osmEdit.js
@@ -77,7 +77,7 @@ var OSMEdit = class OSMEdit {
     fetchObject(place, callback, cancellable) {
         let osmType = Utils.osmTypeToString(place.osmType);
 
-        /* reset currenly edited object */
+        /* reset currently edited object */
         this._osmObject = null;
         this._osmConnection.getOSMObject(osmType, place.osm_id,
                      (function(success, status, osmObject, osmType) {
diff --git a/src/transitLegRow.js b/src/transitLegRow.js
index 142cf7c9..c4db72aa 100644
--- a/src/transitLegRow.js
+++ b/src/transitLegRow.js
@@ -191,7 +191,7 @@ var TransitLegRow = GObject.registerClass({
             }
         } else {
             /* don't output the starting and ending instructions from the walk
-             * route, since these are explicitely added by the itinerary
+             * route, since these are explicitly added by the itinerary
              */
             for (let index = 1;
                  index < this._leg.walkingInstructions.length - 1;
diff --git a/src/transitWalkMarker.js b/src/transitWalkMarker.js
index 93c642ba..60f72f57 100644
--- a/src/transitWalkMarker.js
+++ b/src/transitWalkMarker.js
@@ -31,7 +31,7 @@ var TransitWalkMarker = GObject.registerClass(
 class TransitWalkMarker extends MapMarker.MapMarker {
 
     _init(params) {
-        /* if there is a preceeding leg, put the marker at the end of that leg
+        /* if there is a preceding leg, put the marker at the end of that leg
          * to avoid gaps, since we will "fill out" the walking leg path line
          * since sometimes the walking route might not reach exactly to the
          * transit stop's position
diff --git a/src/utils.js b/src/utils.js
index fd4a2266..5d3d45fd 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -233,7 +233,7 @@ function getMeasurementSystem() {
 }
 
 /**
- * Get the higest priority bare lange currently in use.
+ * Get the highest priority bare lange currently in use.
  */
 function getLanguage() {
     let locale = GLib.get_language_names()[0];
@@ -332,7 +332,7 @@ function prettyTime(time) {
         return _("%s h").format(hoursStr);
     } else if (hours > 0) {
         /* Translators: this is a duration with hours and minutes parts
-         * using abbreviations for hours and minutes, correspoding to 'h'
+         * using abbreviations for hours and minutes, corresponding to 'h'
          * and 'min' in English. The minutes has appropriate plural variations
          */
         return ngettext("%s h %s min", "%s h %s min",
diff --git a/tests/addressTest.js b/tests/addressTest.js
index 3ad92bde..811a2cee 100644
--- a/tests/addressTest.js
+++ b/tests/addressTest.js
@@ -50,7 +50,7 @@ function streetAddressForCountryCodeTest() {
     JsUnit.assertEquals('Calle Mapas No° 42',
                         Address.streetAddressForCountryCode('Calle Mapas',
                                                             '42', 'CL'));
-    /* Test fallback to "Number Street name" scheme for unknown contries,
+    /* Test fallback to "Number Street name" scheme for unknown countries,
      * using fictionary "UT" (Utopia)
      */
     JsUnit.assertEquals('42 Some Street',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]