KapiX / Polyglot

Translation system for Haiku's catkeys, tailored for translating apps from different authors
https://i18n.kacperkasper.pl
MIT License
5 stars 1 forks source link

Allow exporting all/finished catkeys of multi-module projects #66

Closed humdingerb closed 2 years ago

humdingerb commented 2 years ago

If a project has several 'modules' - like Pecorename (Application and Add-on) - you cannot export all/finished catkeys for the whole project. It errors with:

There are duplicate file paths. Cannot generate an archive.

Maybe create the two "locales" folders in subfolders named after the modules before zipping it all up.

KapiX commented 2 years ago

This is working as expected. PecoRename modules should have different paths set - Application should be "Main/locales/%lang%.catkeys" and Add-on "Tracker Add-On/locales/%lang%.catkeys". I have changed them and successfully generated an archive. The idea is you grab the archive and extract it in the root of the project without further changes.

humdingerb commented 2 years ago

Ah alright... bug sitting in front of the monitor again... :)