New Makefile target to create smaller diffs for translations

Simply run

make prepare-po-files

and msgcat will be run over all po files to create consistent location
references. That plus the change I made earlier to how we update the po
files should create much smaller and easier to read diffs for translators.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-02-09 10:52:01 -08:00
parent e7389874fb
commit 16dda3ec12

View file

@ -240,6 +240,11 @@ update-po-files:
msgmerge --no-wrap -s -U $$i po/subsurface-new.pot ; \
done
prepare-po-files:
for i in po/*.po; do \
msgcat --no-wrap $$i -o $$i ; \
done
EXTRA_FLAGS = $(GTKCFLAGS) $(GLIB2CFLAGS) $(XML2CFLAGS) \
$(XSLT) $(ZIP) $(LIBDIVECOMPUTERCFLAGS) \
$(LIBSOUPCFLAGS) $(OSMGPSMAPFLAGS) $(GCONF2CFLAGS) \