NEW Add (alt text) to title field for clarity

This commit is contained in:
Robbie Averill 2017-09-29 09:33:55 +13:00
parent b49d1d7fbd
commit 2f0a0cb63f

View File

@ -131,6 +131,8 @@ class Image extends File implements Flushable {
$fileAttributes = $fields->fieldByName('Root.Main.FilePreview')->fieldByName('FilePreviewData');
$fileAttributes->push(new ReadonlyField("Dimensions", _t('AssetTableField.DIM','Dimensions') . ':'));
$fields->fieldByName('Root.Main.Title')->setTitle(_t('Image.TITLE', 'Title (alt text)'));
return $fields;
}