You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@adrai I have looked into this, because the change sounds simple enough (change this to if (unit.source !== undefined) (same for the version 1.2)
But when I do this, it breaks many tests, and I'm not knowledgeable enough of xliff to know if it's expected or not
if it's ok for you, I'll provide a PR soon and we can discuss there if needed
🐛 Bug Report
The
jsToXliff12
lib creates xliff with wrong format in case of falsysource
To Reproduce
Below is an example, what is important is to provide a resource with a falsy
source
, e.g. an empty stringxliffFile
contains something like below, with nosource
tag, which is not valid against the specification,Expected behavior
The expected result should include something like below
Your Environment
The text was updated successfully, but these errors were encountered: