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/system/system.module | |
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/system/system.module')
-rw-r--r-- | modules/system/system.module | 35 |
1 files changed, 28 insertions, 7 deletions
diff --git a/modules/system/system.module b/modules/system/system.module index 8f533b20f..2ccdbc01a 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -165,13 +165,34 @@ function system_theme() { */ function system_perm() { return array( - 'administer site configuration' => t('Configure site-wide settings such as module or theme administration settings.'), - 'administer actions' => t('Manage the actions defined for your site.'), - 'administer files' => t('Manage user-uploaded files.'), - 'access administration pages' => t('View the administration panel and browse the help system.'), - 'access site reports' => t('View reports from system logs and other status information.'), - 'select different theme' => t('Select a theme other than the default theme set by the site administrator.'), - 'block IP addresses' => t('Block IP addresses from accessing your site.'), + 'administer site configuration' => array( + 'title' => t('Administer site configuration'), + 'description' => t('Configure site-wide settings such as module or theme administration settings.'), + ), + 'administer actions' => array( + 'title' => t('Administer actions'), + 'description' => t('Manage the actions defined for your site.'), + ), + 'administer files' => array( + 'title' => t('Administer files'), + 'description' => t('Manage user-uploaded files.'), + ), + 'access administration pages' => array( + 'title' => t('Access administration pages'), + 'description' => t('View the administration panel and browse the help system.'), + ), + 'access site reports' => array( + 'title' => t('Access site reports'), + 'description' => t('View reports from system logs and other status information.'), + ), + 'select different theme' => array( + 'title' => t('Select different theme'), + 'description' => t('Select a theme other than the default theme set by the site administrator.'), + ), + 'block IP addresses' => array( + 'title' => t('Block IP addresses'), + 'description' => t('Block IP addresses from accessing your site.'), + ), ); } |