FIX Class name in _t() call in installer and run text collector

This commit is contained in:
Robbie Averill 2017-09-26 14:57:16 +13:00
parent 5f8eb0806e
commit 33ae463e5b
2 changed files with 1 additions and 3 deletions

View File

@ -1,6 +1,4 @@
en:
SilverStripe\Admin\LeftAndMain:
VersionUnknown: unknown
SilverStripe\AssetAdmin\Forms\UploadField:
Dimensions: Dimensions
EDIT: Edit

View File

@ -150,7 +150,7 @@ PHP
$adminMember = DefaultAdminService::singleton()
->findOrCreateAdmin(
$username,
_t(DefaultAdminService::class . '.DefaultAdminFirstname', 'Default Admin')
_t('SilverStripe\\Security\\DefaultAdminService.DefaultAdminFirstname', 'Default Admin')
);
$adminMember->Email = $username;
$adminMember->Password = $password;