remove strings that do not need translation from translation files before sending to weblate
We have a limit for strings in weblate for the free service, and we send a lot of strings to translate that are not to be translated (commands, snippets of logs...)
we can make sure that this strings do not even arrive to weblate:
- compiling a .pot file with the strings that we dont want (ignore.pot)
- using it with:
msgattrib -i contents.pot --set-obsolete --only-file=ignore.pot -o contents.pot