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/path/path.module | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'modules/path') diff --git a/modules/path/path.module b/modules/path/path.module index 78933bcb5..f4f2a006d 100644 --- a/modules/path/path.module +++ b/modules/path/path.module @@ -217,8 +217,14 @@ function path_form_alter(&$form, $form_state, $form_id) { */ function path_perm() { return array( - 'administer url aliases' => t('Manage URL aliases across the entire website.'), - 'create url aliases' => t('Manage URL aliases on content.'), + 'administer url aliases' => array( + 'title' => t('Administer URL aliases'), + 'description' => t('Manage URL aliases across the entire website.'), + ), + 'create url aliases' => array( + 'title' => t('Create URL aliases'), + 'description' => t('Manage URL aliases on content.'), + ), ); } -- cgit v1.2.3