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 %>
-

Login with RealMe

+

Log in with RealMe

To access the $ServiceName1, you need a RealMe login. If you've used a RealMe login somewhere else, you can use - it here too. If you don't already have a username and password, just select Login and choose to create one. + it here too. If you don't already have a username and password, just select "Log in" and choose to create one.

diff --git a/templates/SilverStripe/RealMe/Authenticator/LoginForm_secondary.ss b/templates/SilverStripe/RealMe/Authenticator/LoginForm_secondary.ss index e0b16ed..4e3553d 100644 --- a/templates/SilverStripe/RealMe/Authenticator/LoginForm_secondary.ss +++ b/templates/SilverStripe/RealMe/Authenticator/LoginForm_secondary.ss @@ -40,14 +40,14 @@ or directly in your css, e.g. .realme_popup {width: 450px} "--%>