From 29368b4664a76225b0e7d1de712131b639a12104 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 1 Dec 2009 13:14:43 +0000 Subject: - Patch #620446 by Xano: rewrite permission titles and descriptions. --- modules/user/user.module | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'modules/user') 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 user settings.', 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 user settings.', 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.'))), ), ); } -- cgit v1.2.3