From d59ba41f65a26cdd31ae9da5b847be008cd365dd Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Thu, 9 Oct 2008 15:15:55 +0000 Subject: =?UTF-8?q?#313213=20by=20maartenvg,=20G=C3=A1bor=20Hojtsy:=20Add?= =?UTF-8?q?=20a=20'title'=20attribute=20for=20permissions=20to=20allow=20f?= =?UTF-8?q?or=20localization=20of=20permission=20names?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/book/book.module | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'modules/book') diff --git a/modules/book/book.module b/modules/book/book.module index e739df143..d5a2e4468 100644 --- a/modules/book/book.module +++ b/modules/book/book.module @@ -41,10 +41,22 @@ function book_theme() { */ function book_perm() { return array( - 'administer book outlines' => t('Manage books through the administration panel.'), - 'create new books' => t('Add new top-level books.'), - 'add content to books' => t('Add new content and child pages to books.'), - 'access printer-friendly version' => t('View a book page and all of its sub-pages as a single document for ease of printing. Can be performance heavy.'), + 'administer book outlines' => array( + 'title' => t('Administer book outlines'), + 'description' => t('Manage books through the administration panel.'), + ), + 'create new books' => array( + 'title' => t('Create new books'), + 'description' => t('Add new top-level books.'), + ), + 'add content to books' => array( + 'title' => t('Add content to books'), + 'description' => t('Add new content and child pages to books.'), + ), + 'access printer-friendly version' => array( + 'title' => t('Access printer-friendly version'), + 'description' => t('View a book page and all of its sub-pages as a single document for ease of printing. Can be performance heavy.'), + ), ); } -- cgit v1.2.3