Compare commits

..

2 Commits

Author SHA1 Message Date
Michal Kleiner
87c3ee6268
Merge pull request #2732 from creative-commoners/pulls/4.10/translate-page-names
FIX Translate pagetype names in list view
2022-04-19 21:54:29 +12:00
Guy Sartorelli
4e757759ec FIX Translate pagetype names in list view 2022-04-19 16:04:20 +12:00

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 */