CatKeysEditor is not using Locale Kit classes to read/write catkeys.
pulkomandy opened this issue · 1 comments
The Locale Kit has some support for editing catalogs:
http://cgit.haiku-os.org/haiku/tree/headers/private/locale/EditableCatalog.h
Maybe this should be used instead of custom code. This would add the following features:
- Loading of binary catalog files in the tool instead of just catkeys
- Saving of binary catalog files or other formats
- Making sure all the escaping possibilities are handled (", \ and \x don't seem to be processed in the current code)
Maybe the Haiku API is too limited, in that case it could be extended to support more features.
I may or may not have known that feature exists :P It should indeed be
using that, yeah
On May 25, 2015 2:21 PM, "Adrien Destugues" notifications@github.com
wrote:
The Locale Kit has some support for editing catalogs:
http://cgit.haiku-os.org/haiku/tree/headers/private/locale/EditableCatalog.h
Maybe this should be used instead of custom code. This would add the
following features:
- Loading of binary catalog files in the tool instead of just catkeys
- Saving of binary catalog files or other formats
- Making sure all the escaping possibilities are handled (", \ and \x
don't seem to be processed in the current code)Maybe the Haiku API is too limited, in that case it could be extended to
support more features.—
Reply to this email directly or view it on GitHub
#12.