- Patch #88180 by toddy: small grammar fixes.
parent
0c0d947a22
commit
416199b281
|
@ -2129,7 +2129,7 @@ function node_form_submit($form_id, $form_values) {
|
|||
if (node_access('update', $node)) {
|
||||
node_save($node);
|
||||
watchdog('content', t('@type: updated %title.', array('@type' => t($node->type), '%title' => $node->title)), WATCHDOG_NOTICE, l(t('view'), 'node/'. $node->nid));
|
||||
drupal_set_message(t('The %post was updated.', array ('%post' => node_get_types('name', $node))));
|
||||
drupal_set_message(t('The %post has been updated.', array ('%post' => node_get_types('name', $node))));
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
@ -2138,7 +2138,7 @@ function node_form_submit($form_id, $form_values) {
|
|||
if (node_access('create', $node)) {
|
||||
node_save($node);
|
||||
watchdog('content', t('@type: added %title.', array('@type' => t($node->type), '%title' => $node->title)), WATCHDOG_NOTICE, l(t('view'), "node/$node->nid"));
|
||||
drupal_set_message(t('Your %post was created.', array ('%post' => node_get_types('name', $node))));
|
||||
drupal_set_message(t('Your %post has been created.', array ('%post' => node_get_types('name', $node))));
|
||||
}
|
||||
}
|
||||
if ($node->nid) {
|
||||
|
|
Loading…
Reference in New Issue