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') {
|
||||
$filePreview->FieldList()->insertBefore(new TextField(
|
||||
'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,
|
||||
80
|
||||
), 'CaptionText');
|
||||
@ -679,7 +679,7 @@ class HtmlEditorField_Toolbar extends RequestHandler {
|
||||
$file->Title,
|
||||
80
|
||||
)->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(
|
||||
'Title',
|
||||
|
Loading…
Reference in New Issue
Block a user