FIX "Allow Comments" label now reads "Allow comments" - should not have been capitalised

This commit is contained in:
Robbie Averill 2019-05-02 11:31:32 +12:00
parent 4d19e6c43e
commit 89204c0c1c
3 changed files with 4 additions and 4 deletions

View File

@ -10,6 +10,6 @@ Then run a database rebuild by visiting `dev/build`. This will add the required
## Enabling Commenting ## Enabling Commenting
Out of the box the module adds commenting support to all pages on your site. This functionality can be turned on and off on a per page basis in the CMS under the `Behaviour` tab for a given page. Once the `Allow Comments` checkbox is ticked, republish and view the webpage. Out of the box the module adds commenting support to all pages on your site. This functionality can be turned on and off on a per page basis in the CMS under the `Behaviour` tab for a given page. Once the `Allow comments` checkbox is ticked, republish and view the webpage.
For more configuration options see [Configuration](Configuration.md). For more configuration options see [Configuration](Configuration.md).

View File

@ -67,7 +67,7 @@ en:
MODERATIONREQUIRED_NONMEMBERSONLY: 'Only moderate non-members' MODERATIONREQUIRED_NONMEMBERSONLY: 'Only moderate non-members'
MODERATIONREQUIRED_REQUIRED: 'Moderate all comments' MODERATIONREQUIRED_REQUIRED: 'Moderate all comments'
SilverStripe\Comments\Model\Comment: SilverStripe\Comments\Model\Comment:
ALLOWCOMMENTS: 'Allow Comments' ALLOWCOMMENTS: 'Allow comments'
COMMENT: Comment COMMENT: Comment
COMMENTBY: 'Comment by %s' COMMENTBY: 'Comment by %s'
CREATED: 'Date posted' CREATED: 'Date posted'

View File

@ -158,7 +158,7 @@ class CommentsExtension extends DataExtension
if ($this->owner->getCommentsOption('enabled_cms')) { if ($this->owner->getCommentsOption('enabled_cms')) {
$options->push(CheckboxField::create('ProvideComments', _t( $options->push(CheckboxField::create('ProvideComments', _t(
'SilverStripe\\Comments\\Model\\Comment.ALLOWCOMMENTS', 'SilverStripe\\Comments\\Model\\Comment.ALLOWCOMMENTS',
'Allow Comments' 'Allow comments'
))); )));
} }