Merge pull request #67 from CheeseSucker/patch-1

Fix: Not all fields in the CMS was translatable
This commit is contained in:
Will Rossiter 2013-06-20 14:49:07 -07:00
commit 8f57e21db8

View File

@ -124,8 +124,12 @@ class Comment extends DataObject {
$labels = parent::fieldLabels($includerelations);
$labels['Name'] = _t('Comment.NAME', 'Author Name');
$labels['Comment'] = _t('Comment.COMMENT', 'Comment');
$labels['Email'] = _t('Comment.EMAIL', 'Email');
$labels['URL'] = _t('Comment.URL', 'URL');
$labels['IsSpam'] = _t('Comment.ISSPAM', 'Spam?');
$labels['Moderated'] = _t('Comment.MODERATED', 'Moderated?');
$labels['ParentTitle'] = _t('Comment.PARENTTITLE', 'Parent');
$labels['Created'] = _t('Comment.CREATED', 'Date posted');
return $labels;
}