summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Kévin Raymond <shaiton@fedoraproject.org>2013-02-25 17:23:54 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-28 15:25:47 -0800
commitcfdde3ff630ca3f58f9b03d59dde274bba5151f6 (patch)
treec2757e4fddfb4a1f1216c82e7c251ebb512b6f61 /Makefile
parent381bde5fad5f7a90ab9ff54d74bf2dde492d496b (diff)
downloadsubsurface-cfdde3ff630ca3f58f9b03d59dde274bba5151f6.tar.gz
Move translations to transifex.com
Translation management is done through Transifex now for easy translations. Translators should note that fuzzy strings are not used any more since Transifex does not handle it (by choice). In order to pull translations, you need a transifex.com account. Signed-off-by: Kévin Raymond <shaiton@fedoraproject.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index a30ef0fa4..71e19f03d 100644
--- a/Makefile
+++ b/Makefile
@@ -259,16 +259,11 @@ $(NSIFILE): $(NSIINPUTFILE)
$(INFOPLIST): $(INFOPLISTINPUT)
$(shell cat $(INFOPLISTINPUT) | sed -e 's/CFBUNDLEVERSION_TOKEN/$(CFBUNDLEVERSION_STRING)/' > $(INFOPLIST))
+# Transifex merge the translations
update-po-files:
xgettext -o po/subsurface-new.pot -s -k_ -kN_ --keyword=C_:1c,2 --add-comments="++GETTEXT" *.c
- for i in po/*.po; do \
- 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
+ tx push -s
+ tx pull -af
EXTRA_FLAGS = $(GTKCFLAGS) $(GLIB2CFLAGS) $(XML2CFLAGS) \
$(XSLT) $(ZIP) $(LIBDIVECOMPUTERCFLAGS) \