public function preparePOFile( tao_helpers_translation_POFile $poFile, $poEditorReady = false)
    {
        
        $poFile->addHeader('Project-Id-Version', PRODUCT_NAME . ' ' . ApplicationHelper::getVersionName());
        $poFile->addHeader('PO-Revision-Date', date('Y-m-d') . 'T' . date('H:i:s'));
        $poFile->addHeader('Last-Translator', 'TAO Translation Team <translation@tao.lu>');
        $poFile->addHeader('MIME-Version', '1.0');
        $poFile->addHeader('Language', $poFile->getTargetLanguage());
        $poFile->addHeader('sourceLanguage', $poFile->getSourceLanguage());
        $poFile->addHeader('targetLanguage', $poFile->getTargetLanguage());
        $poFile->addHeader('Content-Type', 'text/plain; charset=utf-8');
        $poFile->addHeader('Content-Transfer-Encoding', '8bit');

		if ($poEditorReady) {
			$poFile->addHeader('X-Poedit-Basepath', '../../');
			$poFile->addHeader('X-Poedit-KeywordsList', '__');
			$poFile->addHeader('X-Poedit-SearchPath-0', '.');
		}
    }
public function preparePOFile( tao_helpers_translation_POFile $poFile, $poEditorReady = false)
    {
        
        $poFile->addHeader('Project-Id-Version', PRODUCT_NAME . ' ' . ApplicationHelper::getVersionName());
        $poFile->addHeader('PO-Revision-Date', date('Y-m-d') . 'T' . date('H:i:s'));
        $poFile->addHeader('Last-Translator', 'TAO Translation Team <translation@tao.lu>');
        $poFile->addHeader('MIME-Version', '1.0');
        $poFile->addHeader('Language', $poFile->getTargetLanguage());
        $poFile->addHeader('sourceLanguage', $poFile->getSourceLanguage());
        $poFile->addHeader('targetLanguage', $poFile->getTargetLanguage());
        $poFile->addHeader('Content-Type', 'text/plain; charset=utf-8');
        $poFile->addHeader('Content-Transfer-Encoding', '8bit');

		if ($poEditorReady) {
			$poFile->addHeader('X-Poedit-Basepath', '../../');
			$poFile->addHeader('X-Poedit-KeywordsList', '__');
			$poFile->addHeader('X-Poedit-SearchPath-0', '.');
		}
    }
public function preparePOFile ( tao_helpers_translation_POFile $ poFile , $ poEditorReady = false ) { $ poFile -> addHeader ( 'Project-Id-Version' , PRODUCT_NAME . ' ' . ApplicationHelper :: getVersionName ( ) ) ; $ poFile -> addHeader ( 'PO-Revision-Date' , date ( 'Y-m-d' ) . 'T' . date ( 'H:i:s' ) ) ; $ poFile -> addHeader ( 'Last-Translator' , 'TAO Translation Team <translation@tao.lu>' ) ; $ poFile -> addHeader ( 'MIME-Version' , '1.0' ) ; $ poFile -> addHeader ( 'Language' , $ poFile -> getTargetLanguage ( ) ) ; $ poFile -> addHeader ( 'sourceLanguage' , $ poFile -> getSourceLanguage ( ) ) ; $ poFile -> addHeader ( 'targetLanguage' , $ poFile -> getTargetLanguage ( ) ) ; $ poFile -> addHeader ( 'Content-Type' , 'text/plain; charset=utf-8' ) ; $ poFile -> addHeader ( 'Content-Transfer-Encoding' , '8bit' ) ; if ( $ poEditorReady ) { $ poFile -> addHeader ( 'X-Poedit-Basepath' , '../../' ) ; $ poFile -> addHeader ( 'X-Poedit-KeywordsList' , '__' ) ; $ poFile -> addHeader ( 'X-Poedit-SearchPath-0' , '.' ) ; } }
Prepare a PO file before output by adding headers to it.

@access public
@author Joel Bout, <joel.bout@tudor.lu>
@param tao_helpers_translation_POFile $poFile
@param bool $poEditorReady
@return void
Prepare a PO file before output by adding headers to it .