diff -u b/core/modules/views_ui/src/ViewEditForm.php b/core/modules/views_ui/src/ViewEditForm.php --- b/core/modules/views_ui/src/ViewEditForm.php +++ b/core/modules/views_ui/src/ViewEditForm.php @@ -795,7 +795,7 @@ '#submit' => ['::submitDisplayAdd', '::submitDelayDestination'], '#attributes' => [ 'class' => ['add-display'], - 'data-drupal-dropdown-label' => $this->t('@display', ['@display' => $label]), + 'data-drupal-dropdown-label' => $label, ], // Allow JavaScript to remove the 'Add ' prefix from the button label when // placing the button in an "Add" dropdown menu.