Commit 494ba2f4 authored by Dries's avatar Dries

- Patch #677548 by jhodgdon: fixed content type edit page needs some UI text updates.

parent 5302d50c
......@@ -80,7 +80,7 @@ function node_type_form($form, &$form_state, $type = NULL) {
'#title' => t('Name'),
'#type' => 'textfield',
'#default_value' => $type->name,
'#description' => t('The human-readable name of this content type. This text will be displayed as part of the list on the <em>add new content</em> page. It is recommended that this name begin with a capital letter and contain only letters, numbers, and <strong>spaces</strong>. This name must be unique.'),
'#description' => t('The human-readable name of this content type. This text will be displayed as part of the list on the <em>Add new content</em> page. It is recommended that this name begin with a capital letter and contain only letters, numbers, and spaces. This name must be unique.'),
'#required' => TRUE,
'#size' => 30,
'#field_suffix' => ' <small id="edit-name-suffix">' . ($type->locked ? t('Machine name: @name', array('@name' => $type->type)) : '&nbsp') . '</small>',
......@@ -123,7 +123,7 @@ function node_type_form($form, &$form_state, $type = NULL) {
'#title' => t('Description'),
'#type' => 'textarea',
'#default_value' => $type->description,
'#description' => t('Describe this content type. It will be displayed on the <em>Add new content</em> page.'),
'#description' => t('Describe this content type. The text will be displayed on the <em>Add new content</em> page.'),
);
$form['additional_settings'] = array(
......@@ -169,7 +169,7 @@ function node_type_form($form, &$form_state, $type = NULL) {
'#type' => 'textarea',
'#title' => t('Explanation or submission guidelines'),
'#default_value' => $type->help,
'#description' => t('This text will be displayed at the top of the page when creating new content of this type.'),
'#description' => t('This text will be displayed at the top of the page when creating or editing content of this type.'),
);
$form['workflow'] = array(
'#type' => 'fieldset',
......@@ -187,7 +187,7 @@ function node_type_form($form, &$form_state, $type = NULL) {
'sticky' => t('Sticky at top of lists'),
'revision' => t('Create new revision'),
),
'#description' => t('Users with the <em>administer nodes</em> permission will be able to override these options.'),
'#description' => t('Users with the <em>Administer content</em> permission will be able to override these options.'),
);
$form['display'] = array(
'#type' => 'fieldset',
......@@ -204,7 +204,7 @@ function node_type_form($form, &$form_state, $type = NULL) {
);
$form['display']['teaser_length'] = array(
'#type' => 'select',
'#title' => t('Length of trimmed posts'),
'#title' => t('Length of trimmed content'),
'#default_value' => variable_get('teaser_length_' . $type->type, 600),
'#options' => drupal_map_assoc(array(0, 200, 400, 600, 800, 1000, 1200, 1400, 1600, 1800, 2000), '_node_characters'),
'#description' => t("The maximum number of characters used in the trimmed version of content.")
......
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