mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
Merge pull request #67 from CheeseSucker/patch-1
Fix: Not all fields in the CMS was translatable
This commit is contained in:
commit
8f57e21db8
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user