summaryrefslogtreecommitdiff
path: root/modules/simpletest/simpletest.module
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2008-10-09 15:15:55 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2008-10-09 15:15:55 +0000
commitd59ba41f65a26cdd31ae9da5b847be008cd365dd (patch)
treed430e5cfc24c758d856a44687b0676fcb084a6c6 /modules/simpletest/simpletest.module
parentc9c35d2d58e7edede8548b42481a364c86ce642d (diff)
downloadbrdo-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/simpletest/simpletest.module')
-rw-r--r--modules/simpletest/simpletest.module5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/simpletest/simpletest.module b/modules/simpletest/simpletest.module
index 8ef584ca4..1cc8e0bd9 100644
--- a/modules/simpletest/simpletest.module
+++ b/modules/simpletest/simpletest.module
@@ -35,7 +35,10 @@ function simpletest_menu() {
*/
function simpletest_perm() {
return array(
- 'administer unit tests' => t('Manage and run automated testing. %warning', array('%warning' => t('Warning: Give to trusted roles only; this permission has security implications.'))),
+ 'administer unit tests' => array(
+ 'title' => t('Administer unit tests'),
+ 'description' => t('Manage and run automated testing. %warning', array('%warning' => t('Warning: Give to trusted roles only; this permission has security implications.'))),
+ ),
);
}