mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
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:
commit
aec3e2ba5b
@ -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).
|
@ -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'
|
||||||
|
@ -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'
|
||||||
)));
|
)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user