summaryrefslogtreecommitdiff
path: root/modules/node
diff options
context:
space:
mode:
Diffstat (limited to 'modules/node')
-rw-r--r--modules/node/content_types.inc2
-rw-r--r--modules/node/node.api.php2
-rw-r--r--modules/node/node.module4
-rw-r--r--modules/node/node.pages.inc2
4 files changed, 5 insertions, 5 deletions
diff --git a/modules/node/content_types.inc b/modules/node/content_types.inc
index e7c4c9fc1..869489e5f 100644
--- a/modules/node/content_types.inc
+++ b/modules/node/content_types.inc
@@ -284,7 +284,7 @@ function node_type_form_validate($form, &$form_state) {
// 'theme' conflicts with theme_node_form().
// '0' is invalid, since elsewhere we check it using empty().
if (in_array($type->type, array('0', 'theme'))) {
- form_set_error('type', t("Invalid machine-readable name. Please enter a name other than %invalid.", array('%invalid' => $type->type)));
+ form_set_error('type', t("Invalid machine-readable name. Enter a name other than %invalid.", array('%invalid' => $type->type)));
}
}
diff --git a/modules/node/node.api.php b/modules/node/node.api.php
index 4eda704cb..4deb5c8c5 100644
--- a/modules/node/node.api.php
+++ b/modules/node/node.api.php
@@ -860,7 +860,7 @@ function hook_form($node, $form_state) {
2 => 'Option B',
3 => 'Option C',
),
- '#description' => t('Please choose an option.'),
+ '#description' => t('Choose an option.'),
);
return $form;
diff --git a/modules/node/node.module b/modules/node/node.module
index 2bfa5ed8d..c71badf7e 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -73,7 +73,7 @@ function node_help($path, $arg) {
$message = t('The content access permissions need to be rebuilt.');
}
else {
- $message = t('The content access permissions need to be rebuilt. Please visit <a href="@node_access_rebuild">this page</a>.', array('@node_access_rebuild' => url('admin/reports/status/rebuild')));
+ $message = t('The content access permissions need to be rebuilt. <a href="@node_access_rebuild">Rebuild permissions</a>.', array('@node_access_rebuild' => url('admin/reports/status/rebuild')));
}
drupal_set_message($message, 'error');
}
@@ -3155,7 +3155,7 @@ function node_assign_owner_action_form($context) {
function node_assign_owner_action_validate($form, $form_state) {
$exists = (bool) db_query_range('SELECT 1 FROM {users} WHERE name = :name', 0, 1, array(':name' => $form_state['values']['owner_name']))->fetchField();
if (!$exists) {
- form_set_error('owner_name', t('Please enter a valid username.'));
+ form_set_error('owner_name', t('Enter a valid username.'));
}
}
diff --git a/modules/node/node.pages.inc b/modules/node/node.pages.inc
index 2ae471d16..ebc40b4dc 100644
--- a/modules/node/node.pages.inc
+++ b/modules/node/node.pages.inc
@@ -45,7 +45,7 @@ function theme_node_add_list($variables) {
$output .= '</dl>';
}
else {
- $output = '<p>' . t('You have not created any content types yet. Please go to the <a href="@create-content">content type creation page</a> to add a new content type.', array('@create-content' => url('admin/structure/types/add'))) . '</p>';
+ $output = '<p>' . t('You have not created any content types yet. Go to the <a href="@create-content">content type creation page</a> to add a new content type.', array('@create-content' => url('admin/structure/types/add'))) . '</p>';
}
return $output;
}