Class: NewMsgList
Instance Method Summary collapse
Instance Method Details
#pot_format(nplural, app_enc) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/ri18n/newmsglist.rb', line 4 def pot_format(nplural, app_enc) ret = <<EOS msgid "" msgstr "" "MIME-Version: 1.0\\n" "Content-Type: text/plain; charset=#{app_enc}\\n" "Content-Transfer-Encoding: 8bit\\n" EOS each{|x| ret << x.pot_format(nplural) } ret end |