diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-12-09 02:16:21 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-12-09 02:16:21 +0000 |
commit | e2153365cf0a8cfa8aed4424d5b42875a3c575ce (patch) | |
tree | 641c47e68c4ea05a526433c2d1547466887c6d10 /modules/comment/comment.admin.inc | |
parent | 7361b458f1ede23407435fbb58bfd40389c5c70b (diff) | |
download | brdo-e2153365cf0a8cfa8aed4424d5b42875a3c575ce.tar.gz brdo-e2153365cf0a8cfa8aed4424d5b42875a3c575ce.tar.bz2 |
- Patch #991726 by wojtha, meba: missing format_plural() in comments and node module.
Diffstat (limited to 'modules/comment/comment.admin.inc')
-rw-r--r-- | modules/comment/comment.admin.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.admin.inc b/modules/comment/comment.admin.inc index 1d868b9f0..1f0a51664 100644 --- a/modules/comment/comment.admin.inc +++ b/modules/comment/comment.admin.inc @@ -232,7 +232,7 @@ function comment_multiple_delete_confirm_submit($form, &$form_state) { cache_clear_all(); $count = count($form_state['values']['comments']); watchdog('content', 'Deleted @count comments.', array('@count' => $count)); - drupal_set_message(t('Deleted @count comments.', array('@count' => $count))); + drupal_set_message(format_plural($count, 'Deleted 1 comment.', 'Deleted @count comments.')); } $form_state['redirect'] = 'admin/content/comment'; } |