#853954 by Gábor Hojtsy, joachim: Fix misleading 'all content' on user cancellation operations.
parent
b44b2c6a97
commit
bb9e871f7c
|
@ -466,19 +466,19 @@ function user_cancel_confirm_form_submit($form, &$form_state) {
|
||||||
function user_cancel_methods() {
|
function user_cancel_methods() {
|
||||||
$methods = array(
|
$methods = array(
|
||||||
'user_cancel_block' => array(
|
'user_cancel_block' => array(
|
||||||
'title' => t('Disable the account and keep all content.'),
|
'title' => t('Disable the account and keep its content.'),
|
||||||
'description' => t('Your account will be blocked and you will no longer be able to log in. All of your content will remain attributed to your user name.'),
|
'description' => t('Your account will be blocked and you will no longer be able to log in. All of your content will remain attributed to your user name.'),
|
||||||
),
|
),
|
||||||
'user_cancel_block_unpublish' => array(
|
'user_cancel_block_unpublish' => array(
|
||||||
'title' => t('Disable the account and unpublish all content.'),
|
'title' => t('Disable the account and unpublish its content.'),
|
||||||
'description' => t('Your account will be blocked and you will no longer be able to log in. All of your content will be hidden from everyone but administrators.'),
|
'description' => t('Your account will be blocked and you will no longer be able to log in. All of your content will be hidden from everyone but administrators.'),
|
||||||
),
|
),
|
||||||
'user_cancel_reassign' => array(
|
'user_cancel_reassign' => array(
|
||||||
'title' => t('Delete the account and make all content belong to the %anonymous-name user.', array('%anonymous-name' => variable_get('anonymous', t('Anonymous')))),
|
'title' => t('Delete the account and make its content belong to the %anonymous-name user.', array('%anonymous-name' => variable_get('anonymous', t('Anonymous')))),
|
||||||
'description' => t('Your account will be removed and all account information deleted. All of your content will be assigned to the %anonymous-name user.', array('%anonymous-name' => variable_get('anonymous', t('Anonymous')))),
|
'description' => t('Your account will be removed and all account information deleted. All of your content will be assigned to the %anonymous-name user.', array('%anonymous-name' => variable_get('anonymous', t('Anonymous')))),
|
||||||
),
|
),
|
||||||
'user_cancel_delete' => array(
|
'user_cancel_delete' => array(
|
||||||
'title' => t('Delete the account and all content.'),
|
'title' => t('Delete the account and its content.'),
|
||||||
'description' => t('Your account will be removed and all account information deleted. All of your content will also be deleted.'),
|
'description' => t('Your account will be removed and all account information deleted. All of your content will also be deleted.'),
|
||||||
'access' => user_access('administer users'),
|
'access' => user_access('administer users'),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue