diff --git a/core/modules/config_translation/src/Tests/ConfigTranslationUiTest.php b/core/modules/config_translation/src/Tests/ConfigTranslationUiTest.php index a2d1ebc..0fde6bc 100644 --- a/core/modules/config_translation/src/Tests/ConfigTranslationUiTest.php +++ b/core/modules/config_translation/src/Tests/ConfigTranslationUiTest.php @@ -254,7 +254,7 @@ public function testContactConfigEntityTranslation() { // Make sure translate tab is present. $this->drupalGet('admin/structure/contact/manage/feedback'); - $this->assertLink(t('Translate @type', array('@type' => 'contact category'))); + $this->assertLink(t('Translate @type', array('@type' => 'contact form'))); // Visit the form to confirm the changes. $this->drupalGet('contact/feedback'); @@ -262,7 +262,7 @@ public function testContactConfigEntityTranslation() { foreach ($this->langcodes as $langcode) { $this->drupalGet($translation_base_url); - $this->assertLink(t('Translate @type', array('@type' => 'contact category'))); + $this->assertLink(t('Translate @type', array('@type' => 'contact form'))); // 'Add' link should be present for $langcode translation. $translation_page_url = "$translation_base_url/$langcode/add"; @@ -436,10 +436,10 @@ public function testAccountSettingsConfigurationTranslation() { $this->drupalLogin($this->admin_user); $this->drupalGet('admin/config/people/accounts'); - $this->assertLink(t('Translate @type', array('@type' => 'settings'))); + $this->assertLink(t('Translate @type', array('@type' => 'account settings'))); $this->drupalGet('admin/config/people/accounts/translate'); - $this->assertLink(t('Translate @type', array('@type' => 'settings'))); + $this->assertLink(t('Translate @type', array('@type' => 'account settings'))); $this->assertLinkByHref('admin/config/people/accounts/translate/fr/add'); // Update account settings fields for French.