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/locale/locale.module | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'modules/locale') diff --git a/modules/locale/locale.module b/modules/locale/locale.module index b48bb239f..128197247 100644 --- a/modules/locale/locale.module +++ b/modules/locale/locale.module @@ -190,8 +190,14 @@ function locale_inc_callback() { */ function locale_perm() { return array( - 'administer languages' => t('Manage the languages in which the website content and interface text may be displayed.'), - 'translate interface' => t('Translate the text of the website interface.'), + 'administer languages' => array( + 'title' => t('Administer languages'), + 'description' => t('Manage the languages in which the website content and interface text may be displayed.'), + ), + 'translate interface' => array( + 'title' => t('Translate the interface'), + 'description' => t('Translate the text of the website interface.'), + ), ); } -- cgit v1.2.3