diff --git a/lang/en.yml b/lang/en.yml index 1dad62a..18a28bd 100644 --- a/lang/en.yml +++ b/lang/en.yml @@ -2,7 +2,7 @@ en: SilverStripe\RealMe\Authenticator\LoginForm: ASSERTLOGINBUTTON: 'Share your details with {orgname}' AUTHENTICATOR_NAME: 'RealMe Account' - LOGINBUTTON: Login + LOGINBUTTON: Log in SilverStripe\RealMe\Authenticator\LoginHandler: LOGINFAILURE: 'Unfortunately we''re not able to log you in through RealMe right now. Please try again shortly.' SilverStripe\RealMe\Authenticator\MiniLoginForm: diff --git a/src/Authenticator/LoginForm.php b/src/Authenticator/LoginForm.php index 6388eb9..8b65db2 100644 --- a/src/Authenticator/LoginForm.php +++ b/src/Authenticator/LoginForm.php @@ -202,13 +202,13 @@ protected function getFormActions() } else { // Login button $loginButtonContent = ArrayData::create(array( - 'Label' => _t(self::class . '.LOGINBUTTON', 'Login'), + 'Label' => _t(self::class . '.LOGINBUTTON', 'Log in'), 'ShowNewWindowIcon' => true ))->renderWith(self::class . '/RealMeLoginButton'); } return FieldList::create(array( - FormAction::create('doLogin', _t(self::class . '.LOGINBUTTON', 'Login')) + FormAction::create('doLogin', _t(self::class . '.LOGINBUTTON', 'Log in')) ->setUseButtonTag(true) ->setButtonContent($loginButtonContent) ->setAttribute('class', 'realme_button') diff --git a/templates/SilverStripe/RealMe/Authenticator/LoginForm.ss b/templates/SilverStripe/RealMe/Authenticator/LoginForm.ss index 763c985..33acbc0 100644 --- a/templates/SilverStripe/RealMe/Authenticator/LoginForm.ss +++ b/templates/SilverStripe/RealMe/Authenticator/LoginForm.ss @@ -39,11 +39,11 @@ or directly in your css, e.g. .realme_popup {width: 450px} <% end_if %>