mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX Capitalisation fixes in welcome back message (#9439)
This commit is contained in:
parent
88660e6435
commit
5002f514b3
@ -54,7 +54,7 @@ Returns the currently logged in [Member](api:SilverStripe\Security\Member) insta
|
|||||||
|
|
||||||
```ss
|
```ss
|
||||||
<% if $CurrentMember %>
|
<% if $CurrentMember %>
|
||||||
Welcome Back, $CurrentMember.FirstName
|
Welcome back, $CurrentMember.FirstName
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ class HomePageTest extends FunctionalTest
|
|||||||
$page = $this->get('home/');
|
$page = $this->get('home/');
|
||||||
|
|
||||||
$this->assertExactHTMLMatchBySelector("#Welcome", [
|
$this->assertExactHTMLMatchBySelector("#Welcome", [
|
||||||
'Welcome Back'
|
'Welcome back'
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -276,7 +276,7 @@ en:
|
|||||||
SURNAME: Surname
|
SURNAME: Surname
|
||||||
VALIDATIONADMINLOSTACCESS: 'Cannot remove all admin groups from your profile'
|
VALIDATIONADMINLOSTACCESS: 'Cannot remove all admin groups from your profile'
|
||||||
ValidationIdentifierFailed: 'Can''t overwrite existing member #{id} with identical identifier ({name} = {value}))'
|
ValidationIdentifierFailed: 'Can''t overwrite existing member #{id} with identical identifier ({name} = {value}))'
|
||||||
WELCOMEBACK: 'Welcome Back, {firstname}'
|
WELCOMEBACK: 'Welcome back, {firstname}'
|
||||||
YOUROLDPASSWORD: 'Your old password'
|
YOUROLDPASSWORD: 'Your old password'
|
||||||
belongs_many_many_Groups: Groups
|
belongs_many_many_Groups: Groups
|
||||||
db_Locale: 'Interface Locale'
|
db_Locale: 'Interface Locale'
|
||||||
|
@ -201,7 +201,7 @@ class LoginHandler extends RequestHandler
|
|||||||
// Welcome message
|
// Welcome message
|
||||||
$message = _t(
|
$message = _t(
|
||||||
'SilverStripe\\Security\\Member.WELCOMEBACK',
|
'SilverStripe\\Security\\Member.WELCOMEBACK',
|
||||||
'Welcome Back, {firstname}',
|
'Welcome back, {firstname}',
|
||||||
['firstname' => $member->FirstName]
|
['firstname' => $member->FirstName]
|
||||||
);
|
);
|
||||||
Security::singleton()->setSessionMessage($message, ValidationResult::TYPE_GOOD);
|
Security::singleton()->setSessionMessage($message, ValidationResult::TYPE_GOOD);
|
||||||
|
Loading…
Reference in New Issue
Block a user