https://bugzilla.wikimedia.org/show_bug.cgi?id=65901

--- Comment #1 from Pratik Lahoti <[email protected]> ---
The check under question is:

if ( noOfSourceUnits < noOfTranslationUnits ) {

I see two options here:

1. Remove that check itself and Save the messages matched by the user. The
logic used is simple - it picks the translation one by one in the order they
appear in HTML and saves them. So this would work.

2. Add a function before that check which will decrement the variable
noOfTranslationUnits if both source and target text are empty.

Please let me know which one is better.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to