diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-02-09 10:52:01 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-02-09 10:52:01 -0800 |
commit | 16dda3ec12d97b13af6877d905743d8ba9d8d2ea (patch) | |
tree | 0230f3a3c7f5f431e23d1c18b43aba1fc11dfd1c /Makefile | |
parent | e7389874fbcae5c27f37463fe3b06a03e6b13b8d (diff) | |
download | subsurface-16dda3ec12d97b13af6877d905743d8ba9d8d2ea.tar.gz |
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>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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) \ |