Skip to content

Commit

Permalink
FIX Correcting inconsistent capitalisation of label
Browse files Browse the repository at this point in the history
  • Loading branch information
ScopeyNZ committed Jan 11, 2019
1 parent a57c83c commit 7691237
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lang/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Comment.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public function fieldLabels($includerelations = true)
{
$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');
Expand Down
2 changes: 1 addition & 1 deletion tests/CommentsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ public function testFieldLabels()

$labels = $comment->FieldLabels();
$expected = array(
'Name' => 'Author Name',
'Name' => 'Author name',
'Comment' => 'Comment',
'Email' => 'Email',
'URL' => 'URL',
Expand Down

0 comments on commit 7691237

Please sign in to comment.