summaryrefslogtreecommitdiff
path: root/modules/user
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-12-01 13:14:43 +0000
committerDries Buytaert <dries@buytaert.net>2009-12-01 13:14:43 +0000
commit29368b4664a76225b0e7d1de712131b639a12104 (patch)
tree1729e3c2a0caa4db2566cce5282de5d1a99e8fb6 /modules/user
parent23acf0ebb30c7858f0f874f1ccdc0e54e631f419 (diff)
downloadbrdo-29368b4664a76225b0e7d1de712131b639a12104.tar.gz
brdo-29368b4664a76225b0e7d1de712131b639a12104.tar.bz2
- Patch #620446 by Xano: rewrite permission titles and descriptions.
Diffstat (limited to 'modules/user')
-rw-r--r--modules/user/user.module14
1 files changed, 6 insertions, 8 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index b3bd9f860..e9fe427af 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -726,27 +726,25 @@ function user_permission() {
return array(
'administer permissions' => array(
'title' => t('Administer permissions'),
- 'description' => t('Manage the permissions assigned to user roles. %warning', array('%warning' => t('Warning: Give to trusted roles only; this permission has security implications.'))),
+ 'description' => theme('placeholder', array('text' => t('Warning: Give to trusted roles only; this permission has security implications.'))),
),
'administer users' => array(
'title' => t('Administer users'),
- 'description' => t('Manage or block users, and manage their role assignments. %warning', array('%warning' => t('Warning: Give to trusted roles only; this permission has security implications.'))),
+ 'description' => theme('placeholder', array('text' => t('Warning: Give to trusted roles only; this permission has security implications.'))),
),
'access user profiles' => array(
- 'title' => t('Access user profiles'),
- 'description' => t('View profiles of users on the site, which may contain personal information.'),
+ 'title' => t('View user profiles'),
),
'change own username' => array(
'title' => t('Change own username'),
- 'description' => t('Select a different username.'),
),
'cancel account' => array(
- 'title' => t('Cancel account'),
- 'description' => t('Remove or disable own user account and unpublish, anonymize, or remove own submissions depending on the configured <a href="@user-settings-url">user settings</a>.', array('@user-settings-url' => url('admin/config/people/accounts'))),
+ 'title' => t('Cancel own user account'),
+ 'description' => t('Note: content may be kept, unpublished, deleted or transfered to the %anonymous-name user depending on the configured <a href="@user-settings-url">user settings</a>.', array('%anonymous-name' => variable_get('anonymous', t('Anonymous')), '@user-settings-url' => url('admin/config/people/accounts'))),
),
'select account cancellation method' => array(
'title' => t('Select method for cancelling own account'),
- 'description' => t('Select the method for cancelling own user account. %warning', array('%warning' => t('Warning: Give to trusted roles only; this permission has security implications.'))),
+ 'description' => theme('placeholder', array('text' => t('Warning: Give to trusted roles only; this permission has security implications.'))),
),
);
}