Skip to content
Snippets Groups Projects
Verified Commit a10e0f8d authored by Jess's avatar Jess
Browse files

Issue #3328741 by quietone, smustgrave, xjm, catch, alexpott, longwave: Add a...

Issue #3328741 by quietone, smustgrave, xjm, catch, alexpott, longwave: Add a dictionary for Drupal-specific words
parent c85f28b7
No related branches found
No related tags found
No related merge requests found
......@@ -44,10 +44,25 @@
"\\Wi18n",
"\\x{[0-9A-F]{4,5}}"
],
"dictionaries": ["drupal","companies", "fonts", "html", "php", "softwareTerms"],
"dictionaryDefinitions": [
{ "name": "drupal", "path": "./misc/cspell/dictionary.txt"}
"dictionaries": [
"dictionary",
"drupal",
"companies",
"fonts",
"html",
"php",
"softwareTerms"
],
"dictionaryDefinitions": [
{
"name": "drupal",
"path": "./misc/cspell/drupal-dictionary.txt"
},
{
"name": "dictionary",
"path": "./misc/cspell/dictionary.txt"
}
],
"flagWords": [
"e-mail",
"grey",
......
......@@ -71,7 +71,6 @@ bakeware
barbar
barchart
barqux
bartik
basefield
basepath
basestrings
......@@ -82,7 +81,6 @@ bebebe
beforeclose
beforecreate
behat
behaviour
bergmann
berne
bgblue
......@@ -224,7 +222,6 @@ datestamp
datetimeiso
datetimeplus
daycount
dblog
dbtng
dburl
dealerdirect
......@@ -278,7 +275,6 @@ drivertext
dropbutton
dropbuttons
drudbal
drupalci
drupaldatetime
drupaldevdays
drupalelementstyle
......@@ -295,8 +291,6 @@ drupalmedia
drupalmediaediting
drupalmediatoolbar
drupalorg
druplicon
drush
drépal
détruire
editables
......@@ -482,8 +476,6 @@ kthxbai
kword
labely
lamoids
langcode
langcodes
languageswitcher
libc
libmysqlclient
......@@ -639,8 +631,6 @@ nyans
nœud
oembed
officedocument
olivero
olivero's
omittable
onecol
oneplusfourgrid
......@@ -841,7 +831,6 @@ shortlink
siema
silverlight
silvie
simpletest
singlebyte
sirbrillig
sisko
......@@ -952,7 +941,6 @@ tbodies
tcomment
tempfile
templating
tempstore
tempuser
tercera
testajax
......@@ -1047,7 +1035,6 @@ tzid
uberawesome
uids
ulwa
umami
unaliased
unallowed
unassigning
......
bartik
dblog
drupalci
druplicon
drush
langcode
langcodes
olivero
olivero's
simpletest
tempstore
umami
......@@ -21,8 +21,9 @@
"test:nightwatch": "node -r dotenv-safe/config ./node_modules/.bin/nightwatch --config ./tests/Drupal/Nightwatch/nightwatch.conf.js",
"prettier": "prettier --write \"./**/*.js\"",
"spellcheck": "cspell -c .cspell.json",
"spellcheck:make-drupal-dict": "rm -f misc/cspell/dictionary.txt && touch misc/cspell/dictionary.txt && yarn -s spellcheck:core --unique --words-only | perl -Mopen=locale -pe '$_=lc$_' | LC_ALL=en_US.UTF-8 tr -d \\\\\\\\ | LC_ALL=C sort -u -o misc/cspell/dictionary.txt",
"spellcheck:make-dict": "rm -f misc/cspell/dictionary.txt && touch misc/cspell/dictionary.txt && yarn -s spellcheck:core --unique --words-only | perl -Mopen=locale -pe '$_=lc$_' | LC_ALL=en_US.UTF-8 tr -d \\\\\\\\ | LC_ALL=C sort -u -o misc/cspell/dictionary.txt",
"spellcheck:core": "cspell -c .cspell.json --root .. \"core/**/*\" \"composer/**/*\" \"composer.json\" \".gitlab-ci/*\" \".gitlab-ci.yml\"",
"spellcheck:make-drupal-dict": "rm -f misc/cspell/drupal-dictionary.txt && touch misc/cspell/drupal-dictionary.txt && yarn -s spellcheck:core --unique --words-only | perl -Mopen=locale -pe '$_=lc$_' | LC_ALL=en_US.UTF-8 tr -d \\\\\\\\ | LC_ALL=C sort -u -o misc/cspell/drupal-dictionary.txt",
"vendor-update": "node ./scripts/js/vendor-update.js",
"watch:ckeditor5": "webpack --config ./modules/ckeditor5/webpack.config.js --watch",
"build:ckeditor5": "webpack --config ./modules/ckeditor5/webpack.config.js",
......
......@@ -176,7 +176,7 @@
CKEDITOR5_PLUGINS_CHANGED=1;
fi;
if [[ $FILE == "core/misc/cspell/dictionary.txt" || $FILE == "core/.cspell.json" ]]; then
if [[ $FILE == "core/misc/cspell/dictionary.txt" || $FILE == "core/misc/cspell/drupal-dictionary.txt" ]]; then
CSPELL_DICTIONARY_FILE_CHANGED=1;
fi
done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment