protected StringBuilder createBasePOFile ( final BuildData buildData ) { final String formattedDate = POT_DATE_FORMAT . format ( buildData . getBuildDate ( ) ) ; return new StringBuilder ( "# \n" ) . append ( "# AUTHOR <EMAIL@ADDRESS>, YEAR.\n" ) . append ( "#\n" ) . append ( "msgid \"\"\n" ) . append ( "msgstr \"\"\n" ) . append ( "\"Project-Id-Version: 0\\n\"\n" ) . append ( "\"POT-Creation-Date: " ) . append ( formattedDate ) . append ( "\\n\"\n" ) . append ( "\"PO-Revision-Date: " ) . append ( formattedDate ) . append ( "\\n\"\n" ) . append ( "\"Last-Translator: Automatically generated\\n\"\n" ) . append ( "\"Language-Team: None\\n\"\n" ) . append ( "\"MIME-Version: 1.0\\n\"\n" ) . append ( "\"Content-Type: application/x-pressgang-ccms; charset=" ) . append ( ENCODING ) . append ( "\\n\"\n" ) . append ( "\"Content-Transfer-Encoding: 8bit\\n\"\n" ) ; }
Create the base initial content required for all PO and POT files .