From 3582dc24fd1f6be002a0b908abdd342cce2bf4c1 Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Mon, 26 Oct 2020 11:33:51 +0000 Subject: [PATCH] Issue #3178039 by anmolgoyal74, Matroskeen, xjm, Kristen Pol, alvar0hurtad0: Correct typo "is has" in a few code comments and tests in core (cherry picked from commit d8a3cf98f53932cf7ee1464265f0a86e1100cb46) --- .../tests/src/Functional/Views/TranslationLinkTest.php | 2 +- .../Drupal/KernelTests/Core/Database/TransactionTest.php | 2 +- core/themes/claro/css/theme/media-library.css | 6 +++--- core/themes/claro/css/theme/media-library.pcss.css | 6 +++--- core/themes/seven/css/theme/media-library.css | 6 +++--- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php b/core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php index 7e83fe24e5fc..d1e594fd1782 100644 --- a/core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php +++ b/core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php @@ -35,7 +35,7 @@ class TranslationLinkTest extends ContentTranslationTestBase { protected $defaultTheme = 'stark'; protected function setUp(): void { - // @todo Use entity_type once it is has multilingual Views integration. + // @todo Use entity_type once it has multilingual Views integration. $this->entityTypeId = 'user'; parent::setUp(); diff --git a/core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php b/core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php index d9fa3cbaa2fe..3eb11aded84b 100644 --- a/core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php +++ b/core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php @@ -101,7 +101,7 @@ protected function transactionInnerLayer($suffix, $rollback = FALSE, $ddl_statem $txn = $this->connection->startTransaction(); $depth2 = $this->connection->transactionDepth(); - $this->assertTrue($depth < $depth2, 'Transaction depth is has increased with new transaction.'); + $this->assertTrue($depth < $depth2, 'Transaction depth has increased with new transaction.'); // Insert a single row into the testing table. $this->connection->insert('test') diff --git a/core/themes/claro/css/theme/media-library.css b/core/themes/claro/css/theme/media-library.css index 4c2c2de241d0..19b0b3219c10 100644 --- a/core/themes/claro/css/theme/media-library.css +++ b/core/themes/claro/css/theme/media-library.css @@ -665,9 +665,9 @@ /** * Style the added media item container. * - * The added media container receives screen reader focus since it is has the - * role 'listitem'. Since it is not an interactive element, it does not need - * an outline. + * The added media container receives screen reader focus since it has the role + * 'listitem'. Since it is not an interactive element, it does not need an + * outline. */ .media-library-add-form__media { diff --git a/core/themes/claro/css/theme/media-library.pcss.css b/core/themes/claro/css/theme/media-library.pcss.css index 3ae30c179949..dbee8cfc88fc 100644 --- a/core/themes/claro/css/theme/media-library.pcss.css +++ b/core/themes/claro/css/theme/media-library.pcss.css @@ -616,9 +616,9 @@ /** * Style the added media item container. * - * The added media container receives screen reader focus since it is has the - * role 'listitem'. Since it is not an interactive element, it does not need - * an outline. + * The added media container receives screen reader focus since it has the role + * 'listitem'. Since it is not an interactive element, it does not need an + * outline. */ .media-library-add-form__media { position: relative; diff --git a/core/themes/seven/css/theme/media-library.css b/core/themes/seven/css/theme/media-library.css index bef8cc613623..21a00a825c37 100644 --- a/core/themes/seven/css/theme/media-library.css +++ b/core/themes/seven/css/theme/media-library.css @@ -632,9 +632,9 @@ /** * Style the added media item container. * - * The added media container receives screen reader focus since it is has the - * role 'listitem'. Since it is not an interactive element, it does not need - * an outline. + * The added media container receives screen reader focus since it has the role + * 'listitem'. Since it is not an interactive element, it does not need an + * outline. */ .media-library-add-form__media { position: relative; -- GitLab