Merge pull request #201 from rasstislav/patch-1

Added missing translation to Comments TabSet Title
This commit is contained in:
Robbie Averill 2017-07-06 10:31:38 +12:00 committed by GitHub
commit 4df49c8db7
2 changed files with 3 additions and 0 deletions

View File

@ -581,6 +581,8 @@ class CommentsExtension extends DataExtension
$spamGrid
)
);
$tabs->setTitle(_t('CommentsExtension.COMMENTSTABSET', 'Comments'));
$fields->addFieldToTab('Root', $tabs);
} else {
$fields->push($newGrid);

View File

@ -51,6 +51,7 @@ en:
SpamComments: Spam
CommentsExtension:
COMMENTOPTIONS: Comments
COMMENTSTABSET: Comments
MODERATIONREQUIRED_NONE: 'No moderation required'
MODERATIONREQUIRED_NONMEMBERSONLY: 'Only moderate non-members'
MODERATIONREQUIRED_REQUIRED: 'Moderate all comments'