File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -66,8 +66,8 @@ def test_binary_header(self):
6666 self .assertEqual (num_strings , 9 )
6767 self .assertEqual (orig_table_offset , 28 )
6868 self .assertEqual (trans_table_offset , 100 )
69- self .assertEqual (hash_table_size , 0 )
70- self .assertEqual (hash_table_offset , 0 )
69+ self .assertEqual (hash_table_size , 13 )
70+ self .assertEqual (hash_table_offset , 172 )
7171
7272 def test_translations (self ):
7373 with open (data_dir / 'general.mo' , 'rb' ) as f :
Original file line number Diff line number Diff line change 55
66This program converts a textual Uniforum-style message catalog (.po file) into
77a binary GNU catalog (.mo file). This is essentially the same function as the
8- GNU msgfmt program, however, it is a simpler implementation. Currently it
9- does not handle plural forms but it does handle message contexts.
8+ GNU msgfmt program. Currently it does not handle plural forms but it does
9+ handle message contexts.
1010
1111Usage: msgfmt.py [OPTIONS] filename.po
1212
You can’t perform that action at this time.
0 commit comments