Categories
Requires Crowdin account
var check = crowdin.source.split(/\r?\n/).length === crowdin.translation.split(/\r?\n/).length;
var result = {
success: check
};
if (!check) {
result.message = 'The number of new lines in the source text and translation do not match';
}
return result;