2009-06-19 11:33:53 |
Данило Шеган |
description |
Example what happens:
* $LANGUAGE has 100 strings to be translated.
* I start translating the first 10 strings (1-10 of 100)
* I hit the Save & Continue button
* Next page shows 11-20 of 90
Expected behaviour: 1-10 of 90
The bug creates the following problem: each time you hit the Save & Continue button, the total counter is decreased by 10, while the interval counter increases at the same time. Imagine the counter is at 1-10 of 20 and you hit the button. What happens is that the total is decreased by 10 and the interval is increased by ten (11-20 of 10), which of course doesn't work. The result is an empty page leading to the false impression that all strings have been translated already. |
With mutating filters (i.e. while you are editing translations, you are removing them from that filter) on +translate pages, only untranslated filter works correctly.
Other filters (changed_in_launchpad, new_suggestions) do not adjust last ID properly and instead skip batch size of items when you "Save & Continue", even if you removed some items from the batch.
We should do the same trick for those filters as we do it for untranslated. |
|