Skip to content

Strip translation from metadata file via ITS rules

Gary Wang requested to merge garywang/l10n-scripty:its into master

This could be helpful if we want to remove the xmlstarlet call later.

The patch is made because xmlstarlet cannot work as intended under Windows/MSYS2, thus those translated tags will also get extracted. Since we already using a ITS rules file to extract the strings, we could just improve the ITS rules so the xmlstarlet is no longer necessary.

I didn't remove the xmlstarlet call from extract_metainfo.sh in this patch since I'm not sure if the current ITS rules can cover all known cases. Such patch might be in another MR.

Merge request reports