From 5ea1aa188a754e70305f4a15bd80e2cb46f6c732 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
(cherry picked from commit 2dd115febbde06a6f424271eae8b2cee4d23d06a)
---
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 100e0651b24f..d672071fd19d 100644
--- a/core/.cspell.json
+++ b/core/.cspell.json
@@ -31,7 +31,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 169fdc09dee8..0759435a0d51 100644
--- a/core/misc/cspell/dictionary.txt
+++ b/core/misc/cspell/dictionary.txt
@@ -1022,9 +1022,6 @@ narf
navs
nbaz
nbchoices
-nblocks
-ncck
-ncontent
ndash
ndelay
ndocs
@@ -1044,7 +1041,6 @@ nids
nightlies
nightwatch
nightwatchjs
-nmenu
nmsgid
nmsgstr
nntp
@@ -1089,12 +1085,7 @@ notnull
notsimpletest
nourriture
nplurals
-npoll
-nprofile
nresponse
-nstrings
-nsync
-ntaxonomy
ntfs
nturn
nyan
--
GitLab