From 67dbfb98ae42107a7b90651883dc2ef89d3b555d Mon Sep 17 00:00:00 2001 From: Dave Long <dave@longwaveconsulting.com> Date: Tue, 28 Nov 2023 22:56:54 +0000 Subject: [PATCH] Issue #3394084 by quietone, smustgrave, xjm: Fix non-English words in tests --- .../Core/Entity/Query/QueryInterface.php | 2 + core/misc/cspell/dictionary.txt | 45 ------------------- .../src/BigPipePlaceholderTestCases.php | 3 +- .../fr/config_test.dynamic.dotted.default.yml | 1 + .../fr/config_test.dynamic.dotted.default.yml | 1 + .../src/Functional/ConfigInstallWebTest.php | 2 + .../src/Functional/HelpTopicSearchTest.php | 2 +- .../Functional/HelpTopicTranslationTest.php | 2 +- .../tests/src/Functional/FileUploadTest.php | 2 + .../tests/src/Functional/LocaleExportTest.php | 2 +- .../src/Functional/LocalePluralFormatTest.php | 2 +- .../Functional/LocaleTranslationUiTest.php | 2 +- .../tests/src/Functional/LocaleUpdateTest.php | 6 ++- core/modules/locale/tests/test.nl.po | 2 +- .../src/Functional/Views/NodeLanguageTest.php | 2 + .../path/tests/src/Kernel/PathItemTest.php | 2 + .../Functional/FileUploadResourceTestBase.php | 2 + .../tests/src/Kernel/SearchTokenizerTest.php | 10 +++-- .../system_test/system_test.routing.yml | 2 + .../src/Functional/Mail/HtmlToTextTest.php | 1 + .../ParamConverter/UpcastingTest.php | 2 + .../src/Functional/Theme/TwigTransTest.php | 3 ++ .../UpdatePathTestBaseFilledTest.php | 2 +- .../tour/tests/src/Functional/TourTest.php | 2 + .../language/it/tour.tour.tour-test.yml | 2 + .../config/install/tour.tour.tour-test-2.yml | 1 + .../test_views/views.view.test_user_path.yml | 2 +- .../Plugin/DisplayFeedTranslationTest.php | 2 + .../src/Functional/ViewTranslationTest.php | 2 + .../Installer/InstallerExistingConfigTest.php | 2 + .../Installer/InstallerLanguagePageTest.php | 2 + .../Routing/CaseInsensitivePathTest.php | 2 + .../Core/Config/ConfigFileContentTest.php | 1 + ...tyNonRevisionableTranslatableFieldTest.php | 2 + .../Core/Entity/EntityQueryTest.php | 2 + .../Core/TypedData/TypedDataTest.php | 14 +++--- .../TestSiteMultilingualInstallTestScript.php | 2 + .../Tests/Component/Utility/HtmlTest.php | 2 + .../Drupal/Tests/Core/Block/BlockBaseTest.php | 1 + 39 files changed, 74 insertions(+), 67 deletions(-) diff --git a/core/lib/Drupal/Core/Entity/Query/QueryInterface.php b/core/lib/Drupal/Core/Entity/Query/QueryInterface.php index 975f6a53a37a..30a2220777ee 100644 --- a/core/lib/Drupal/Core/Entity/Query/QueryInterface.php +++ b/core/lib/Drupal/Core/Entity/Query/QueryInterface.php @@ -4,6 +4,8 @@ use Drupal\Core\Database\Query\AlterableInterface; +// cspell:ignore merhaba siema + /** * Interface for entity queries. * diff --git a/core/misc/cspell/dictionary.txt b/core/misc/cspell/dictionary.txt index 6214b875c42d..863fd299e5b7 100644 --- a/core/misc/cspell/dictionary.txt +++ b/core/misc/cspell/dictionary.txt @@ -99,7 +99,6 @@ blockrelated blocktest bodyless boing -bomofo bovigo brion brotli @@ -179,7 +178,6 @@ compositionstart configentity configurability configurator -contaynz contentblock contextuals controlgroup @@ -198,7 +196,6 @@ csrftoken cssidentifier csslintrc csstools -cucurbitaceae curle curlopt customevent @@ -238,7 +235,6 @@ desaturating descoping destructable deutsch -deutscher devel deviantart dflt @@ -259,7 +255,6 @@ dotenv downcasting doxygen dragtable -drei drillable drivernumber drivertest @@ -303,12 +298,10 @@ endset endtrans enim enoki -enregistrer entit entitytype entityviewedit errmode -errrf etag eurozone evenodd @@ -372,7 +365,6 @@ fulltext functionaljavascripttest functionaltest funic -furchtbar gabilondo gids gloop @@ -391,14 +383,12 @@ harkonnen hasher hashmarks hateoas -herro hexcode hilited hinode hippopotamidae hmac hoglet -hola hookname hosters hostnames @@ -436,7 +426,6 @@ isinstallable itoa itok ized -jamo javascripts jessebeach johansson @@ -456,7 +445,6 @@ killswitch kinberg kitt kolkata -kontex kpresenter kristiaan kspread @@ -477,7 +465,6 @@ linkgenerator linkification linkset linktext -lisu litespeed llamaids lnumber @@ -493,7 +480,6 @@ lowline lrdd lstitle ltitle -lundi lzma lzop macbinary @@ -513,13 +499,11 @@ mediaimagetextalternativeediting mediaimagetextalternativeui mediumint mediumtext -merhaba messagekey metapackage metapackages metatag metatags -meφω mglaman micheh mikey @@ -558,7 +542,6 @@ multistar multistep multivalue multivalued -muun muuuh myclabs mymodule @@ -589,7 +572,6 @@ nocase nocookie nodelist nodir -nodo nofields nojs nolink @@ -609,7 +591,6 @@ ntfs nyan nyancat nyans -nÅ“ud oembed officedocument omittable @@ -636,7 +617,6 @@ overriders owasp pagecache pagetop -pagina paramconverter parseable parsererror @@ -657,22 +637,18 @@ phpdocumentor phpfile phpserialize phpspec -pianura pickable picturefill pingback -pioggia pjpeg placeholdered placeholdering -playsholdr plid pluggable pluralforms plusthick poink porterstemmer -português postbar postcondition postcss @@ -784,8 +760,6 @@ rowspans rsyslog rtsp ruleset -répét -répété sameline samename sameorigin @@ -807,7 +781,6 @@ settingstray shatner shorterthan shortlink -siema silverlight silvie singlebyte @@ -826,7 +799,6 @@ somecompany sortablejs sourceediting spacebar -spagna specialchars spiffiness splitbutton @@ -838,9 +810,7 @@ squizlabs srcset ssess stardivision -starrrrr starterkit -starzzzz statuscode stdclass stddev @@ -893,10 +863,7 @@ subvalue subvalues subview suggestionnotimplemented -suis sulaco -sunz -sunzzzzzzz supercede svgz synchronizable @@ -917,7 +884,6 @@ tarz taskless tcomment templating -tercera testajax testblock testbody @@ -928,7 +894,6 @@ testcases testcontent testcontextawareblock testdialog -testen testfield testfilename testfilter @@ -966,7 +931,6 @@ timespan timetime tinyint tinytext -titel titlealert titlebar tlds @@ -993,13 +957,11 @@ truecolor turbolinks twistie twocol -txtzzzz typehint typehinted typehinting typehints tzid -uberawesome uids ulwa unaliased @@ -1110,9 +1072,7 @@ xbitmap xfbml xmlhttp xmlhttprequest -xoxo xpsdocument -xsiemax xtmpl xxgroup yamls @@ -1131,10 +1091,5 @@ zipf's zoneinfo zoomin zoomout -zwei zxvf zzgroup -Ã¥wesome -èxample -über -È…chÈ 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 50c6070abd1a..fc33e67c0e0f 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,7 +4,8 @@ * @file */ -// cspell:ignore divpiggydiv +// cSpell:ignore Vxezb +// cSpell:ignore divpiggydiv namespace Drupal\big_pipe_test; diff --git a/core/modules/config/tests/config_clash_test_theme/config/install/language/fr/config_test.dynamic.dotted.default.yml b/core/modules/config/tests/config_clash_test_theme/config/install/language/fr/config_test.dynamic.dotted.default.yml index e73dec0a540d..72dda4bdf886 100644 --- a/core/modules/config/tests/config_clash_test_theme/config/install/language/fr/config_test.dynamic.dotted.default.yml +++ b/core/modules/config/tests/config_clash_test_theme/config/install/language/fr/config_test.dynamic.dotted.default.yml @@ -1,2 +1,3 @@ # Clashes with default configuration provided by the config_test module. +# cspell:ignore suis label: 'Je suis' diff --git a/core/modules/config/tests/config_install_fail_test/config/install/language/fr/config_test.dynamic.dotted.default.yml b/core/modules/config/tests/config_install_fail_test/config/install/language/fr/config_test.dynamic.dotted.default.yml index e73dec0a540d..72dda4bdf886 100644 --- a/core/modules/config/tests/config_install_fail_test/config/install/language/fr/config_test.dynamic.dotted.default.yml +++ b/core/modules/config/tests/config_install_fail_test/config/install/language/fr/config_test.dynamic.dotted.default.yml @@ -1,2 +1,3 @@ # Clashes with default configuration provided by the config_test module. +# cspell:ignore suis label: 'Je suis' diff --git a/core/modules/config/tests/src/Functional/ConfigInstallWebTest.php b/core/modules/config/tests/src/Functional/ConfigInstallWebTest.php index f7035ec7a6a3..f38016541895 100644 --- a/core/modules/config/tests/src/Functional/ConfigInstallWebTest.php +++ b/core/modules/config/tests/src/Functional/ConfigInstallWebTest.php @@ -10,6 +10,8 @@ use Drupal\language\Entity\ConfigurableLanguage; use Drupal\Tests\BrowserTestBase; +// cspell:ignore suis + /** * Tests configuration objects before and after module install and uninstall. * diff --git a/core/modules/help/tests/src/Functional/HelpTopicSearchTest.php b/core/modules/help/tests/src/Functional/HelpTopicSearchTest.php index 5c0b51c9cea5..93f8b585118f 100644 --- a/core/modules/help/tests/src/Functional/HelpTopicSearchTest.php +++ b/core/modules/help/tests/src/Functional/HelpTopicSearchTest.php @@ -5,7 +5,7 @@ use Drupal\Tests\Traits\Core\CronRunTrait; use Drupal\help\Plugin\Search\HelpSearch; -// cspell:ignore asdrsad barmm foomm hilfetestmodul sdeeeee sqruct +// cspell:ignore asdrsad barmm foomm hilfetestmodul sdeeeee sqruct testen // cspell:ignore wcsrefsdf übersetzung /** diff --git a/core/modules/help/tests/src/Functional/HelpTopicTranslationTest.php b/core/modules/help/tests/src/Functional/HelpTopicTranslationTest.php index 3437b4d0648d..8756134d03f7 100644 --- a/core/modules/help/tests/src/Functional/HelpTopicTranslationTest.php +++ b/core/modules/help/tests/src/Functional/HelpTopicTranslationTest.php @@ -2,7 +2,7 @@ namespace Drupal\Tests\help\Functional; -// cspell:ignore hilfetestmodul übersetzung +// cspell:ignore hilfetestmodul testen übersetzung /** * Verifies help topic translations. diff --git a/core/modules/jsonapi/tests/src/Functional/FileUploadTest.php b/core/modules/jsonapi/tests/src/Functional/FileUploadTest.php index 6dda61fd5bb8..4ccf903d27c3 100644 --- a/core/modules/jsonapi/tests/src/Functional/FileUploadTest.php +++ b/core/modules/jsonapi/tests/src/Functional/FileUploadTest.php @@ -16,6 +16,8 @@ use GuzzleHttp\RequestOptions; use Psr\Http\Message\ResponseInterface; +// cspell:ignore èxample + /** * Tests binary data file upload route. * diff --git a/core/modules/locale/tests/src/Functional/LocaleExportTest.php b/core/modules/locale/tests/src/Functional/LocaleExportTest.php index 01bc8fa2645d..e126e51c3497 100644 --- a/core/modules/locale/tests/src/Functional/LocaleExportTest.php +++ b/core/modules/locale/tests/src/Functional/LocaleExportTest.php @@ -5,7 +5,7 @@ use Drupal\Core\File\FileSystemInterface; use Drupal\Tests\BrowserTestBase; -// cspell:ignore janvier +// cspell:ignore janvier lundi /** * Tests the exportation of locale files. diff --git a/core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php b/core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php index 56a19fe5ec06..27761996620b 100644 --- a/core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php +++ b/core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php @@ -7,7 +7,7 @@ use Drupal\Core\StringTranslation\PluralTranslatableMarkup; use Drupal\Tests\BrowserTestBase; -// cspell:ignore heure heures jours ponedjeljak +// cspell:ignore heure heures jours lundi ponedjeljak /** * Tests plural handling for various languages. diff --git a/core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php b/core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php index 5c4f0c5c4ba6..ced6504a4a6f 100644 --- a/core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php +++ b/core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php @@ -60,7 +60,7 @@ public function testStringTranslation() { // Code for the language. $langcode = 'xx'; // The English name for the language. This will be translated. - $name = 'cucurbitaceae'; + $name = 'Foo'; // This will be the translation of $name. $translation = $this->randomMachineName(16); $translation_to_en = $this->randomMachineName(16); diff --git a/core/modules/locale/tests/src/Functional/LocaleUpdateTest.php b/core/modules/locale/tests/src/Functional/LocaleUpdateTest.php index 0f2a78a8d594..4ea0400f8c49 100644 --- a/core/modules/locale/tests/src/Functional/LocaleUpdateTest.php +++ b/core/modules/locale/tests/src/Functional/LocaleUpdateTest.php @@ -5,6 +5,8 @@ use Drupal\Core\Database\Database; use Drupal\Core\Language\LanguageInterface; +// cspell:ignore lundi + /** * Tests for updating the interface translations of projects. * @@ -385,7 +387,7 @@ public function testEnableLanguage() { // Check if the right number of translations are added. $this->assertSession()->pageTextContains("One translation file imported. 8 translations were added, 0 translations were updated and 0 translations were removed."); // cSpell:disable-next-line - $this->assertTranslation('Extraday', 'extra dag', 'nl'); + $this->assertTranslation('Extra day', 'extra dag', 'nl'); // Check if the language data is added to the database. $connection = Database::getConnection(); @@ -409,7 +411,7 @@ public function testEnableLanguage() { $this->assertFalse($result, 'Files removed from file history'); // Check that the Dutch translation is gone. - $this->assertTranslation('Extraday', '', 'nl'); + $this->assertTranslation('Extra day', '', 'nl'); // cSpell:disable-next-line $this->assertTranslation('Tuesday', 'Dienstag', 'de'); } diff --git a/core/modules/locale/tests/test.nl.po b/core/modules/locale/tests/test.nl.po index 2e956c1915c9..406b695cc273 100644 --- a/core/modules/locale/tests/test.nl.po +++ b/core/modules/locale/tests/test.nl.po @@ -18,7 +18,7 @@ msgstr "woensdag" msgid "Thursday" msgstr "donderdag" -msgid "Extraday" +msgid "Extra day" msgstr "extra dag" msgid "Friday" diff --git a/core/modules/node/tests/src/Functional/Views/NodeLanguageTest.php b/core/modules/node/tests/src/Functional/Views/NodeLanguageTest.php index 006a3ade0df2..9a6c9183e13e 100644 --- a/core/modules/node/tests/src/Functional/Views/NodeLanguageTest.php +++ b/core/modules/node/tests/src/Functional/Views/NodeLanguageTest.php @@ -9,6 +9,8 @@ use Drupal\views\Tests\ViewTestData; use Drupal\views\Views; +// cspell:ignore nodo nÅ“ud tercera + /** * Tests node language fields, filters, and sorting. * diff --git a/core/modules/path/tests/src/Kernel/PathItemTest.php b/core/modules/path/tests/src/Kernel/PathItemTest.php index 3597ddf39b0e..bf128411a785 100644 --- a/core/modules/path/tests/src/Kernel/PathItemTest.php +++ b/core/modules/path/tests/src/Kernel/PathItemTest.php @@ -7,6 +7,8 @@ use Drupal\node\Entity\Node; use Drupal\node\Entity\NodeType; +// cspell:ignore furchtbar + /** * Tests loading and storing data using PathItem. * diff --git a/core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php b/core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php index cc47f39fb765..7ca019aeda19 100644 --- a/core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php +++ b/core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php @@ -16,6 +16,8 @@ use GuzzleHttp\RequestOptions; use Psr\Http\Message\ResponseInterface; +// cspell:ignore èxample + /** * Tests binary data file upload route. */ diff --git a/core/modules/search/tests/src/Kernel/SearchTokenizerTest.php b/core/modules/search/tests/src/Kernel/SearchTokenizerTest.php index 7a9388a2c78e..aafd0f04c9f2 100644 --- a/core/modules/search/tests/src/Kernel/SearchTokenizerTest.php +++ b/core/modules/search/tests/src/Kernel/SearchTokenizerTest.php @@ -5,6 +5,8 @@ use Drupal\KernelTests\KernelTestBase; use Drupal\search\SearchTextProcessorInterface; +// cspell:ignore bopomofo jamo lisu + /** * Tests that CJK tokenizer works as intended. * @@ -54,8 +56,8 @@ public function testTokenizer() { 'Katakana Ext' => 0x31f0, 'CJK Reserve 1' => 0x20000, 'CJK Reserve 2' => 0x30000, - 'Bomofo' => 0x3100, - 'Bomofo Ext' => 0x31a0, + 'Bopomofo' => 0x3100, + 'Bopomofo Ext' => 0x31a0, 'Lisu' => 0xa4d0, 'Yi' => 0xa000, ]; @@ -78,8 +80,8 @@ public function testTokenizer() { 'Katakana Ext' => 0x31ff, 'CJK Reserve 1' => 0x2fffd, 'CJK Reserve 2' => 0x3fffd, - 'Bomofo' => 0x312f, - 'Bomofo Ext' => 0x31b7, + 'Bopomofo' => 0x312f, + 'Bopomofo Ext' => 0x31b7, 'Lisu' => 0xa4fd, 'Yi' => 0xa48f, ]; diff --git a/core/modules/system/tests/modules/system_test/system_test.routing.yml b/core/modules/system/tests/modules/system_test/system_test.routing.yml index 39f56abaa9f0..74b836e2592c 100644 --- a/core/modules/system/tests/modules/system_test/system_test.routing.yml +++ b/core/modules/system/tests/modules/system_test/system_test.routing.yml @@ -1,3 +1,5 @@ +# cspell:ignore È…chÈ + system_test.page_cache_accept_header: path: '/system-test/page-cache/accept-header' defaults: diff --git a/core/modules/system/tests/src/Functional/Mail/HtmlToTextTest.php b/core/modules/system/tests/src/Functional/Mail/HtmlToTextTest.php index 892761da64ac..8b64554609a2 100644 --- a/core/modules/system/tests/src/Functional/Mail/HtmlToTextTest.php +++ b/core/modules/system/tests/src/Functional/Mail/HtmlToTextTest.php @@ -149,6 +149,7 @@ public function testTags() { '<script type="text/javascript">Drupal</script>' => "Drupal\n", // A couple of tests for Unicode characters. '<q>I <em>will</em> be back…</q>' => "I /will/ be back…\n", + // cspell:disable-next-line 'FrançAIS is ÃœBER-Ã¥wesome' => "FrançAIS is ÃœBER-Ã¥wesome\n", ]; diff --git a/core/modules/system/tests/src/Functional/ParamConverter/UpcastingTest.php b/core/modules/system/tests/src/Functional/ParamConverter/UpcastingTest.php index c5b383e8d3fe..34dd478d2756 100644 --- a/core/modules/system/tests/src/Functional/ParamConverter/UpcastingTest.php +++ b/core/modules/system/tests/src/Functional/ParamConverter/UpcastingTest.php @@ -5,6 +5,8 @@ use Drupal\Tests\BrowserTestBase; use Drupal\language\Entity\ConfigurableLanguage; +// cspell:ignore deutscher titel + /** * Tests upcasting of URL arguments to entities. * diff --git a/core/modules/system/tests/src/Functional/Theme/TwigTransTest.php b/core/modules/system/tests/src/Functional/Theme/TwigTransTest.php index 35078dc72716..6b7d74da7beb 100644 --- a/core/modules/system/tests/src/Functional/Theme/TwigTransTest.php +++ b/core/modules/system/tests/src/Functional/Theme/TwigTransTest.php @@ -6,6 +6,9 @@ use Drupal\Tests\BrowserTestBase; use Twig\Error\SyntaxError; +// cspell:ignore contaynz errrf herro kontex muun playsholdr starrrrr starzzzz +// cspell:ignore sunz sunzzzzzzz txtzzzz + /** * Tests Twig "trans" tags. * diff --git a/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestBaseFilledTest.php b/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestBaseFilledTest.php index fe05a4797c5a..0ab76f754f5b 100644 --- a/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestBaseFilledTest.php +++ b/core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestBaseFilledTest.php @@ -7,7 +7,7 @@ use Drupal\node\Entity\NodeType; use Drupal\user\Entity\User; -// cspell:ignore usuario +// cspell:ignore hola usuario /** * Runs UpdatePathTestBaseTest with a dump filled with content. diff --git a/core/modules/tour/tests/src/Functional/TourTest.php b/core/modules/tour/tests/src/Functional/TourTest.php index a7d8d40fdb8a..9f4a7dfb52bc 100644 --- a/core/modules/tour/tests/src/Functional/TourTest.php +++ b/core/modules/tour/tests/src/Functional/TourTest.php @@ -6,6 +6,8 @@ use Drupal\language\Entity\ConfigurableLanguage; use Drupal\tour\Entity\Tour; +// cspell:ignore pioggia spagna + /** * Tests the functionality of tour tips. * diff --git a/core/modules/tour/tests/tour_test/config/install/language/it/tour.tour.tour-test.yml b/core/modules/tour/tests/tour_test/config/install/language/it/tour.tour.tour-test.yml index e36e435b15be..6e449139c82f 100644 --- a/core/modules/tour/tests/tour_test/config/install/language/it/tour.tour.tour-test.yml +++ b/core/modules/tour/tests/tour_test/config/install/language/it/tour.tour.tour-test.yml @@ -1,5 +1,7 @@ label: Tour test italian tips: tour-test-1: + # cspell:disable label: La pioggia cade in spagna body: Per lo più in pianura. + # cspell:disable diff --git a/core/modules/tour/tests/tour_test/config/install/tour.tour.tour-test-2.yml b/core/modules/tour/tests/tour_test/config/install/tour.tour.tour-test-2.yml index 5531e285c405..657aee3d7a8c 100644 --- a/core/modules/tour/tests/tour_test/config/install/tour.tour.tour-test-2.yml +++ b/core/modules/tour/tests/tour_test/config/install/tour.tour.tour-test-2.yml @@ -12,4 +12,5 @@ tips: label: 'The quick brown fox' weight: 2 selector: '#tour-test-2' + # cspell:disable-next-line body: 'Per lo più in pianura.' diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_user_path.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_user_path.yml index c0bbd1b8e64c..c9ad3ac988dc 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_user_path.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_user_path.yml @@ -51,7 +51,7 @@ display: total_pages: null expose: items_per_page: false - items_per_page_label: 'Items per pagina' + items_per_page_label: 'Items per page' items_per_page_options: '5, 10, 25, 50' items_per_page_options_all: false items_per_page_options_all_label: '- All -' diff --git a/core/modules/views/tests/src/Functional/Plugin/DisplayFeedTranslationTest.php b/core/modules/views/tests/src/Functional/Plugin/DisplayFeedTranslationTest.php index 2ac92b92e07b..f7d851239e0b 100644 --- a/core/modules/views/tests/src/Functional/Plugin/DisplayFeedTranslationTest.php +++ b/core/modules/views/tests/src/Functional/Plugin/DisplayFeedTranslationTest.php @@ -8,6 +8,8 @@ use Drupal\node\Entity\Node; use Drupal\Tests\WaitTerminateTestTrait; +// cspell:ignore português + /** * Tests the feed display plugin with translated content. * diff --git a/core/modules/views/tests/src/Functional/ViewTranslationTest.php b/core/modules/views/tests/src/Functional/ViewTranslationTest.php index b29df6c6c9a7..97e67e08c55a 100644 --- a/core/modules/views/tests/src/Functional/ViewTranslationTest.php +++ b/core/modules/views/tests/src/Functional/ViewTranslationTest.php @@ -6,6 +6,8 @@ use Drupal\language\Entity\ConfigurableLanguage; use Drupal\views\Views; +// cspell:ignore titel + /** * Tests views title translation. * diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigTest.php index c1e75a87aeb4..47da2faa36b7 100644 --- a/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigTest.php +++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigTest.php @@ -2,6 +2,8 @@ namespace Drupal\FunctionalTests\Installer; +// cspell:ignore enregistrer + /** * Verifies that installing from existing configuration works. * diff --git a/core/tests/Drupal/FunctionalTests/Installer/InstallerLanguagePageTest.php b/core/tests/Drupal/FunctionalTests/Installer/InstallerLanguagePageTest.php index 7e17ec16fb98..3cdc35e7e12e 100644 --- a/core/tests/Drupal/FunctionalTests/Installer/InstallerLanguagePageTest.php +++ b/core/tests/Drupal/FunctionalTests/Installer/InstallerLanguagePageTest.php @@ -4,6 +4,8 @@ use Drupal\Core\Language\LanguageManager; +// cspell:ignore xoxo + /** * Verifies that the installer language list combines local and remote languages. * diff --git a/core/tests/Drupal/FunctionalTests/Routing/CaseInsensitivePathTest.php b/core/tests/Drupal/FunctionalTests/Routing/CaseInsensitivePathTest.php index 52d5fdadd86c..408593c56a76 100644 --- a/core/tests/Drupal/FunctionalTests/Routing/CaseInsensitivePathTest.php +++ b/core/tests/Drupal/FunctionalTests/Routing/CaseInsensitivePathTest.php @@ -4,6 +4,8 @@ use Drupal\Tests\BrowserTestBase; +// cspell:ignore È…chÈ meΦω + /** * Tests incoming path case insensitivity. * diff --git a/core/tests/Drupal/KernelTests/Core/Config/ConfigFileContentTest.php b/core/tests/Drupal/KernelTests/Core/Config/ConfigFileContentTest.php index db8181776ec4..da1dba587f6c 100644 --- a/core/tests/Drupal/KernelTests/Core/Config/ConfigFileContentTest.php +++ b/core/tests/Drupal/KernelTests/Core/Config/ConfigFileContentTest.php @@ -198,6 +198,7 @@ public function testSerialization() { // HTML/XML in values. 'HTML' => '<strong> <bold> <em> <blockquote>', // UTF-8 in values. + // cspell:disable-next-line 'UTF-8' => 'FrançAIS is ÃœBER-Ã¥wesome', // Unicode in keys and values. // cSpell:disable-next-line diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityNonRevisionableTranslatableFieldTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityNonRevisionableTranslatableFieldTest.php index b34525b5d37c..be9a093bfbbd 100644 --- a/core/tests/Drupal/KernelTests/Core/Entity/EntityNonRevisionableTranslatableFieldTest.php +++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityNonRevisionableTranslatableFieldTest.php @@ -5,6 +5,8 @@ use Drupal\entity_test\Entity\EntityTestMulRev; use Drupal\language\Entity\ConfigurableLanguage; +// cspell:ignore hola + /** * Tests translating a non-revisionable field. * diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php index 5bf44250cdf9..42ff9e293aa0 100644 --- a/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php +++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php @@ -14,6 +14,8 @@ use Drupal\Tests\field\Traits\EntityReferenceFieldCreationTrait; use Symfony\Component\HttpFoundation\Request; +// cspell:ignore merhaba siema xsiemax + /** * Tests Entity Query functionality. * diff --git a/core/tests/Drupal/KernelTests/Core/TypedData/TypedDataTest.php b/core/tests/Drupal/KernelTests/Core/TypedData/TypedDataTest.php index 5687044ec1a1..d485991df661 100644 --- a/core/tests/Drupal/KernelTests/Core/TypedData/TypedDataTest.php +++ b/core/tests/Drupal/KernelTests/Core/TypedData/TypedDataTest.php @@ -501,8 +501,8 @@ public function testTypedDataMaps() { // Test working with a simple map. $value = [ 'one' => 'eins', - 'two' => 'zwei', - 'three' => 'drei', + 'two' => 'beta', + 'three' => 'gamma', ]; $definition = MapDataDefinition::create() ->setPropertyDefinition('one', DataDefinition::create('string')) @@ -528,11 +528,11 @@ public function testTypedDataMaps() { // Test getting and setting properties. $this->assertEquals('eins', $typed_data->get('one')->getValue()); $this->assertEquals($value, $typed_data->toArray()); - $typed_data->set('one', 'uno'); - $this->assertEquals('uno', $typed_data->get('one')->getValue()); + $typed_data->set('one', 'alpha'); + $this->assertEquals('alpha', $typed_data->get('one')->getValue()); // Make sure the update is reflected in the value of the map also. $value = $typed_data->getValue(); - $this->assertEquals(['one' => 'uno', 'two' => 'zwei', 'three' => 'drei'], $value); + $this->assertEquals(['one' => 'alpha', 'two' => 'beta', 'three' => 'gamma'], $value); $properties = $typed_data->getProperties(); $this->assertEquals(array_keys($value), array_keys($properties)); @@ -545,8 +545,8 @@ public function testTypedDataMaps() { $this->assertEquals(['foo', 'one', 'two', 'three'], array_keys($typed_data->getValue())); // Test getting the string representation. - $typed_data->setValue(['one' => 'eins', 'two' => '', 'three' => 'drei']); - $this->assertEquals('eins, drei', $typed_data->getString()); + $typed_data->setValue(['one' => 'eins', 'two' => '', 'three' => 'gamma']); + $this->assertEquals('eins, gamma', $typed_data->getString()); // Test isEmpty and cloning. $this->assertFalse($typed_data->isEmpty()); diff --git a/core/tests/Drupal/TestSite/TestSiteMultilingualInstallTestScript.php b/core/tests/Drupal/TestSite/TestSiteMultilingualInstallTestScript.php index cbd95c230bdf..ed04d89e1b27 100644 --- a/core/tests/Drupal/TestSite/TestSiteMultilingualInstallTestScript.php +++ b/core/tests/Drupal/TestSite/TestSiteMultilingualInstallTestScript.php @@ -2,6 +2,8 @@ namespace Drupal\TestSite; +// cspell:ignore enregistrer + /** * Setup file used by TestSiteApplicationTest. * diff --git a/core/tests/Drupal/Tests/Component/Utility/HtmlTest.php b/core/tests/Drupal/Tests/Component/Utility/HtmlTest.php index 4f4860011645..ebe9668d7486 100644 --- a/core/tests/Drupal/Tests/Component/Utility/HtmlTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/HtmlTest.php @@ -9,6 +9,8 @@ use PHPUnit\Framework\TestCase; use Symfony\Bridge\PhpUnit\ExpectDeprecationTrait; +// cspell:ignore répét répété + /** * Tests \Drupal\Component\Utility\Html. * diff --git a/core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php b/core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php index c6321f62e6dc..21ada5c8d0ac 100644 --- a/core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php +++ b/core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php @@ -48,6 +48,7 @@ public function testGetMachineNameSuggestion($label, $expected) { public function providerTestGetMachineNameSuggestion() { return [ ['Admin label', 'adminlabel'], + // cspell:disable-next-line ['über Ã¥wesome', 'uberawesome'], ]; } -- GitLab