From b3dac91090042e122377bd51c118f05699a1c6ff Mon Sep 17 00:00:00 2001 From: Rastislav Brandobur Date: Tue, 31 Jan 2017 21:06:06 +0100 Subject: [PATCH] added missing _t() function --- src/Extensions/CommentsExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Extensions/CommentsExtension.php b/src/Extensions/CommentsExtension.php index 827a754..c4d6188 100644 --- a/src/Extensions/CommentsExtension.php +++ b/src/Extensions/CommentsExtension.php @@ -178,7 +178,7 @@ class CommentsExtension extends DataExtension // Check if moderation should be enabled via cms configurable if ($this->owner->getCommentsOption('require_moderation_cms')) { - $moderationField = new DropdownField('ModerationRequired', 'Comment Moderation', array( + $moderationField = new DropdownField('ModerationRequired', _t('CommentsExtension.COMMENTMODERATION', 'Comment Moderation'), array( 'None' => _t('CommentsExtension.MODERATIONREQUIRED_NONE', 'No moderation required'), 'Required' => _t('CommentsExtension.MODERATIONREQUIRED_REQUIRED', 'Moderate all comments'), 'NonMembersOnly' => _t(