diff --git a/core/modules/user/lib/Drupal/user/Plugin/views/field/Link.php b/core/modules/user/lib/Drupal/user/Plugin/views/field/Link.php index 8d354c2dc55939e5b42f5eb1a2b26d903e822b05..6e995b3af0bd3e6be845835c6e6262ad657db0c6 100644 --- a/core/modules/user/lib/Drupal/user/Plugin/views/field/Link.php +++ b/core/modules/user/lib/Drupal/user/Plugin/views/field/Link.php @@ -77,7 +77,7 @@ function render($values) { * The acutal rendered text (without the link) of this field. */ public function render_link(EntityInterface $entity, \stdClass $values) { - $text = !empty($this->options['text']) ? $this->options['text'] : t('view'); + $text = !empty($this->options['text']) ? $this->options['text'] : t('View'); $this->options['alter']['make_link'] = TRUE; $uri = $entity->uri(); diff --git a/core/modules/user/lib/Drupal/user/Plugin/views/field/LinkCancel.php b/core/modules/user/lib/Drupal/user/Plugin/views/field/LinkCancel.php index 4d6cd274e3a7a893b7b642cd9e8eaa81d0cabff9..4e8d96eba11da709be5f1b73143e319eeb445f9f 100644 --- a/core/modules/user/lib/Drupal/user/Plugin/views/field/LinkCancel.php +++ b/core/modules/user/lib/Drupal/user/Plugin/views/field/LinkCancel.php @@ -29,7 +29,7 @@ public function render_link(EntityInterface $entity, \stdClass $values) { if ($entity && $entity->access('delete')) { $this->options['alter']['make_link'] = TRUE; - $text = !empty($this->options['text']) ? $this->options['text'] : t('cancel'); + $text = !empty($this->options['text']) ? $this->options['text'] : t('Cancel'); $uri = $entity->uri(); $this->options['alter']['path'] = $uri['path'] . '/cancel'; diff --git a/core/modules/user/lib/Drupal/user/Plugin/views/field/LinkEdit.php b/core/modules/user/lib/Drupal/user/Plugin/views/field/LinkEdit.php index 82931c9ec27e98e5cb8fd553cefa038c8caf84f8..a95767818b37112b89c1ac641d20673a7cb8502d 100644 --- a/core/modules/user/lib/Drupal/user/Plugin/views/field/LinkEdit.php +++ b/core/modules/user/lib/Drupal/user/Plugin/views/field/LinkEdit.php @@ -29,7 +29,7 @@ public function render_link(EntityInterface $entity, \stdClass $values) { if ($entity && $entity->access('edit')) { $this->options['alter']['make_link'] = TRUE; - $text = !empty($this->options['text']) ? $this->options['text'] : t('edit'); + $text = !empty($this->options['text']) ? $this->options['text'] : t('Edit'); $uri = $entity->uri(); $this->options['alter']['path'] = $uri['path'] . '/edit'; diff --git a/core/modules/user/lib/Drupal/user/Tests/UserAdminTest.php b/core/modules/user/lib/Drupal/user/Tests/UserAdminTest.php index ef3a1d57529bfb9adecf9ae213faf8454aeeeb6c..fa6586038e0f4d6709ae2478d63279111866dc4e 100644 --- a/core/modules/user/lib/Drupal/user/Tests/UserAdminTest.php +++ b/core/modules/user/lib/Drupal/user/Tests/UserAdminTest.php @@ -45,7 +45,7 @@ function testUserAdmin() { $this->assertText($admin_user->name, 'Found Admin user on admin users page'); // Test for existence of edit link in table. - $link = l(t('edit'), "user/$user_a->uid/edit", array('query' => array('destination' => 'admin/people'))); + $link = l(t('Edit'), "user/$user_a->uid/edit", array('query' => array('destination' => 'admin/people'))); $this->assertRaw($link, 'Found user A edit link on admin users page'); // Filter the users by permission 'administer taxonomy'. diff --git a/core/modules/user/user.admin.inc b/core/modules/user/user.admin.inc index b8f6d421f16c249a339bc5b8640a02b80a8dc79c..b14118554c0eab1b3f7fbb573bd0cf990a94241e 100644 --- a/core/modules/user/user.admin.inc +++ b/core/modules/user/user.admin.inc @@ -228,13 +228,13 @@ function user_admin_account() { ); $links = array(); $links['edit'] = array( - 'title' => t('edit'), + 'title' => t('Edit'), 'href' => 'user/' . $account->uid . '/edit', 'query' => $destination, ); if (module_invoke('translation_entity', 'translate_access', $account)) { $links['translate'] = array( - 'title' => t('translate'), + 'title' => t('Translate'), 'href' => 'user/' . $account->uid . '/translations', 'query' => $destination, ); @@ -865,12 +865,12 @@ function user_admin_roles($form, $form_state) { '#attributes' => array('class' => array('role-weight')), ); $links['edit'] = array( - 'title' => t('edit role'), + 'title' => t('Edit role'), 'href' => 'admin/people/roles/edit/' . $rid, 'weight' => 0, ); $links['permissions'] = array( - 'title' => t('edit permissions'), + 'title' => t('Edit permissions'), 'href' => 'admin/people/permissions/' . $rid, 'weight' => 5, );