diff --git a/core/core.libraries.yml b/core/core.libraries.yml index 3f82c2ad934d9f9195ec9442c1e86b2cbd6cc333..b26bf5fff6277b3f5f04b0a10dc83e1b2fd4230f 100644 --- a/core/core.libraries.yml +++ b/core/core.libraries.yml @@ -395,7 +395,7 @@ drupal.autocomplete: misc/autocomplete.js: { weight: -1 } # The remaining JavaScript assets previously came from core/jquery.ui, a # deprecated library. - # All weights are based on on the requirements defined within each file. + # All weights are based on the requirements defined within each file. # @todo replace with solution in https://drupal.org/node/3076171 assets/vendor/jquery.ui/ui/widgets/autocomplete-min.js: { weight: -11.7, minified: true } assets/vendor/jquery.ui/ui/labels-min.js: { weight: -11.7, minified: true } @@ -494,7 +494,7 @@ drupal.dialog: misc/dialog/dialog.jquery-ui.js: {} # The remaining JavaScript assets previously came from core/jquery.ui, a # deprecated library. - # All weights are based on on the requirements defined within each file. + # All weights are based on the requirements defined within each file. # @todo replace with solution in https://drupal.org/node/2158943 assets/vendor/jquery.ui/ui/widgets/dialog-min.js: { weight: -11.4, minified: true } assets/vendor/jquery.ui/ui/widgets/button-min.js: { weight: -11.5, minified: true } diff --git a/core/lib/Drupal/Core/Database/Database.php b/core/lib/Drupal/Core/Database/Database.php index aca6939b767291ca79cca1b93bf158a82cabf6d5..6493c87c5c03ad10c1fda7a903bb3cae0308bba2 100644 --- a/core/lib/Drupal/Core/Database/Database.php +++ b/core/lib/Drupal/Core/Database/Database.php @@ -425,7 +425,7 @@ public static function closeConnection($target = NULL, $key = NULL) { unset(self::$connections[$key]); } // Force garbage collection to run. This ensures that client connection - // objects and results in the connection being being closed are destroyed. + // objects and results in the connection being closed are destroyed. gc_collect_cycles(); } diff --git a/core/lib/Drupal/Core/Utility/Error.php b/core/lib/Drupal/Core/Utility/Error.php index 31ed9dd8e858f61dd7c5463105e79eefc245733f..1f55be5a295288c9aae3e7795121496d72212413 100644 --- a/core/lib/Drupal/Core/Utility/Error.php +++ b/core/lib/Drupal/Core/Utility/Error.php @@ -21,7 +21,7 @@ class Error { const ERROR = 3; /** - * The the default message for logging errors. + * The default message for logging errors. */ const DEFAULT_ERROR_MESSAGE = '%type: @message in %function (line %line of %file).'; diff --git a/core/modules/block/tests/src/Functional/BlockTest.php b/core/modules/block/tests/src/Functional/BlockTest.php index e72cc38a71996b7058265bd4e96d7d1216f92eaf..bec182bdd62d25cedcbc7112326e901c652d8124 100644 --- a/core/modules/block/tests/src/Functional/BlockTest.php +++ b/core/modules/block/tests/src/Functional/BlockTest.php @@ -163,7 +163,7 @@ public function testAddBlockFromLibraryWithWeight() { 'theme' => $default_theme, ]); - // Verify that one link is found, with the the expected link text. + // Verify that one link is found, with the expected link text. $xpath = $this->assertSession()->buildXPathQuery('//a[contains(@href, :href)]', [':href' => $add_url->toString()]); $this->assertSession()->elementsCount('xpath', $xpath, 1); $this->assertSession()->elementTextEquals('xpath', $xpath, 'Place block'); diff --git a/core/modules/config/tests/src/Functional/ConfigEntityTest.php b/core/modules/config/tests/src/Functional/ConfigEntityTest.php index 2c5a6bf56670ffbe14e8e0e1630c0d3efe9c10b1..f2aff9521bb087fe48f660911ee847992c999790 100644 --- a/core/modules/config/tests/src/Functional/ConfigEntityTest.php +++ b/core/modules/config/tests/src/Functional/ConfigEntityTest.php @@ -189,7 +189,7 @@ public function testCRUD() { $this->assertTrue($same_id->isNew()); try { $same_id->save(); - $this->fail('Not possible to overwrite an entity entity.'); + $this->fail('Not possible to overwrite an entity.'); } catch (EntityStorageException $e) { // Expected exception; just continue testing. diff --git a/core/modules/help_topics/help_topics/core.content_structure.html.twig b/core/modules/help_topics/help_topics/core.content_structure.html.twig index afc513510eca0830105ef3b9b747c0ee832ca2b3..2d7e9f3e6b677b8fe6a8a3f56dd51ed7bd7d1e0c 100644 --- a/core/modules/help_topics/help_topics/core.content_structure.html.twig +++ b/core/modules/help_topics/help_topics/core.content_structure.html.twig @@ -17,7 +17,7 @@ top_level: true <li>{% trans %}Boolean, Number (provided by the core system): Stores true/false values and numbers{% endtrans %}</li> <li>{% trans %}Comment (provided by the core Comment module): Allows users to add comments to an entity{% endtrans %}</li> <li>{% trans %}Date, Timestamp (Datetime module): Stores dates and times{% endtrans %}</li> - <li>{% trans %}Date range (Datetime range module): Stores time/date periods with a start and and an end{% endtrans %}</li> + <li>{% trans %}Date range (Datetime range module): Stores time/date periods with a start and an end{% endtrans %}</li> <li>{% trans %}Email (core system): Stores email addresses{% endtrans %}</li> <li>{% trans %}Link (Link module): Stores URLs and link text{% endtrans %}</li> <li>{% trans %}List (Options module): Stores values chosen from pre-defined lists, where the values can be numbers or text; see section below for more on list fields.{% endtrans %}</li> diff --git a/core/modules/help_topics/help_topics/views_ui.bulk_operations.html.twig b/core/modules/help_topics/help_topics/views_ui.bulk_operations.html.twig index 65043176efbb0c50446da048db619d652cfce6fc..9f4cd2ac9c5a7c575d1735b8bbc66f7a559b4cba 100644 --- a/core/modules/help_topics/help_topics/views_ui.bulk_operations.html.twig +++ b/core/modules/help_topics/help_topics/views_ui.bulk_operations.html.twig @@ -22,7 +22,7 @@ related: <h2>{% trans %}Steps{% endtrans %}</h2> <ol> <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>Structure</em> > <em>{{ views }}</em>. A list of all views is shown.{% endtrans %}</li> - <li>{% trans %}Find the view that you would like to edit, and click <em>Edit</em> from the the dropdown button. Note that bulk operations work best in a view with a Page display, and a Table format.{% endtrans %}</li> + <li>{% trans %}Find the view that you would like to edit, and click <em>Edit</em> from the dropdown button. Note that bulk operations work best in a view with a Page display, and a Table format.{% endtrans %}</li> <li>{% trans %}If there is not already an <em>Operations bulk form</em> in the <em>Fields</em> list for the view, click <em>Add</em> in the <em>Fields</em> section to add it. (The exact name of the bulk form field will vary, and may contain keywords like "bulk update", "form element" or "operations" -- not to be confused with <em>operations links</em>, which are applied to each item in a row.) If the bulk operations field already exists, click the field name to edit its settings.{% endtrans %}</li> <li>{% trans %}Check the action(s) you want to make available in the <em>Selected actions</em> list and click <em>Apply (all displays)</em>.{% endtrans %}</li> <li>{% trans %}Verify that the <em>Access</em> settings for the view are at least as restrictive as the permissions necessary to perform the bulk operations. People with permission to see the view, but who don't have permission to do the bulk operations, will experience problems.{% endtrans %}</li> diff --git a/core/modules/migrate/tests/src/Kernel/MigrateSqlSourceTestBase.php b/core/modules/migrate/tests/src/Kernel/MigrateSqlSourceTestBase.php index fcae35cb646b29cbca5b7acf034a6dfce178d690..ba11c234a667463cc61fddf8d6686f0cc87aaf03 100644 --- a/core/modules/migrate/tests/src/Kernel/MigrateSqlSourceTestBase.php +++ b/core/modules/migrate/tests/src/Kernel/MigrateSqlSourceTestBase.php @@ -97,7 +97,7 @@ public function testSource(array $source_data, array $expected_data, $expected_c /** @var MemoryCounterBackend $cache **/ $cache = \Drupal::cache('migrate'); if ($expected_cache_key) { - // Verify the the computed cache key. + // Verify the computed cache key. $property = $reflector->getProperty('cacheKey'); $property->setAccessible(TRUE); $this->assertSame($expected_cache_key, $property->getValue($plugin)); diff --git a/core/tests/Drupal/FunctionalTests/Libraries/JqueryUiLibraryAssetsTest.php b/core/tests/Drupal/FunctionalTests/Libraries/JqueryUiLibraryAssetsTest.php index 2199eb217a53408957d4287071a7284f58e98eac..f92fd3c5354ed10ab3bff8ae368737131848c4af 100644 --- a/core/tests/Drupal/FunctionalTests/Libraries/JqueryUiLibraryAssetsTest.php +++ b/core/tests/Drupal/FunctionalTests/Libraries/JqueryUiLibraryAssetsTest.php @@ -280,7 +280,7 @@ public function testLibraryAssetLoadingOrder($library) { * Confirms jQuery UI assets load as expected. * * Compares the jQuery assets that currently load against a list of the assets - * that loaded prior to the the deprecation of all remaining core jQuery UI + * that loaded prior to the deprecation of all remaining core jQuery UI * libraries. * * While this is similar to testLibraryAssetLoadingOrder(), it is a separate diff --git a/core/tests/Drupal/KernelTests/Core/KeyValueStore/KeyValueContentEntityStorageTest.php b/core/tests/Drupal/KernelTests/Core/KeyValueStore/KeyValueContentEntityStorageTest.php index 913851b67f30dcf11503444bcd2fd3b4693169a3..36a19d19d464a41c9e75c3121ce44dab48599eda 100644 --- a/core/tests/Drupal/KernelTests/Core/KeyValueStore/KeyValueContentEntityStorageTest.php +++ b/core/tests/Drupal/KernelTests/Core/KeyValueStore/KeyValueContentEntityStorageTest.php @@ -139,7 +139,7 @@ public function testCRUD() { $this->assertTrue($same_id->isNew()); try { $same_id->save(); - $this->fail('Not possible to overwrite an entity entity.'); + $this->fail('Not possible to overwrite an entity.'); } catch (EntityStorageException $e) { // Expected exception; just continue testing. diff --git a/core/themes/olivero/css/components/header-search-narrow.css b/core/themes/olivero/css/components/header-search-narrow.css index 37e66901067f03b15b060794461ffa0962e2f56f..df61b64a57df8a98e1c97d0720fd409571758cb6 100644 --- a/core/themes/olivero/css/components/header-search-narrow.css +++ b/core/themes/olivero/css/components/header-search-narrow.css @@ -171,7 +171,7 @@ background-color: transparent /* - When in Windows high contrast mode, FF will will not output either background + When in Windows high contrast mode, FF will not output either background images or SVGs that are nested directly within a <button> element, so we add a <span>. */ } diff --git a/core/themes/olivero/css/components/header-search-narrow.pcss.css b/core/themes/olivero/css/components/header-search-narrow.pcss.css index 048dfaf044288073127049fdc16ae8979ec87138..a11654050c6e0c34b4f88ad94cb2b7ed020d9cf9 100644 --- a/core/themes/olivero/css/components/header-search-narrow.pcss.css +++ b/core/themes/olivero/css/components/header-search-narrow.pcss.css @@ -85,7 +85,7 @@ background-color: transparent; /* - When in Windows high contrast mode, FF will will not output either background + When in Windows high contrast mode, FF will not output either background images or SVGs that are nested directly within a <button> element, so we add a <span>. */ & .icon--search { diff --git a/core/themes/olivero/css/components/header-search-wide.css b/core/themes/olivero/css/components/header-search-wide.css index 861c29a7989113cab8778d8553f56be3b1427beb..dc6a6b82dd6eb54a2d679e5ccafa788441421985 100644 --- a/core/themes/olivero/css/components/header-search-wide.css +++ b/core/themes/olivero/css/components/header-search-wide.css @@ -215,7 +215,7 @@ background-color: transparent /* - When in Windows high contrast mode, FF will will not output either background + When in Windows high contrast mode, FF will not output either background images or SVGs that are nested directly within a <button> element, so we add a <span>. */ } diff --git a/core/themes/olivero/css/components/header-search-wide.pcss.css b/core/themes/olivero/css/components/header-search-wide.pcss.css index 198fde1a4c133cf65176ca74ded72587a71c3534..941d85d37031c5611dad4a708d75d91223926ec4 100644 --- a/core/themes/olivero/css/components/header-search-wide.pcss.css +++ b/core/themes/olivero/css/components/header-search-wide.pcss.css @@ -102,7 +102,7 @@ background-color: transparent; /* - When in Windows high contrast mode, FF will will not output either background + When in Windows high contrast mode, FF will not output either background images or SVGs that are nested directly within a <button> element, so we add a <span>. */ & .icon--search {