diff --git a/core/modules/views/views_ui/lib/Drupal/views_ui/ViewEditFormController.php b/core/modules/views/views_ui/lib/Drupal/views_ui/ViewEditFormController.php index bc700b2..95d64a9 100644 --- a/core/modules/views/views_ui/lib/Drupal/views_ui/ViewEditFormController.php +++ b/core/modules/views/views_ui/lib/Drupal/views_ui/ViewEditFormController.php @@ -916,7 +916,7 @@ public function getFormBucket(ViewUI $view, $type, $display) { $actions = array(); $count_handlers = count($executable->display_handler->getHandlers($type)); // Create the add text variable for the add action. - $add_text = 'Add'; + $add_text = t('Add'); if (isset($types[$type]['add_text'])) { $add_text = $types[$type]['add_text']; } @@ -928,7 +928,7 @@ public function getFormBucket(ViewUI $view, $type, $display) { ); if ($count_handlers > 0) { // Create the rearrange text variable for the rearrange action. - $rearrange_text = 'Rearrange'; + $rearrange_text = t('Rearrange'); if (isset($types[$type]['rearrange_text'])) { $rearrange_text = $types[$type]['rearrange_text']; }