summaryrefslogtreecommitdiff
path: root/modules/book/book.module
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2006-10-22 08:28:47 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2006-10-22 08:28:47 +0000
commit36d44fbfb07e4682f219368e1424c58fc61315a1 (patch)
treed6a5363c6ec34a5b81aac6fee283ee7479d45ea4 /modules/book/book.module
parentc93c0fc7000f5cbb78ac2715ace58c28b789dc81 (diff)
downloadbrdo-36d44fbfb07e4682f219368e1424c58fc61315a1.tar.gz
brdo-36d44fbfb07e4682f219368e1424c58fc61315a1.tar.bz2
#84146: Use 'Sentence capitalization' for menu items, page titles, form items, etc
Diffstat (limited to 'modules/book/book.module')
-rw-r--r--modules/book/book.module16
1 files changed, 8 insertions, 8 deletions
diff --git a/modules/book/book.module b/modules/book/book.module
index 2bded276f..9f633d907 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -12,7 +12,7 @@
function book_node_info() {
return array(
'book' => array(
- 'name' => t('book page'),
+ 'name' => t('Book page'),
'module' => 'book',
'description' => t("A book is a collaborative writing effort: users can collaborate writing the pages of the book, positioning the pages in the right order, and reviewing or modifying pages previously written. So when you have some information to share or when you read a page of the book and you didn't like it, or if you think a certain page could have been written better, you can do something about it."),
)
@@ -65,13 +65,13 @@ function book_link($type, $node = NULL, $teaser = FALSE) {
if (!$teaser) {
if (book_access('create', $node)) {
$links['book_add_child'] = array(
- 'title' => t('add child page'),
+ 'title' => t('Add child page'),
'href' => "node/add/book/parent/$node->nid"
);
}
if (user_access('see printer-friendly version')) {
$links['book_printer'] = array(
- 'title' => t('printer-friendly version'),
+ 'title' => t('Printer-friendly version'),
'href' => 'book/export/html/'. $node->nid,
'attributes' => array('title' => t('Show a printer-friendly version of this book page and its sub-pages.'))
);
@@ -91,24 +91,24 @@ function book_menu($may_cache) {
if ($may_cache) {
$items[] = array(
'path' => 'admin/content/book',
- 'title' => t('books'),
+ 'title' => t('Books'),
'description' => t('Manage site\'s books and orphaned book pages.'),
'callback' => 'book_admin',
'access' => user_access('administer nodes'));
$items[] = array(
'path' => 'admin/content/book/list',
- 'title' => t('list'),
+ 'title' => t('List'),
'type' => MENU_DEFAULT_LOCAL_TASK);
$items[] = array(
'path' => 'admin/content/book/orphan',
- 'title' => t('orphan pages'),
+ 'title' => t('Orphan pages'),
'callback' => 'drupal_get_form',
'callback arguments' => array('book_admin_orphan'),
'type' => MENU_LOCAL_TASK,
'weight' => 8);
$items[] = array(
'path' => 'book',
- 'title' => t('books'),
+ 'title' => t('Books'),
'callback' => 'book_render',
'access' => user_access('access content'),
'type' => MENU_SUGGESTED_ITEM);
@@ -131,7 +131,7 @@ function book_menu($may_cache) {
if (db_num_rows($result) > 0) {
$items[] = array(
'path' => 'node/'. arg(1) .'/outline',
- 'title' => t('outline'),
+ 'title' => t('Outline'),
'callback' => 'drupal_get_form',
'callback arguments' => array('book_outline', arg(1)),
'access' => user_access('outline posts in books'),