summaryrefslogtreecommitdiff
path: root/modules/statistics/statistics.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/statistics/statistics.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/statistics/statistics.module')
-rw-r--r--modules/statistics/statistics.module10
1 files changed, 8 insertions, 2 deletions
diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module
index b830b20fd..2bafc54bf 100644
--- a/modules/statistics/statistics.module
+++ b/modules/statistics/statistics.module
@@ -84,8 +84,14 @@ function statistics_exit() {
*/
function statistics_perm() {
return array(
- 'access statistics' => t('View content access statistics.'),
- 'view post access counter' => t('View the total number of times a piece of content has been accessed.'),
+ 'access statistics' => array(
+ 'title' => t('Access statistics'),
+ 'description' => t('View content access statistics.'),
+ ),
+ 'view post access counter' => array(
+ 'title' => t('View post access counter'),
+ 'description' => t('View the total number of times a piece of content has been accessed.'),
+ ),
);
}