From cc2223a9371346bced3a8b561510ba3d1e2b1db1 Mon Sep 17 00:00:00 2001
From: Dave Long <dave@longwaveconsulting.com>
Date: Tue, 6 Feb 2024 10:19:46 +0000
Subject: [PATCH] Issue #3419070 by quietone, DanielVeza, smustgrave: Remove 14
 foreign words from the dictionary

---
 core/misc/cspell/dictionary.txt                    | 14 --------------
 .../src/BigPipePlaceholderTestCases.php            |  3 +--
 .../big_pipe_test/src/BigPipeTestController.php    |  5 +++++
 .../FunctionalJavascript/BigPipePreviewTest.php    |  2 ++
 .../tests/src/Functional/CommentCacheTagsTest.php  |  2 ++
 .../src/Cache/PirateDayCacheContext.php            |  2 ++
 .../src/EventSubscriber.php                        |  2 ++
 .../ConfigEntityListMultilingualTest.php           |  2 ++
 .../TransformedConfigExportImportUITest.php        |  2 ++
 .../src/Functional/ConfigTranslationUiTest.php     |  2 +-
 .../language/src/Form/NegotiationUrlForm.php       |  2 ++
 .../de/language_config_override_test.settings.yml  |  1 +
 .../Kernel/LanguageConfigOverrideInstallTest.php   |  2 ++
 .../src/Functional/LocaleImportFunctionalTest.php  |  2 +-
 .../search/tests/src/Kernel/SearchMatchTest.php    |  2 ++
 .../Rest/EntityTestTextItemNormalizerTest.php      |  2 ++
 .../system/tests/src/Kernel/Mail/MailTest.php      |  2 ++
 .../KernelTests/Core/Asset/AttachedAssetsTest.php  |  2 ++
 .../Core/Config/ExportStorageManagerTest.php       |  2 ++
 .../Core/Config/ImportStorageTransformerTest.php   |  2 ++
 .../KernelTests/Core/TypedData/TypedDataTest.php   |  2 ++
 21 files changed, 39 insertions(+), 18 deletions(-)

diff --git a/core/misc/cspell/dictionary.txt b/core/misc/cspell/dictionary.txt
index 94762370767d..824b4affecb6 100644
--- a/core/misc/cspell/dictionary.txt
+++ b/core/misc/cspell/dictionary.txt
@@ -14,10 +14,7 @@ ajaxing
 allwords
 alphadecimal
 alternatif
-amphibius
 ampm
-anonyme
-antilop
 anyall
 applix
 archiver
@@ -30,7 +27,6 @@ arrowreturnthick
 arrowstop
 arrowthick
 arrowthickstop
-arrr
 assertable
 autocompletefocus
 autocompleteselect
@@ -138,7 +134,6 @@ chumillas
 chvotes
 cidhash
 cids
-cillum
 circlesmall
 ckeditor
 classloader
@@ -182,7 +177,6 @@ curlopt
 customevent
 customrequest
 cweagans
-cádiz
 dailymotion
 databasename
 datelist
@@ -212,7 +206,6 @@ desaturates
 desaturating
 descoping
 destructable
-deutsch
 devel
 deviantart
 dflt
@@ -226,7 +219,6 @@ dnumber
 dockerhub
 docroot
 docroots
-dolore
 dotenv
 downcasting
 doxygen
@@ -250,11 +242,9 @@ drupalmedia
 drupalmediaediting
 drupalmediatoolbar
 drupalorg
-drépal
 détruire
 editables
 egulias
-eins
 elbonia
 elems
 encapsed
@@ -266,7 +256,6 @@ endlink
 endmacro
 endset
 endtrans
-enim
 enoki
 entitytype
 entityviewedit
@@ -925,7 +914,6 @@ userinfo
 userref
 vampirize
 varchar
-veniam
 versionable
 versionless
 verygreatdrupalmodule
@@ -957,8 +945,6 @@ xmlhttprequest
 xpsdocument
 xtmpl
 yamls
-yarhar
-yarr
 yearless
 yokotsoko
 yottabyte
diff --git a/core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipePlaceholderTestCases.php b/core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipePlaceholderTestCases.php
index fc33e67c0e0f..3aa3a7d254c6 100644
--- a/core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipePlaceholderTestCases.php
+++ b/core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipePlaceholderTestCases.php
@@ -4,8 +4,7 @@
  * @file
  */
 
-// cSpell:ignore Vxezb
-// cSpell:ignore divpiggydiv
+// cspell:ignore divpiggydiv Vxezb yarhar
 
 namespace Drupal\big_pipe_test;
 
diff --git a/core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipeTestController.php b/core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipeTestController.php
index 8a0e9c9d9fa6..da5a3df9aff4 100644
--- a/core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipeTestController.php
+++ b/core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipeTestController.php
@@ -6,6 +6,11 @@
 use Drupal\big_pipe_test\EventSubscriber\BigPipeTestSubscriber;
 use Drupal\Core\Security\TrustedCallbackInterface;
 
+// cspell:ignore yarhar
+
+/**
+ * Returns responses for Big Pipe routes.
+ */
 class BigPipeTestController implements TrustedCallbackInterface {
 
   /**
diff --git a/core/modules/big_pipe/tests/src/FunctionalJavascript/BigPipePreviewTest.php b/core/modules/big_pipe/tests/src/FunctionalJavascript/BigPipePreviewTest.php
index b9b8a33ee90b..d8bd5402c2cd 100644
--- a/core/modules/big_pipe/tests/src/FunctionalJavascript/BigPipePreviewTest.php
+++ b/core/modules/big_pipe/tests/src/FunctionalJavascript/BigPipePreviewTest.php
@@ -6,6 +6,8 @@
 
 use Drupal\FunctionalJavascriptTests\WebDriverTestBase;
 
+// cspell:ignore yarhar
+
 /**
  * Tests placeholder preview functionality.
  *
diff --git a/core/modules/comment/tests/src/Functional/CommentCacheTagsTest.php b/core/modules/comment/tests/src/Functional/CommentCacheTagsTest.php
index c48f32b4e047..6d5ecc9094ae 100644
--- a/core/modules/comment/tests/src/Functional/CommentCacheTagsTest.php
+++ b/core/modules/comment/tests/src/Functional/CommentCacheTagsTest.php
@@ -14,6 +14,8 @@
 use Drupal\user\Entity\Role;
 use Drupal\user\RoleInterface;
 
+// cspell:ignore amphibius
+
 /**
  * Tests the Comment entity's cache tags.
  *
diff --git a/core/modules/config/tests/config_override_test/src/Cache/PirateDayCacheContext.php b/core/modules/config/tests/config_override_test/src/Cache/PirateDayCacheContext.php
index b9e2490f37e0..6ccfd91c4ca8 100644
--- a/core/modules/config/tests/config_override_test/src/Cache/PirateDayCacheContext.php
+++ b/core/modules/config/tests/config_override_test/src/Cache/PirateDayCacheContext.php
@@ -5,6 +5,8 @@
 use Drupal\Core\Cache\CacheableMetadata;
 use Drupal\Core\Cache\Context\CacheContextInterface;
 
+// cspell:ignore yarr
+
 /**
  * Defines the PirateDayCacheContext service that allows to cache the booty.
  *
diff --git a/core/modules/config/tests/config_transformer_test/src/EventSubscriber.php b/core/modules/config/tests/config_transformer_test/src/EventSubscriber.php
index bec371642f94..19f1b8ba3842 100644
--- a/core/modules/config/tests/config_transformer_test/src/EventSubscriber.php
+++ b/core/modules/config/tests/config_transformer_test/src/EventSubscriber.php
@@ -8,6 +8,8 @@
 use Drupal\Core\State\StateInterface;
 use Symfony\Component\EventDispatcher\EventSubscriberInterface;
 
+// cspell:ignore arrr
+
 /**
  * Class EventSubscriber.
  *
diff --git a/core/modules/config/tests/src/Functional/ConfigEntityListMultilingualTest.php b/core/modules/config/tests/src/Functional/ConfigEntityListMultilingualTest.php
index d086073f8731..a4419e08eb55 100644
--- a/core/modules/config/tests/src/Functional/ConfigEntityListMultilingualTest.php
+++ b/core/modules/config/tests/src/Functional/ConfigEntityListMultilingualTest.php
@@ -5,6 +5,8 @@
 use Drupal\Tests\BrowserTestBase;
 use Drupal\language\Entity\ConfigurableLanguage;
 
+// cspell:ignore antilop
+
 /**
  * Tests the listing of configuration entities in a multilingual scenario.
  *
diff --git a/core/modules/config/tests/src/Functional/TransformedConfigExportImportUITest.php b/core/modules/config/tests/src/Functional/TransformedConfigExportImportUITest.php
index 196463d139c7..392444b0a434 100644
--- a/core/modules/config/tests/src/Functional/TransformedConfigExportImportUITest.php
+++ b/core/modules/config/tests/src/Functional/TransformedConfigExportImportUITest.php
@@ -4,6 +4,8 @@
 
 use Drupal\Tests\BrowserTestBase;
 
+// cspell:ignore arrr
+
 /**
  * Tests the user interface for importing/exporting transformed configuration.
  *
diff --git a/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php b/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php
index 0df4797739c6..8873e09e18a8 100644
--- a/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php
+++ b/core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php
@@ -5,7 +5,7 @@
 use Drupal\Core\Language\Language;
 use Drupal\Core\Language\LanguageInterface;
 
-// cspell:ignore viewsviewfiles
+// cspell:ignore anonyme viewsviewfiles
 
 /**
  * Translate settings and entities to various languages.
diff --git a/core/modules/language/src/Form/NegotiationUrlForm.php b/core/modules/language/src/Form/NegotiationUrlForm.php
index 6cb54e4a3228..adc2e2754545 100644
--- a/core/modules/language/src/Form/NegotiationUrlForm.php
+++ b/core/modules/language/src/Form/NegotiationUrlForm.php
@@ -12,6 +12,8 @@
 use Symfony\Component\DependencyInjection\ContainerInterface;
 use Drupal\language\Plugin\LanguageNegotiation\LanguageNegotiationUrl;
 
+// cspell:ignore deutsch
+
 /**
  * Configure the URL language negotiation method for this site.
  *
diff --git a/core/modules/language/tests/language_config_override_test/config/install/language/de/language_config_override_test.settings.yml b/core/modules/language/tests/language_config_override_test/config/install/language/de/language_config_override_test.settings.yml
index c3629805cf5c..8e3c0d6bb461 100644
--- a/core/modules/language/tests/language_config_override_test/config/install/language/de/language_config_override_test.settings.yml
+++ b/core/modules/language/tests/language_config_override_test/config/install/language/de/language_config_override_test.settings.yml
@@ -1 +1,2 @@
+# cspell:ignore deutsch
 name: 'Deutsch'
diff --git a/core/modules/language/tests/src/Kernel/LanguageConfigOverrideInstallTest.php b/core/modules/language/tests/src/Kernel/LanguageConfigOverrideInstallTest.php
index 20d83179cab5..766275be7efc 100644
--- a/core/modules/language/tests/src/Kernel/LanguageConfigOverrideInstallTest.php
+++ b/core/modules/language/tests/src/Kernel/LanguageConfigOverrideInstallTest.php
@@ -7,6 +7,8 @@
 use Drupal\language\Entity\ConfigurableLanguage;
 use Drupal\KernelTests\KernelTestBase;
 
+// cspell:ignore deutsch
+
 /**
  * Ensures the language config overrides can be installed.
  *
diff --git a/core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php b/core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php
index 6394b42db0fe..7795fd108d1f 100644
--- a/core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php
+++ b/core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php
@@ -8,7 +8,7 @@
 use Drupal\Tests\BrowserTestBase;
 use Drupal\Core\Language\LanguageInterface;
 
-// cspell:ignore chien chiens januari lundi moutons műveletek svibanj
+// cspell:ignore chien chiens deutsch januari lundi moutons műveletek svibanj
 
 /**
  * Tests the import of locale files.
diff --git a/core/modules/search/tests/src/Kernel/SearchMatchTest.php b/core/modules/search/tests/src/Kernel/SearchMatchTest.php
index 9ec5853f7200..06aef4700b23 100644
--- a/core/modules/search/tests/src/Kernel/SearchMatchTest.php
+++ b/core/modules/search/tests/src/Kernel/SearchMatchTest.php
@@ -8,6 +8,8 @@
 use Drupal\search\SearchIndexInterface;
 use Drupal\search\SearchQuery;
 
+// cspell:ignore cillum dolore enim veniam
+
 /**
  * Indexes content and queries it.
  *
diff --git a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestTextItemNormalizerTest.php b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestTextItemNormalizerTest.php
index 8c05ca3897fa..9bd6c2ec63a9 100644
--- a/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestTextItemNormalizerTest.php
+++ b/core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestTextItemNormalizerTest.php
@@ -7,6 +7,8 @@
 use Drupal\filter\Entity\FilterFormat;
 use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
 
+// cspell:ignore cádiz
+
 /**
  * @group rest
  * @group #slow
diff --git a/core/modules/system/tests/src/Kernel/Mail/MailTest.php b/core/modules/system/tests/src/Kernel/Mail/MailTest.php
index d40d3c3d259a..8df24bd50e2c 100644
--- a/core/modules/system/tests/src/Kernel/Mail/MailTest.php
+++ b/core/modules/system/tests/src/Kernel/Mail/MailTest.php
@@ -13,6 +13,8 @@
 use Drupal\KernelTests\KernelTestBase;
 use Drupal\system_mail_failure_test\Plugin\Mail\TestPhpMailFailure;
 
+// cspell:ignore drépal
+
 /**
  * Performs tests on the pluggable mailing framework.
  *
diff --git a/core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php b/core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php
index 72adf818c0d2..b4deb7e28cd2 100644
--- a/core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php
@@ -6,6 +6,8 @@
 use Drupal\Core\Asset\AttachedAssets;
 use Drupal\KernelTests\KernelTestBase;
 
+// cspell:ignore yarhar
+
 /**
  * Tests #attached assets: attached asset libraries and JavaScript settings.
  *
diff --git a/core/tests/Drupal/KernelTests/Core/Config/ExportStorageManagerTest.php b/core/tests/Drupal/KernelTests/Core/Config/ExportStorageManagerTest.php
index cd8486a67c6e..96897fe9521a 100644
--- a/core/tests/Drupal/KernelTests/Core/Config/ExportStorageManagerTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Config/ExportStorageManagerTest.php
@@ -7,6 +7,8 @@
 use Drupal\Core\Lock\NullLockBackend;
 use Drupal\KernelTests\KernelTestBase;
 
+// cspell:ignore arrr
+
 /**
  * Tests the export storage manager.
  *
diff --git a/core/tests/Drupal/KernelTests/Core/Config/ImportStorageTransformerTest.php b/core/tests/Drupal/KernelTests/Core/Config/ImportStorageTransformerTest.php
index a843e9a38580..b8e7c677aa1c 100644
--- a/core/tests/Drupal/KernelTests/Core/Config/ImportStorageTransformerTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Config/ImportStorageTransformerTest.php
@@ -9,6 +9,8 @@
 use Drupal\Core\Lock\NullLockBackend;
 use Drupal\KernelTests\KernelTestBase;
 
+// cspell:ignore arrr
+
 /**
  * Tests the import storage transformer.
  *
diff --git a/core/tests/Drupal/KernelTests/Core/TypedData/TypedDataTest.php b/core/tests/Drupal/KernelTests/Core/TypedData/TypedDataTest.php
index d485991df661..87d4b1a47493 100644
--- a/core/tests/Drupal/KernelTests/Core/TypedData/TypedDataTest.php
+++ b/core/tests/Drupal/KernelTests/Core/TypedData/TypedDataTest.php
@@ -20,6 +20,8 @@
 use Drupal\file\Entity\File;
 use Drupal\KernelTests\KernelTestBase;
 
+// cspell:ignore eins
+
 /**
  * Tests the functionality of all core data types.
  *
-- 
GitLab