Simplify and include count in CSV export question

This commit is contained in:
Paul Weidner 2024-02-01 13:48:50 -08:00 committed by Michael Stenta
parent 4d05465f7c
commit 0bb5facc66
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ class EntityCsvActionForm extends ConfirmFormBase {
* {@inheritdoc}
*/
public function getQuestion() {
return $this->formatPlural(count($this->entities), 'Are you sure you want to export a CSV of this @item?', 'Are you sure you want to export a CSV of these @items?', [
return $this->formatPlural(count($this->entities), 'Export a CSV of @count @item?', 'Export a CSV of @count @items?', [
'@item' => $this->entityType->getSingularLabel(),
'@items' => $this->entityType->getPluralLabel(),
]);