Commit 74919409 authored by Dries's avatar Dries

Issue #1784738 by beltofte: Standardize capitalization on actions, in...

Issue #1784738 by beltofte: Standardize capitalization on actions, in content_types(): 'manage fields', 'manage display', 'edit', 'delete'.
parent f6b4d4a2
......@@ -145,12 +145,12 @@ public function build(array $form, array &$form_state) {
$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.')),
);
......
......@@ -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,
);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment