FIX Translate pagetype names in list view

This commit is contained in:
Guy Sartorelli 2022-04-19 16:04:20 +12:00
parent 3ef3a93fb7
commit 4e757759ec

View File

@ -1653,7 +1653,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
// Don't allow navigating into children nodes on filtered lists
$fields = [
'getTreeTitle' => _t('SilverStripe\\CMS\\Model\\SiteTree.PAGETITLE', 'Page Title'),
'singular_name' => _t('SilverStripe\\CMS\\Model\\SiteTree.PAGETYPE', 'Page Type'),
'i18n_singular_name' => _t('SilverStripe\\CMS\\Model\\SiteTree.PAGETYPE', 'Page Type'),
'LastEdited' => _t('SilverStripe\\CMS\\Model\\SiteTree.LASTUPDATED', 'Last Updated'),
];
/** @var GridFieldSortableHeader $sortableHeader */