src/PoHeader.php
public function buildDefaultHeader(): void
    {
        $this->set(PoTokens::MESSAGE, "");
        $this->set(PoTokens::TRANSLATOR_COMMENTS, 'SOME DESCRIPTIVE TITLE');
        $this->add(PoTokens::TRANSLATOR_COMMENTS, 'Copyright (C) YEAR HOLDER');
        $this->add(PoTokens::TRANSLATOR_COMMENTS, 'LICENSE');
        $this->add(PoTokens::TRANSLATOR_COMMENTS, 'FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.');
        $this->add(PoTokens::TRANSLATOR_COMMENTS, '');
        $this->set(PoTokens::FLAG, 'fuzzy');
        $this->setHeader('Project-Id-Version', 'PACKAGE VERSION');
        $this->setHeader('Report-Msgid-Bugs-To', 'FULL NAME <EMAIL@ADDRESS>');
        $this->setCreateDate();
        $this->setHeader('PO-Revision-Date', 'YEAR-MO-DA HO:MI+ZONE');
        $this->setHeader('Last-Translator', 'FULL NAME <EMAIL@ADDRESS>');
        $this->setHeader('Language-Team', 'LANGUAGE <EMAIL@ADDRESS>');
        $this->setHeader('MIME-Version', '1.0');
        $this->setHeader('Content-Type', 'text/plain; charset=UTF-8');
        $this->setHeader('Content-Transfer-Encoding', '8bit');
        $this->setHeader('Plural-Forms', 'nplurals=INTEGER; plural=EXPRESSION;');
        $this->setHeader('X-Generator', 'geekwright/po');
    }
public function buildDefaultHeader(): void
    {
        $this->set(PoTokens::MESSAGE, "");
        $this->set(PoTokens::TRANSLATOR_COMMENTS, 'SOME DESCRIPTIVE TITLE');
        $this->add(PoTokens::TRANSLATOR_COMMENTS, 'Copyright (C) YEAR HOLDER');
        $this->add(PoTokens::TRANSLATOR_COMMENTS, 'LICENSE');
        $this->add(PoTokens::TRANSLATOR_COMMENTS, 'FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.');
        $this->add(PoTokens::TRANSLATOR_COMMENTS, '');
        $this->set(PoTokens::FLAG, 'fuzzy');
        $this->setHeader('Project-Id-Version', 'PACKAGE VERSION');
        $this->setHeader('Report-Msgid-Bugs-To', 'FULL NAME <EMAIL@ADDRESS>');
        $this->setCreateDate();
        $this->setHeader('PO-Revision-Date', 'YEAR-MO-DA HO:MI+ZONE');
        $this->setHeader('Last-Translator', 'FULL NAME <EMAIL@ADDRESS>');
        $this->setHeader('Language-Team', 'LANGUAGE <EMAIL@ADDRESS>');
        $this->setHeader('MIME-Version', '1.0');
        $this->setHeader('Content-Type', 'text/plain; charset=UTF-8');
        $this->setHeader('Content-Transfer-Encoding', '8bit');
        $this->setHeader('Plural-Forms', 'nplurals=INTEGER; plural=EXPRESSION;');
        $this->setHeader('X-Generator', 'geekwright/po');
    }
public function buildDefaultHeader ( ) : void { $ this -> set ( PoTokens :: MESSAGE , "" ) ; $ this -> set ( PoTokens :: TRANSLATOR_COMMENTS , 'SOME DESCRIPTIVE TITLE' ) ; $ this -> add ( PoTokens :: TRANSLATOR_COMMENTS , 'Copyright (C) YEAR HOLDER' ) ; $ this -> add ( PoTokens :: TRANSLATOR_COMMENTS , 'LICENSE' ) ; $ this -> add ( PoTokens :: TRANSLATOR_COMMENTS , 'FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.' ) ; $ this -> add ( PoTokens :: TRANSLATOR_COMMENTS , '' ) ; $ this -> set ( PoTokens :: FLAG , 'fuzzy' ) ; $ this -> setHeader ( 'Project-Id-Version' , 'PACKAGE VERSION' ) ; $ this -> setHeader ( 'Report-Msgid-Bugs-To' , 'FULL NAME <EMAIL@ADDRESS>' ) ; $ this -> setCreateDate ( ) ; $ this -> setHeader ( 'PO-Revision-Date' , 'YEAR-MO-DA HO:MI+ZONE' ) ; $ this -> setHeader ( 'Last-Translator' , 'FULL NAME <EMAIL@ADDRESS>' ) ; $ this -> setHeader ( 'Language-Team' , 'LANGUAGE <EMAIL@ADDRESS>' ) ; $ this -> setHeader ( 'MIME-Version' , '1.0' ) ; $ this -> setHeader ( 'Content-Type' , 'text/plain; charset=UTF-8' ) ; $ this -> setHeader ( 'Content-Transfer-Encoding' , '8bit' ) ; $ this -> setHeader ( 'Plural-Forms' , 'nplurals=INTEGER; plural=EXPRESSION;' ) ; $ this -> setHeader ( 'X-Generator' , 'geekwright/po' ) ; }
Create a default header entry

@return void
Create a default header entry