mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-18 00:26:15 +00:00
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:
parent
e7389874fb
commit
16dda3ec12
1 changed files with 5 additions and 0 deletions
5
Makefile
5
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) \
|
||||
|
|
Loading…
Add table
Reference in a new issue