Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate "Not found" notes from ExtractXliff #113

Open
papeh opened this issue Oct 18, 2023 · 0 comments
Open

Duplicate "Not found" notes from ExtractXliff #113

papeh opened this issue Oct 18, 2023 · 0 comments

Comments

@papeh
Copy link
Contributor

papeh commented Oct 18, 2023

When running ExtractXliff.exe with --base-xliff, each string not found in the base Xliff is tagged with <note xml:lang="en">Not found in static scan of compiled code (version 0.0.0)</note>. This is expected.

If ExtractXliff.exe is run again on the same --base-xliff, another "not found" note is added for each run. This clutters the file.

Two requests:

  1. Don't exceed one "not found" note per string
  2. Remove "not found" notes if a string is found in a subsequent extraction

These can both be accomplished by stripping "not found" notes from the Xliff before extraction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant