From 2dd115febbde06a6f424271eae8b2cee4d23d06a Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Tue, 27 Apr 2021 12:16:44 +0100
Subject: [PATCH] Issue #3210694 by longwave, quietone, Spokje: Ignore
 i18n-prefixed words in spellcheck

---
 core/.cspell.json               | 3 ++-
 core/misc/cspell/dictionary.txt | 9 ---------
 2 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/core/.cspell.json b/core/.cspell.json
index 7cfaab0701f8..e1c830006163 100644
--- a/core/.cspell.json
+++ b/core/.cspell.json
@@ -34,7 +34,8 @@
     "ignoreRegExpList": [
       "^msgstr .*",
       "!!binary .*",
-      "%[0-9][0-9A-F]"
+      "%[0-9][0-9A-F]",
+      "\\Wi18n"
     ],
     "dictionaries": ["drupal","companies", "fonts", "html", "php", "softwareTerms"],
     "dictionaryDefinitions": [
diff --git a/core/misc/cspell/dictionary.txt b/core/misc/cspell/dictionary.txt
index ff46ad2b2cce..de78c6c615fc 100644
--- a/core/misc/cspell/dictionary.txt
+++ b/core/misc/cspell/dictionary.txt
@@ -1011,9 +1011,6 @@ narf
 navs
 nbaz
 nbchoices
-nblocks
-ncck
-ncontent
 ndash
 ndelay
 ndocs
@@ -1033,7 +1030,6 @@ nids
 nightlies
 nightwatch
 nightwatchjs
-nmenu
 nmsgid
 nmsgstr
 nntp
@@ -1078,12 +1074,7 @@ notnull
 notsimpletest
 nourriture
 nplurals
-npoll
-nprofile
 nresponse
-nstrings
-nsync
-ntaxonomy
 ntfs
 nturn
 nyan
-- 
GitLab