Closed (fixed)
Project:
Localization server
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
15 Oct 2009 at 08:07 UTC
Updated:
29 Oct 2009 at 09:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
claudiu.cristeaSee also a screenshot.
Comment #2
gábor hojtsyYes, the basic problem was that English has 0 and 1 as plural indexes, and when Romanian had to ask for the length of the English original variant for the index 2, it was empty. Therefore the textfield. Also, the JS tried to copy value for index 2 when there is only 0 and 1.
Fixed this in PHP and JS both by maintaining a source index and not going above 1 when the translation source index goes. This applies the size of the second variant for the textfields/areas, which is probably as correct as we can be. Plus it also copies the second variant for the third, fourth, etc. field.
Tested and deployed too. Thanks for the report.
Comment #3
gábor hojtsyPatch which did not manage to attach.
Comment #4
claudiu.cristeaIs working fine now on http://localize.drupal.org.
Thanks.