core/modules/editor/editor.admin.inc | 6 +++--- core/modules/editor/lib/Drupal/editor/Form/EditorImageDialog.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/core/modules/editor/editor.admin.inc b/core/modules/editor/editor.admin.inc index 2ef92a8..329f686 100644 --- a/core/modules/editor/editor.admin.inc +++ b/core/modules/editor/editor.admin.inc @@ -109,7 +109,7 @@ function editor_image_upload_settings_form(Editor $editor) { '#maxlength' => 8, '#min' => 1, '#max' => 99999, - '#placeholder' => t('width'), + '#placeholder' => 'width', '#field_suffix' => ' x ', '#states' => $show_if_image_uploads_enabled, ); @@ -122,8 +122,8 @@ function editor_image_upload_settings_form(Editor $editor) { '#maxlength' => 8, '#min' => 1, '#max' => 99999, - '#placeholder' => t('height'), - '#field_suffix' => t('pixels'), + '#placeholder' => 'height', + '#field_suffix' => 'pixels', '#states' => $show_if_image_uploads_enabled, ); diff --git a/core/modules/editor/lib/Drupal/editor/Form/EditorImageDialog.php b/core/modules/editor/lib/Drupal/editor/Form/EditorImageDialog.php index 6efc1b8..7398207 100644 --- a/core/modules/editor/lib/Drupal/editor/Form/EditorImageDialog.php +++ b/core/modules/editor/lib/Drupal/editor/Form/EditorImageDialog.php @@ -109,7 +109,7 @@ public function buildForm(array $form, array &$form_state, FilterFormat $filter_ '#maxlength' => 8, '#min' => 1, '#max' => 99999, - '#placeholder' => t('width'), + '#placeholder' => 'width', '#field_suffix' => ' x ', '#parents' => array('attributes', 'width'), ); @@ -122,8 +122,8 @@ public function buildForm(array $form, array &$form_state, FilterFormat $filter_ '#maxlength' => 8, '#min' => 1, '#max' => 99999, - '#placeholder' => t('height'), - '#field_suffix' => t('pixels'), + '#placeholder' => 'height', + '#field_suffix' => 'pixels', '#parents' => array('attributes', 'height'), );