mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
FIX Correcting inconsistent capitalisation of label
This commit is contained in:
parent
a57c83c121
commit
7691237fe5
@ -74,7 +74,7 @@ en:
|
||||
EMAIL: Email
|
||||
ISSPAM: 'Spam?'
|
||||
MODERATED: 'Moderated?'
|
||||
NAME: 'Author Name'
|
||||
NAME: 'Author name'
|
||||
'ON': 'on'
|
||||
OPTIONS: Options
|
||||
OPTION_DESCRIPTION: 'Unmoderated and spam comments will not be displayed until approved'
|
||||
|
@ -219,7 +219,7 @@ class Comment extends DataObject
|
||||
{
|
||||
$labels = parent::fieldLabels($includerelations);
|
||||
|
||||
$labels['Name'] = _t(__CLASS__ . '.NAME', 'Author Name');
|
||||
$labels['Name'] = _t(__CLASS__ . '.NAME', 'Author name');
|
||||
$labels['Comment'] = _t(__CLASS__ . '.COMMENT', 'Comment');
|
||||
$labels['Email'] = _t(__CLASS__ . '.EMAIL', 'Email');
|
||||
$labels['URL'] = _t(__CLASS__ . '.URL', 'URL');
|
||||
|
@ -610,7 +610,7 @@ class CommentsTest extends FunctionalTest
|
||||
|
||||
$labels = $comment->FieldLabels();
|
||||
$expected = array(
|
||||
'Name' => 'Author Name',
|
||||
'Name' => 'Author name',
|
||||
'Comment' => 'Comment',
|
||||
'Email' => 'Email',
|
||||
'URL' => 'URL',
|
||||
|
Loading…
Reference in New Issue
Block a user