diff --git a/core/modules/editor/lib/Drupal/editor/Form/EditorImageDialog.php b/core/modules/editor/lib/Drupal/editor/Form/EditorImageDialog.php index 2f9a78d..9c51149 100644 --- a/core/modules/editor/lib/Drupal/editor/Form/EditorImageDialog.php +++ b/core/modules/editor/lib/Drupal/editor/Form/EditorImageDialog.php @@ -112,7 +112,7 @@ public function buildForm(array $form, array &$form_state, FilterFormat $filter_ '#maxlength' => 8, '#min' => 1, '#max' => 99999, - '#placeholder' => 'width', + '#placeholder' => $this->t('width'), '#field_suffix' => ' x ', '#parents' => array('attributes', 'width'), ); @@ -125,7 +125,7 @@ public function buildForm(array $form, array &$form_state, FilterFormat $filter_ '#maxlength' => 8, '#min' => 1, '#max' => 99999, - '#placeholder' => 'height', + '#placeholder' => $this->t('height'), '#field_suffix' => 'pixels', '#parents' => array('attributes', 'height'), );