struct Gettext::MoParser

Defined in:

gettext.cr

Constant Summary

BE_MAGIC = 3725722773_i64
LE_MAGIC = 2500072158_i64

Constructors

Instance Method Summary

Instance methods inherited from struct Gettext::Locale

catalog : Hash(Msg, String) catalog, catalog=(catalog : Hash(Msg, String)) catalog=, gettext(message) gettext, metadata : Hash(String, String) metadata, metadata=(metadata : Hash(String, String)) metadata=, ngettext(singular : String, n : Int32) : String
ngettext(singular : String, plural : String | Nil = nil, n : Int32 = 1) : String
ngettext
, plural : Proc(Int32, Int32) plural, plural=(plural : Proc(Int32, Int32)) plural=

Constructor methods inherited from struct Gettext::Locale

new new

Constructor Detail

def self.new(io) #

[View source]

Instance Method Detail

def parse(io) #

[View source]