Skip to content

Commit

Permalink
Merge pull request #2732 from creative-commoners/pulls/4.10/translate…
Browse files Browse the repository at this point in the history
…-page-names

FIX Translate pagetype names in list view
  • Loading branch information
michalkleiner authored Apr 19, 2022
2 parents 3ef3a93 + 4e75775 commit 87c3ee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/Controllers/CMSMain.php
Original file line number Diff line number Diff line change
Expand Up @@ -1653,7 +1653,7 @@ public function ListViewForm()
// 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 */
Expand Down

0 comments on commit 87c3ee6

Please sign in to comment.