FIX "Allow Comments" label now reads "Allow comments" - should not have been capitalised (#283)

FIX "Allow Comments" label now reads "Allow comments" - should not have been capitalised
This commit is contained in:
Guy Marriott 2019-05-02 13:12:10 +12:00 committed by GitHub
commit aec3e2ba5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
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).

View File

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

View File

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