Issue #16 resolved

Generated MO file not the same as the one generated by msgfmt

created an issue

Hi, I think there is a small bug in the to_binary method to write a mo file (

Changing the code as such (offset of hash table) will generate the same MO file as msgfmt.



struct.pack("IIIIIII", 0x950412de, # Magic number 0, # Version entries_len, # # of entries 74, # start of key index 74+entries_len*8, # start of value index 0, keystart) # size and offset of hash table