Strip translation from metadata file via ITS rules
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.