diff --git a/core/modules/system/lib/Drupal/system/Tests/Menu/BreadcrumbTest.php b/core/modules/system/lib/Drupal/system/Tests/Menu/BreadcrumbTest.php index 92654e8..5c0ab5f 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Menu/BreadcrumbTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Menu/BreadcrumbTest.php @@ -379,7 +379,7 @@ class BreadcrumbTest extends MenuTestBase { // Verify breadcrumb on user pages (without menu link) for anonymous user. $trail = $home; - $this->assertBreadcrumb('user', $trail, t('Login')); + $this->assertBreadcrumb('user', $trail, t('Log in')); $this->assertBreadcrumb('user/' . $this->admin_user->uid, $trail, $this->admin_user->name); // Verify breadcrumb on user pages (without menu link) for registered users. diff --git a/core/modules/user/lib/Drupal/user/Tests/UserAccountLinksTests.php b/core/modules/user/lib/Drupal/user/Tests/UserAccountLinksTests.php index 2727db6..f6e0b18 100644 --- a/core/modules/user/lib/Drupal/user/Tests/UserAccountLinksTests.php +++ b/core/modules/user/lib/Drupal/user/Tests/UserAccountLinksTests.php @@ -102,10 +102,10 @@ class UserAccountLinksTests extends WebTestBase { $title_suffix = ' | Drupal'; $this->drupalGet('user'); - $this->assertTitle('Login' . $title_suffix, "Page title of /user is 'Login'"); + $this->assertTitle('Log in' . $title_suffix, "Page title of /user is 'Log in'"); $this->drupalGet('user/login'); - $this->assertTitle('Login' . $title_suffix, "Page title of /user/login is 'Login'"); + $this->assertTitle('Log in' . $title_suffix, "Page title of /user/login is 'Log in'"); $this->drupalGet('user/register'); $this->assertTitle('Create new account' . $title_suffix, "Page title of /user/register is 'Create new account' for anonymous users."); diff --git a/core/modules/user/user.module b/core/modules/user/user.module index 3d4c51c..7fb6a37 100644 --- a/core/modules/user/user.module +++ b/core/modules/user/user.module @@ -1493,7 +1493,7 @@ function user_menu_title() { switch (current_path()) { case 'user' : case 'user/login' : - return t('Login'); + return t('Log in'); case 'user/register' : return t('Create new account'); case 'user/password' :