[gnome-maps/wip/mlundblad/codespell-fixes] Fix typos found with codespell
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/wip/mlundblad/codespell-fixes] Fix typos found with codespell
- Date: Tue, 27 Oct 2020 15:36:05 +0000 (UTC)
commit 07beeed9aa238b2ce525d9c3c9b5d14c5fccf35e
Author: Marcus Lundblad <ml update uu se>
Date: Mon Oct 26 22:18:51 2020 +0100
Fix typos found with codespell
src/contextMenu.js | 2 +-
src/osmAccountDialog.js | 4 ++--
src/osmConnection.js | 2 +-
src/osmEdit.js | 2 +-
src/placeEntry.js | 2 +-
src/transitLegRow.js | 2 +-
src/transitWalkMarker.js | 2 +-
src/utils.js | 4 ++--
tests/addressTest.js | 2 +-
9 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/src/contextMenu.js b/src/contextMenu.js
index 6a4727a2..bfa04d79 100644
--- a/src/contextMenu.js
+++ b/src/contextMenu.js
@@ -152,7 +152,7 @@ var ContextMenu = GObject.registerClass({
_onAddOSMLocationActivated() {
let osmEdit = Application.osmEdit;
- /* if the user is not alread signed in, show the account dialog */
+ /* if the user is not already signed in, show the account dialog */
if (!osmEdit.isSignedIn) {
let dialog = osmEdit.createAccountDialog(this._mainWindow, true);
diff --git a/src/osmAccountDialog.js b/src/osmAccountDialog.js
index b9a0ae7d..c93cad27 100644
--- a/src/osmAccountDialog.js
+++ b/src/osmAccountDialog.js
@@ -79,7 +79,7 @@ var OSMAccountDialog = GObject.registerClass({
this._stack.visible_child_name = 'logged-in';
}
- /* initilize verification web view, we do it programmatically rather
+ /* initialize verification web view, we do it programmatically rather
* declare it in the .ui file to be able to enable WebKit sandboxing
*/
let webContext = WebKit2.WebContext.get_default();
@@ -174,7 +174,7 @@ var OSMAccountDialog = GObject.registerClass({
}
_onVerificationEntryActivated() {
- /* proceed with verfication if a code has been entered */
+ /* proceed with verification if a code has been entered */
let verificationCode = this._verificationEntry.text;
if (verificationCode && verificationCode.length > 0)
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/placeEntry.js b/src/placeEntry.js
index 3f0749f6..7be0aa04 100644
--- a/src/placeEntry.js
+++ b/src/placeEntry.js
@@ -127,7 +127,7 @@ var PlaceEntry = GObject.registerClass({
if (this._cancellable)
return;
- /* start search if more than the threashold number of characters have
+ /* start search if more than the threshold number of characters have
* been entered, or if the first character is in the ideographic CJK
* block, as for these, shorter strings could be meaningful
*/
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]