diff --git a/core/modules/comment/comment.admin.inc b/core/modules/comment/comment.admin.inc index 2a5bc06..94b62bf 100644 --- a/core/modules/comment/comment.admin.inc +++ b/core/modules/comment/comment.admin.inc @@ -163,7 +163,7 @@ function comment_admin_overview_submit($form, &$form_state) { if ($operation == 'delete') { $deleted = comment_delete_multiple($cids); if ($deleted != count($cids)) { - drupal_set_message(format_plural(count($cids) - $deleted, '1 comment has been scheduled for deletion on the next cron run. Run cron now to finish deleting this comment immediately.', '@count comments have been scheduled for deletion on the next cron run. Run cron now to finish deleting these comments immediately.')); + drupal_set_message(format_plural(count($cids) - $deleted, '1 comment has been scheduled for deletion on the next cron run. Run cron now to finish deleting this comment immediately.', '@count comments have been scheduled for deletion on the next cron run. Run cron now to finish deleting these comments immediately.', array('@cron' => 'admin/logs/status/run-cron'))); } } else { @@ -239,7 +239,7 @@ function comment_multiple_delete_confirm_submit($form, &$form_state) { // In case the jobs get enqueued, we warn user. if ($count != $deleted) { - drupal_set_message(format_plural($count - $deleted, '1 comment has been scheduled for deletion on the next cron run. Run cron now to finish deleting this comment immediately.', '@count comments have been scheduled for deletion on the next cron run. Run cron now to finish deleting these comments immediately.')); + drupal_set_message(format_plural($count - $deleted, '1 comment has been scheduled for deletion on the next cron run. Run cron now to finish deleting this comment immediately.', '@count comments have been scheduled for deletion on the next cron run. Run cron now to finish deleting these comments immediately.', array('@cron' => 'admin/logs/status/run-cron'))); } } $form_state['redirect'] = 'admin/content/comment'; diff --git a/core/modules/node/node.admin.inc b/core/modules/node/node.admin.inc index 2f8faf2..fd19e8a 100644 --- a/core/modules/node/node.admin.inc +++ b/core/modules/node/node.admin.inc @@ -594,7 +594,7 @@ function node_multiple_delete_confirm_submit($form, &$form_state) { // In case the jobs get enqueued, we warn user. if ($count != $deleted) { - drupal_set_message(format_plural($count - $deleted, '1 node has been scheduled for deletion on the next cron run. Run cron now to finish deleting this comment immediately.', '@count nodes have been scheduled for deletion on the next cron run. Run cron now to finish deleting these nodes immediately.')); + drupal_set_message(format_plural($count - $deleted, '1 node has been scheduled for deletion on the next cron run. Run cron now to finish deleting this comment immediately.', '@count nodes have been scheduled for deletion on the next cron run. Run cron now to finish deleting these nodes immediately.', array('@cron' => 'admin/logs/status/run-cron'))); } } $form_state['redirect'] = 'admin/content';