Subsurface translations move to transifex

Dirk Hohndel dirk at hohndel.org
Mon Mar 4 11:19:29 PST 2013


It seems a few people haven't set up accounts at Transifex, yet...

Swiss-German, Bulgarian, Norwegian, Portuguese and Slovak appear to be
missing.

I updated the translation texts on the site and would love for people to
take a look so we can get the workflow figured out.

Thanks

/D

Dirk Hohndel <dirk at hohndel.org> writes:

> This is especially for all the volunteers that do translations...
>
> With Kévin's help we have set up a project at Transifex and I'd love for
> people to play with this and let us know if this will work for
> maintaining and coordinating our translations.
>
> Could all of you create an account there and check out their user
> interface and ask questions now (instead of "during the last three days
> before the next release")?
>
> Thanks
>
> /D
>
> Kévin Raymond <shaiton at fedoraproject.org> writes:
>
>>> Ok, I signed up for transifex and am now trying to figure out how this
>>> works :-)
>>
>> Nice, I've just added you as a maintainer (feel free to remove me from the
>> maintainer list now as I won't probably need push POT access now).
>> This is done here: https://www.transifex.com/projects/p/subsurface/edit/
>> Ask if there are settings that you don't understand.
>>
>>> 
>>> > 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?
>>
>> Exact. This target is not called while building subsurface.
>> The update-po-files target needs the maintainer access as it is pushing
>> the newly created POT at Transifex ("tx push -s").
>>
>> We could spread that in three targets,
>> "make pot", then "make pushPOT", and finally "make pullPOS". Doing so
>> would be needed if:
>> - people would like to build the POT by themself (is there a need?)
>> - people would like to pull latest translations IF they are registered at
>>   transifex.com.
>>
>> Tell me, I can correct the patches accordingly.
>>
>> In order to build subsurface, one would need to have a transifex.com
>> account if he wants to pull latest translations, or he will just stick
>> with those on the repo.
>>
>> -- 
>> Kévin Raymond
>> (Shaiton)
> _______________________________________________
> subsurface mailing list
> subsurface at hohndel.org
> http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface


More information about the subsurface mailing list