From 16dda3ec12d97b13af6877d905743d8ba9d8d2ea Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 9 Feb 2013 10:52:01 -0800 Subject: 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 --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 93996e372..0f476f9ab 100644 --- a/Makefile +++ b/Makefile @@ -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) \ -- cgit v1.2.3-70-g09d2