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/contact/contact.module | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'modules/contact') diff --git a/modules/contact/contact.module b/modules/contact/contact.module index 4eb82043f..9eee7558a 100644 --- a/modules/contact/contact.module +++ b/modules/contact/contact.module @@ -37,8 +37,14 @@ function contact_help($path, $arg) { */ function contact_perm() { return array( - 'administer site-wide contact form' => t('Configure site-wide contact form administration settings.'), - 'access site-wide contact form' => t('Send feedback to administrators via e-mail using the site-wide contact form.'), + 'administer site-wide contact form' => array( + 'title' => t('Administer site-wide contact form'), + 'description' => t('Configure site-wide contact form administration settings.'), + ), + 'access site-wide contact form' => array( + 'title' => t('Access site-wide contact form'), + 'description' => t('Send feedback to administrators via e-mail using the site-wide contact form.'), + ), ); } -- cgit v1.2.3