From 3919ec11b62bef15583c5d8aa09bc268a464620e Mon Sep 17 00:00:00 2001 From: Peter Newman Date: Mon, 5 Oct 2020 23:23:16 +0100 Subject: [PATCH 1/3] Fix a new typo which snuck in --- modules/core/localizer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/localizer.js b/modules/core/localizer.js index e5df34f1a..f26f789db 100644 --- a/modules/core/localizer.js +++ b/modules/core/localizer.js @@ -289,7 +289,7 @@ export function coreLocalizer() { } // no localized string found... - // attempt to fallback to a lower-priority langauge + // attempt to fallback to a lower-priority language let index = _localeCodes.indexOf(locale); if (index >= 0 && index < _localeCodes.length - 1) { // eventually this will be 'en' or another locale with 100% coverage From 155397360960a6dfc855355db682ba78c8240c2b Mon Sep 17 00:00:00 2001 From: Peter Newman Date: Mon, 5 Oct 2020 23:24:46 +0100 Subject: [PATCH 2/3] Add another variant of a term given an earlier typo --- data/presets/presets/shop/wigs.json | 1 + 1 file changed, 1 insertion(+) diff --git a/data/presets/presets/shop/wigs.json b/data/presets/presets/shop/wigs.json index 52d3f4242..8bd82fbd9 100644 --- a/data/presets/presets/shop/wigs.json +++ b/data/presets/presets/shop/wigs.json @@ -5,6 +5,7 @@ "area" ], "terms": [ + "hair extensions", "hair extentions" ], "tags": { From 89f1fcb3fc2941e4916d72b537e22b0a9a532a86 Mon Sep 17 00:00:00 2001 From: Peter Newman Date: Mon, 5 Oct 2020 23:25:23 +0100 Subject: [PATCH 3/3] Skip the deliberate typo --- .github/workflows/codespell.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 486847524..ba336fede 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -13,5 +13,5 @@ jobs: with: check_filenames: true skip: ./.git,./data/territory_languages.json,./data/imagery.json,./data/languages.json,./data/locales.json,./data/address_formats.json,./dist/locales,./docs/img,./dist/img,./data/presets/categories.json,./data/presets/fields.json,./data/presets/presets.json,./data/presets.yaml,./data/taginfo.json,./data/deprecated.json - ignore_words_list: "auxilary,casette,cemetary,chancel,childs,files',froms,generat,guerilla,kindergarden,nd,specialties,vias,visibles,tos" + ignore_words_list: "auxilary,casette,cemetary,chancel,childs,extentions,files',froms,generat,guerilla,kindergarden,nd,specialties,vias,visibles,tos" only_warn: 1