Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

--updatepot deletes Cocoa entries when ran on a non-OSX system

#361

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.

Reported by Virgil Dupras · March 10th, 2013 @ 03:51 AM

State: fixed
Milestone: none
Assigned to: Virgil Dupras Virgil Dupras

Activity

  1. Virgil Dupras
    Virgil Dupras
    • Assigned user set to Virgil Dupras

    March 10th, 2013 @ 01:37 PM

  2. Virgil Dupras
    Virgil Dupras

    (from [292bebf9a9b9]) [#361 --updatepot deletes Cocoa entries when ran on a non-OSX system] 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/

    March 10th, 2013 @ 02:15 PM

  3. Virgil Dupras
    Virgil Dupras
    • State changed from accepted to fixed

    March 10th, 2013 @ 02:20 PM

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.