Commit 562a9dc3 authored by Bastien Nocera's avatar Bastien Nocera
Browse files

build: Make check-translations easier to use

It will only exit once it's printed all the missing languages in
po/LINGUAS now, rather than stopping after the first one.
parent 8156d72a
......@@ -134,12 +134,13 @@ else
endif
check-translations:
@for i in $(top_srcdir)/po/*.po ; do \
@export RET=0 ; for i in $(top_srcdir)/po/*.po ; do \
if ! grep -q ^`basename $$i | sed 's,.po,,'`$$ $(top_srcdir)/po/LINGUAS ; then \
echo '***' `basename $$i | sed 's,.po,,'` missing from po/LINGUAS '***' ; \
exit 1; \
RET=1; \
fi; \
done;
done; \
if [ $$RET == 1 ] ; then exit 1; fi
update-translations: create-pot
@tx pull --all --force --skip
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment