mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
More consistent English grammar
This commit is contained in:
parent
8092dfa3d5
commit
5249664833
@ -596,7 +596,7 @@ class HtmlEditorField_Toolbar extends RequestHandler {
|
|||||||
if($file->Type == 'photo') {
|
if($file->Type == 'photo') {
|
||||||
$filePreview->FieldList()->insertBefore(new TextField(
|
$filePreview->FieldList()->insertBefore(new TextField(
|
||||||
'AltText',
|
'AltText',
|
||||||
_t('HtmlEditorField.IMAGEALTTEXT', 'Alternative text (alt) - shown if image cannot be displayed'),
|
_t('HtmlEditorField.IMAGEALTTEXT', 'Alternative text (alt) - shown if image can\'t be displayed'),
|
||||||
$file->Title,
|
$file->Title,
|
||||||
80
|
80
|
||||||
), 'CaptionText');
|
), 'CaptionText');
|
||||||
@ -679,7 +679,7 @@ class HtmlEditorField_Toolbar extends RequestHandler {
|
|||||||
$file->Title,
|
$file->Title,
|
||||||
80
|
80
|
||||||
)->setDescription(
|
)->setDescription(
|
||||||
_t('HtmlEditorField.IMAGEALTTEXTDESC', 'Shown to screen readers or if image can not be displayed')),
|
_t('HtmlEditorField.IMAGEALTTEXTDESC', 'Shown to screen readers or if image can\'t be displayed')),
|
||||||
|
|
||||||
TextField::create(
|
TextField::create(
|
||||||
'Title',
|
'Title',
|
||||||
|
Loading…
Reference in New Issue
Block a user