mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-08 02:56:17 +00:00
Separate pushing a new pot file to Transifex from pulling translations
This avoids all the unnecessary updates to the POT date. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
6f750da063
commit
f23297d5a1
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
@ -267,9 +267,11 @@ $(INFOPLIST): $(INFOPLISTINPUT)
|
||||||
|
|
||||||
# Transifex merge the translations
|
# Transifex merge the translations
|
||||||
update-po-files:
|
update-po-files:
|
||||||
|
tx pull -af
|
||||||
|
|
||||||
|
push-pot:
|
||||||
xgettext -o po/subsurface-new.pot -s -k_ -kN_ --keyword=C_:1c,2 --add-comments="++GETTEXT" *.c
|
xgettext -o po/subsurface-new.pot -s -k_ -kN_ --keyword=C_:1c,2 --add-comments="++GETTEXT" *.c
|
||||||
tx push -s
|
tx push -s
|
||||||
tx pull -af
|
|
||||||
|
|
||||||
EXTRA_FLAGS = $(GTKCFLAGS) $(GLIB2CFLAGS) $(XML2CFLAGS) \
|
EXTRA_FLAGS = $(GTKCFLAGS) $(GLIB2CFLAGS) $(XML2CFLAGS) \
|
||||||
$(XSLT) $(ZIP) $(SQLITE3) $(LIBDIVECOMPUTERCFLAGS) \
|
$(XSLT) $(ZIP) $(SQLITE3) $(LIBDIVECOMPUTERCFLAGS) \
|
||||||
|
|
Loading…
Add table
Reference in a new issue