diff --git a/code/ReportAdmin.php b/code/ReportAdmin.php index 87dc981b..2ab7c72d 100644 --- a/code/ReportAdmin.php +++ b/code/ReportAdmin.php @@ -222,10 +222,10 @@ public function providePermissions() { 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') ) ); }