FIX Correcting inconsistent capitalisation of label

This commit is contained in:
Guy Marriott 2019-01-11 12:25:20 +13:00
parent a57c83c121
commit 7691237fe5
No known key found for this signature in database
GPG Key ID: A80F9ACCB86D3DA7
3 changed files with 3 additions and 3 deletions

View File

@ -74,7 +74,7 @@ en:
EMAIL: Email EMAIL: Email
ISSPAM: 'Spam?' ISSPAM: 'Spam?'
MODERATED: 'Moderated?' MODERATED: 'Moderated?'
NAME: 'Author Name' NAME: 'Author name'
'ON': 'on' 'ON': 'on'
OPTIONS: Options OPTIONS: Options
OPTION_DESCRIPTION: 'Unmoderated and spam comments will not be displayed until approved' OPTION_DESCRIPTION: 'Unmoderated and spam comments will not be displayed until approved'

View File

@ -219,7 +219,7 @@ class Comment extends DataObject
{ {
$labels = parent::fieldLabels($includerelations); $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['Comment'] = _t(__CLASS__ . '.COMMENT', 'Comment');
$labels['Email'] = _t(__CLASS__ . '.EMAIL', 'Email'); $labels['Email'] = _t(__CLASS__ . '.EMAIL', 'Email');
$labels['URL'] = _t(__CLASS__ . '.URL', 'URL'); $labels['URL'] = _t(__CLASS__ . '.URL', 'URL');

View File

@ -610,7 +610,7 @@ class CommentsTest extends FunctionalTest
$labels = $comment->FieldLabels(); $labels = $comment->FieldLabels();
$expected = array( $expected = array(
'Name' => 'Author Name', 'Name' => 'Author name',
'Comment' => 'Comment', 'Comment' => 'Comment',
'Email' => 'Email', 'Email' => 'Email',
'URL' => 'URL', 'URL' => 'URL',