public function fieldLabels($includerelations = true)
    {
        $labels = parent::fieldLabels($includerelations);
        $commentLabels = array(
            'Title'         => _t('Comment.TITLE', 'Subject'),
            'Name'          => _t('Comment.NAME', 'Name'),
            'Email'         => _t('Comment.EMAIL', 'Email'),
            'URL'           => _t('Comment.URL', 'URL'),
            'Comment'       => _t('Comment.COMMENT', 'Comment'),
            'AkismetMarked' => _t('Comment.AKISMETMARKED', 'Akismet marked'),
            'Visible'       => _t('Comment.VISIBLE', 'Visible'),
            'ShowGravatar'  => _t('Comment.GRAVATAR', 'Show Gravatar'),
            'News'          => _t('Comment.NEWS', 'News'),
        );

        return array_merge($commentLabels, $labels);
    }
public function fieldLabels($includerelations = true)
    {
        $labels = parent::fieldLabels($includerelations);
        $commentLabels = array(
            'Title'         => _t('Comment.TITLE', 'Subject'),
            'Name'          => _t('Comment.NAME', 'Name'),
            'Email'         => _t('Comment.EMAIL', 'Email'),
            'URL'           => _t('Comment.URL', 'URL'),
            'Comment'       => _t('Comment.COMMENT', 'Comment'),
            'AkismetMarked' => _t('Comment.AKISMETMARKED', 'Akismet marked'),
            'Visible'       => _t('Comment.VISIBLE', 'Visible'),
            'ShowGravatar'  => _t('Comment.GRAVATAR', 'Show Gravatar'),
            'News'          => _t('Comment.NEWS', 'News'),
        );

        return array_merge($commentLabels, $labels);
    }
public function fieldLabels ( $ includerelations = true ) { $ labels = parent :: fieldLabels ( $ includerelations ) ; $ commentLabels = array ( 'Title' => _t ( 'Comment.TITLE' , 'Subject' ) , 'Name' => _t ( 'Comment.NAME' , 'Name' ) , 'Email' => _t ( 'Comment.EMAIL' , 'Email' ) , 'URL' => _t ( 'Comment.URL' , 'URL' ) , 'Comment' => _t ( 'Comment.COMMENT' , 'Comment' ) , 'AkismetMarked' => _t ( 'Comment.AKISMETMARKED' , 'Akismet marked' ) , 'Visible' => _t ( 'Comment.VISIBLE' , 'Visible' ) , 'ShowGravatar' => _t ( 'Comment.GRAVATAR' , 'Show Gravatar' ) , 'News' => _t ( 'Comment.NEWS' , 'News' ) , ) ; return array_merge ( $ commentLabels , $ labels ) ; }
Setup the fieldlabels and possibly the translations.

@param boolean $includerelations

@return array The array with (translated) fieldlabels.
Setup the fieldlabels and possibly the translations .