Method: GetText::Tools::XGetText#generate_pot_header
- Defined in:
- lib/gettext/tools/xgettext.rb
#generate_pot_header ⇒ Object
:nodoc:
141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'lib/gettext/tools/xgettext.rb', line 141 def generate_pot_header # :nodoc: time = now.strftime("%Y-%m-%d %H:%M%z") "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR \#{@copyright_holder}\n# This file is distributed under the same license as the \#{@package_name} package.\n# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.\n#\n#, fuzzy\nmsgid \"\"\nmsgstr \"\"\n\"Project-Id-Version: \#{@package_name} \#{@package_version}\\\\n\"\n\"Report-Msgid-Bugs-To: \#{@msgid_bugs_address}\\\\n\"\n\"POT-Creation-Date: \#{time}\\\\n\"\n\"PO-Revision-Date: \#{time}\\\\n\"\n\"Last-Translator: FULL NAME <EMAIL@ADDRESS>\\\\n\"\n\"Language-Team: LANGUAGE <[email protected]>\\\\n\"\n\"Language: \\\\n\"\n\"MIME-Version: 1.0\\\\n\"\n\"Content-Type: text/plain; charset=\#{@output_encoding}\\\\n\"\n\"Content-Transfer-Encoding: 8bit\\\\n\"\n\"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\\\\n\"\n" end |