locale: remove "obsolete" translations from .po files

This commit is contained in:
Hans-Christoph Steiner 2021-01-29 16:20:42 +01:00
parent 19e2ea8adf
commit 4900c426e9
3 changed files with 1 additions and 67 deletions

View file

@ -44,6 +44,7 @@ $(TEMPLATE): $(FILES)
sed -i 's,CHARSET,UTF-8,' $(TEMPLATE)
%.po: $(TEMPLATE)
msgattrib $(OPTS) --no-obsolete --output-file=$@ $@
msguniq $(OPTS) --use-first --output-file=$@ $@
msgmerge $(OPTS) --update $@ $(TEMPLATE)