Comment 10 for bug 201749

Revision history for this message
Adi Roiban (adiroiban) wrote :

I have committed a first naive fix.

It sets the latest empty translations iscurrent to False.

In the zoomed out view, only the last 3 translations are displayed... so the UI is not cluttered by this behaviour.

I we would like to see the current translation as a suggestion we would need to fake it's creation time ... and this can also confuse translators as the translation will appear as being created just now.

The code that fakes the creating date is commented in this branch.

Like Danilo suggested, maybe we need to add an „isreviewed” column.

Maybe we can start the procedure of adding isreviewed field in the db, and meanwhile use this solution.
This can be also a workaround for bug 339507 while we finalize the +translate page rework.

---------------------------

It sets the messagetranslation.potemplate field to None, but I still don't know how I should look for diverged messages and what to do with them.