<commit_before><?php
class Vpc_News_Detail_Abstract_Trl_Form extends Vps_Form
{
    public function __construct($directoryClass = null)
    {
        $this->setDirectoryClass($directoryClass);
        parent::__construct('details');
    }

    protected function _initFields()
    {
        parent::_initFields();

        $this->add(new Vps_Form_Field_TextField('title', trlVps('Title')))
            ->setAllowBlank(false)
            ->setWidth(300);
        $this->add(new Vps_Form_Field_TextArea('teaser', trlVps('Teaser')))
            ->setWidth(300)
            ->setHeight(100);
    }
}
<commit_msg>original-daten anzeigen<commit_after><?php
class Vpc_News_Detail_Abstract_Trl_Form extends Vps_Form
{
    public function __construct($directoryClass = null)
    {
        $this->setDirectoryClass($directoryClass);
        parent::__construct('details');
    }

    protected function _initFields()
    {
        parent::_initFields();

        $this->add(new Vps_Form_Field_TextField('title', trlVps('Title')))
            ->setAllowBlank(false)
            ->setWidth(300);
        $this->add(new Vps_Form_Field_ShowField('original_title', trlVps('Original')))
            ->setData(new Vps_Data_Trl_OriginalComponentFromData('title'));
        $this->add(new Vps_Form_Field_TextArea('teaser', trlVps('Teaser')))
            ->setWidth(300)
            ->setHeight(100);
        $this->add(new Vps_Form_Field_ShowField('original_teaser', trlVps('Original')))
            ->setData(new Vps_Data_Trl_OriginalComponentFromData('teaser'));
    }
}

{'fraction_non_alphanumeric': 0.13577863577863578, 'fraction_numerical': 0.011583011583011582, 'mean_word_length': 3.283746556473829, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3502595', 'n_tokens_mistral': 499, 'n_tokens_neox': 486, 'n_words': 61}