Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CatKeysEditor is not using Locale Kit classes to read/write catkeys. #12

Open
pulkomandy opened this issue May 25, 2015 · 1 comment
Open

Comments

@pulkomandy
Copy link

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.

@puckipedia
Copy link
Owner

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" [email protected]
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants