From 49817e0c57c72b9d5da80ceb69d0693dfeea5daf Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Fri, 9 Jun 2023 14:26:17 +1200 Subject: [PATCH] MNT Update invalid translations --- lang/en.yml | 2 -- src/Authenticator/MiniLoginForm.php | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lang/en.yml b/lang/en.yml index 2cb0058..103ab47 100644 --- a/lang/en.yml +++ b/lang/en.yml @@ -1,6 +1,4 @@ en: - MiniLoginForm: - php.SilverStripe\RealMe\Authenticator\LoginFormLOGINBUTTON: LoginAction SilverStripe\RealMe\Authenticator\LoginForm: ASSERTLOGINBUTTON: 'Share your details with {orgname}' AUTHENTICATOR_NAME: 'RealMe Account' diff --git a/src/Authenticator/MiniLoginForm.php b/src/Authenticator/MiniLoginForm.php index 0c429b9..a563e96 100644 --- a/src/Authenticator/MiniLoginForm.php +++ b/src/Authenticator/MiniLoginForm.php @@ -31,7 +31,7 @@ public function getRealMeMiniLoginLink() $authMethod = $fields->dataFieldByName('AuthenticationMethod')->Value(); $token = $fields->dataFieldByName('SecurityID')->Value(); $actionName = $action->getName(); - $actionValue = _t(LoginForm::class . 'LOGINBUTTON', 'LoginAction'); + $actionValue = _t(LoginForm::class . '.LOGINBUTTON', 'LoginAction'); $queryString = sprintf( '?AuthenticationMethod=%s&SecurityID=%s&%s=%s',