kaitai-io / kaitai_struct_formats

Kaitai Struct: library of binary file formats (.ksy)
http://formats.kaitai.io
711 stars 204 forks source link

add specification for Qt translation files #666

Open armijnhemel opened 1 year ago

armijnhemel commented 1 year ago

This PR adds a fairly minimal specification for Qt translation files. It is not complete and misses a few things:

What also doesn't work correctly is correctly processing the translation. Currently I am simply returning a byte array for translations, but it should be a string, almost certainly utf-16be.