--updatepot deletes Cocoa entries when ran on a non-OSX system
Reported by Virgil Dupras | March 10th, 2013 @ 03:51 AM
When running python build.py --updatepot
on a
non-OSX system, we lose all Cocoa entries in ui.pot because of the
way this file is generated. The result of pygettext first
overwrites the whole file, and only then are the cocoa strings
added.
Instead of that, we should write the pygettext result into a temp file and then merge the result with ui.pot.
Comments and changes to this ticket
-
Virgil Dupras March 10th, 2013 @ 01:37 PM
- Assigned user set to Virgil Dupras
-
Virgil Dupras March 10th, 2013 @ 02:15 PM
(from [292bebf9a9b9]) [#361] Fixed --updatepot under non-OSX system.
When updating ui.pot under a non-OSX system, the generated pot is merged with
the existing pot instead of overwriting it. This way, we don't lose our Cocoa
entries.
https://bitbucket.org/hsoft/moneyguru/changeset/292bebf9a9b9/ -
Virgil Dupras March 10th, 2013 @ 02:20 PM
- State changed from accepted to fixed
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป