Skip to content
Snippets Groups Projects
Commit cde64227 authored by Angie Byron's avatar Angie Byron
Browse files

Issue #2067119 by pameeela, longwave, tstoeckler, Wim Leers: Fixed 'width' and...

Issue #2067119 by pameeela, longwave, tstoeckler, Wim Leers: Fixed 'width' and 'height' HTML placeholder attributes in image dialog are not translated, yet should be lcfirst.
parent c114c815
No related branches found
No related tags found
No related merge requests found
......@@ -109,7 +109,7 @@ function editor_image_upload_settings_form(Editor $editor) {
'#maxlength' => 8,
'#min' => 1,
'#max' => 99999,
'#placeholder' => 'width',
'#placeholder' => t('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' => 'height',
'#field_suffix' => 'pixels',
'#placeholder' => t('height'),
'#field_suffix' => t('pixels'),
'#states' => $show_if_image_uploads_enabled,
);
......
......@@ -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,8 +125,8 @@ public function buildForm(array $form, array &$form_state, FilterFormat $filter_
'#maxlength' => 8,
'#min' => 1,
'#max' => 99999,
'#placeholder' => 'height',
'#field_suffix' => 'pixels',
'#placeholder' => $this->t('height'),
'#field_suffix' => $this->t('pixels'),
'#parents' => array('attributes', 'height'),
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment