[PATCH] Move translations to transifex.com (was: Translation management)
Dirk Hohndel
dirk at hohndel.org
Thu Feb 28 15:14:17 PST 2013
Kévin Raymond <shaiton at fedoraproject.org> writes:
> I would be happy to speak more about Transifex if you have questions, or
> to let people move to an other platform.
>
> [1] https://www.transifex.com/projects/p/subsurface/
Ok, I signed up for transifex and am now trying to figure out how this
works :-)
> diff --git a/Makefile b/Makefile
> index a8e4d2f..884e024 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -243,16 +243,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
>
so in order to run "make update-po-files" one has to have the transifex
client software installed - but that is not needed for building
subsurface, correct?
/D
More information about the subsurface
mailing list