summaryrefslogtreecommitdiff
path: root/modules/book.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-08-16 18:02:48 +0000
committerDries Buytaert <dries@buytaert.net>2004-08-16 18:02:48 +0000
commit2f33b939c5dc73364a0e2073ea9410516d66242f (patch)
tree665361c02a1d68d05b55755a00da368417a0dc99 /modules/book.module
parent4545f798a9876716fb9ef56190d879bf62c49fdf (diff)
downloadbrdo-2f33b939c5dc73364a0e2073ea9410516d66242f.tar.gz
brdo-2f33b939c5dc73364a0e2073ea9410516d66242f.tar.bz2
- Patch #9983 by Stefan: usability improvement: made sure all status messages start with a capital letter.
Diffstat (limited to 'modules/book.module')
-rw-r--r--modules/book.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/book.module b/modules/book.module
index 03b21edb5..a2ce00b51 100644
--- a/modules/book.module
+++ b/modules/book.module
@@ -240,17 +240,17 @@ function book_node_link($node = 0) {
if ($op == t('Add to book outline')) {
db_query('INSERT INTO {book} (nid, parent, weight) VALUES (%d, %d, %d)', $node->nid, $edit['parent'], $edit['weight']);
- drupal_set_message(t('added the node to the book.'));
+ drupal_set_message(t('Added the node to the book.'));
}
if ($op == t('Update book outline')) {
db_query('UPDATE {book} SET parent = %d, weight = %d WHERE nid = %d', $edit['parent'], $edit['weight'], $node->nid);
- drupal_set_message(t('updated the book outline.'));
+ drupal_set_message(t('Updated the book outline.'));
}
if ($op == t('Remove from book outline')) {
db_query('DELETE FROM {book} WHERE nid = %d', $node->nid);
- drupal_set_message(t('removed the node form the book.'));
+ drupal_set_message(t('Removed the node form the book.'));
}
$output .= '<h3>'. t('Edit book outline for node "%booktitle"', array('%booktitle' => '<em>'. $node->title .'</em>')) .'</h3>';