From 74919409bd3d125c8a6d113a2e89dc85ffeace7f Mon Sep 17 00:00:00 2001 From: Dries Date: Sat, 16 Feb 2013 18:44:54 -0500 Subject: [PATCH] Issue #1784738 by beltofte: Standardize capitalization on actions, in content_types(): 'manage fields', 'manage display', 'edit', 'delete'. --- .../field_ui/lib/Drupal/field_ui/FieldOverview.php | 4 ++-- core/modules/node/content_types.inc | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/core/modules/field_ui/lib/Drupal/field_ui/FieldOverview.php b/core/modules/field_ui/lib/Drupal/field_ui/FieldOverview.php index d6a004613b8..136a95197a7 100644 --- a/core/modules/field_ui/lib/Drupal/field_ui/FieldOverview.php +++ b/core/modules/field_ui/lib/Drupal/field_ui/FieldOverview.php @@ -145,12 +145,12 @@ class FieldOverview extends OverviewBase { $links = array(); $links['edit'] = array( - 'title' => t('edit'), + 'title' => t('Edit'), 'href' => $admin_field_path, 'attributes' => array('title' => t('Edit instance settings.')), ); $links['delete'] = array( - 'title' => t('delete'), + 'title' => t('Delete'), 'href' => "$admin_field_path/delete", 'attributes' => array('title' => t('Delete instance.')), ); diff --git a/core/modules/node/content_types.inc b/core/modules/node/content_types.inc index f5dcab94550..e83846077af 100644 --- a/core/modules/node/content_types.inc +++ b/core/modules/node/content_types.inc @@ -25,21 +25,21 @@ function node_overview_types() { if (node_hook($type->type, 'form')) { $row = array(theme('node_admin_overview', array('name' => $name, 'type' => $type))); $links['edit'] = array( - 'title' => t('edit'), + 'title' => t('Edit'), 'href' => 'admin/structure/types/manage/' . $type->type, 'weight' => 0, ); if ($field_ui && user_access('administer node fields')) { $links['fields'] = array( - 'title' => t('manage fields'), + 'title' => t('Manage fields'), 'href' => 'admin/structure/types/manage/' . $type->type . '/fields', 'weight' => 5, ); } if ($field_ui && user_access('administer node display')) { $links['display'] = array( - 'title' => t('manage display'), + 'title' => t('Manage display'), 'href' => 'admin/structure/types/manage/' . $type->type . '/display', 'weight' => 10, ); @@ -47,7 +47,7 @@ function node_overview_types() { if ($type->custom) { $links['delete'] = array( - 'title' => t('delete'), + 'title' => t('Delete'), 'href' => 'admin/structure/types/manage/' . $type->type . '/delete', 'weight' => 15, );