ENH Update code to reflect changes to silverstripe/admin

This commit is contained in:
Guy Sartorelli 2024-10-17 16:51:21 +13:00
parent 61ecdb74e7
commit 7549076ad8
No known key found for this signature in database

View File

@ -212,10 +212,10 @@ class ReportAdmin extends LeftAndMain implements PermissionProvider
{
return array(
"CMS_ACCESS_ReportAdmin" => array(
'name' => _t('SilverStripe\\CMS\\Controllers\\CMSMain.ACCESS', "Access to '{title}' section", array(
'name' => _t(LeftAndMain::class . '.ACCESS', "Access to '{title}' section", array(
'title' => static::menu_title()
)),
'category' => _t('SilverStripe\\Security\\Permission.CMS_ACCESS_CATEGORY', 'CMS Access')
'category' => _t(LeftAndMain::class . '.CMS_ACCESS_CATEGORY', 'CMS Access')
)
);
}