Last modified: 2014-08-23 18:29:39 UTC
I had to shift a right hand unit down several units to match the left side and in the end when I saved there were many excess blank units on right hand, so I got the message "Extra units might be present. Please match the source and translation units properly". If they're all empty no harm is done, they should just be ignored. It's very quick and obvious to delete them though, so this is not important.
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.