diff --git a/core/modules/comment/config/install/views.view.comment.yml b/core/modules/comment/config/install/views.view.comment.yml index 311bde4..b8965ce 100644 --- a/core/modules/comment/config/install/views.view.comment.yml +++ b/core/modules/comment/config/install/views.view.comment.yml @@ -1218,7 +1218,6 @@ label: Comment module: views id: comment tag: '' -uuid: bf27f07e-b3e2-4460-b406-6e3610bada12 langcode: en dependencies: module: diff --git a/core/modules/comment/lib/Drupal/comment/Form/ConfirmDeleteMultiple.php b/core/modules/comment/lib/Drupal/comment/Form/ConfirmDeleteMultiple.php index 5c6afdd..4a329d0 100644 --- a/core/modules/comment/lib/Drupal/comment/Form/ConfirmDeleteMultiple.php +++ b/core/modules/comment/lib/Drupal/comment/Form/ConfirmDeleteMultiple.php @@ -75,7 +75,7 @@ public function getFormId() { * {@inheritdoc} */ public function getQuestion() { - return $this->translationManager()->formatPlural(count($this->comments), 'Are you sure you want to delete this comment and all its children?', 'Are you sure you want to delete these comments and all their children?'); + return $this->formatPlural(count($this->comments), 'Are you sure you want to delete this comment and all its children?', 'Are you sure you want to delete these comments and all their children?'); } /** @@ -132,7 +132,7 @@ public function submitForm(array &$form, array &$form_state) { $this->tempStoreFactory->get('comment_multiple_delete_confirm')->delete(\Drupal::currentUser()->id()); $count = count($this->comments); watchdog('content', 'Deleted @count comments.', array('@count' => $count)); - drupal_set_message($this->translationManager()->formatPlural($count, 'Deleted 1 comment.', 'Deleted @count comments.')); + drupal_set_message($this->formatPlural($count, 'Deleted 1 comment.', 'Deleted @count comments.')); Cache::invalidateTags(array('content' => TRUE)); } $form_state['redirect_route']['route_name'] = 'comment.admin';