Check that merged po files are well formed.
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 5 Sep 2020 03:08:12 +0000 (05:08 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 5 Sep 2020 03:08:12 +0000 (05:08 +0200)
po/automake.mk

index 3848cd72fb3ac7eaa8194052135553453c74fa47..2f169f338fe6ce3971e90f502a96a1170e237247 100644 (file)
@@ -76,6 +76,7 @@ $(LOCALPOFILES) $(POFILES): $(POTFILE)
        fi ;
        $(AM_V_at)$(SED) -e '/^"POT-Creation-Date: /d' $@,tmp > $@,tmp2
        $(RM) $@,tmp
+       $(MSGFMT) -c $@,tmp2
        mv $@,tmp2 $@
 
 SUFFIXES += .po .gmo