diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-10-09 15:15:55 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2008-10-09 15:15:55 +0000 |
commit | d59ba41f65a26cdd31ae9da5b847be008cd365dd (patch) | |
tree | d430e5cfc24c758d856a44687b0676fcb084a6c6 /modules/path | |
parent | c9c35d2d58e7edede8548b42481a364c86ce642d (diff) | |
download | brdo-d59ba41f65a26cdd31ae9da5b847be008cd365dd.tar.gz brdo-d59ba41f65a26cdd31ae9da5b847be008cd365dd.tar.bz2 |
#313213 by maartenvg, Gábor Hojtsy: Add a 'title' attribute for permissions to allow for localization of permission names
Diffstat (limited to 'modules/path')
-rw-r--r-- | modules/path/path.module | 10 |
1 files changed, 8 insertions, 2 deletions
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.'), + ), ); } |