I guess an example is better than words: http://git.xfce.org/xfce/xfdesktop/tree/autogen.sh
Mike 2009/11/24 Mike Massonnet <mmasson...@gmail.com>: > Hello again, > > Seems like this feature isn't implemented yet in Tx -- updating the > LINGUAS file automatically -- as seen in this ticket[0]. Currently > this task has been handled in Xfce by doing some mod within the > build-env. With the newest xfce-dev-tools 4.7 the LINGUAS is parsed by > scanning po filenames inside the po directory, diff[1] is available, > but simply put: 1- delete po/LINGUAS 2- edit autogen.sh 3-1-- check > for version 4.7 of the xfce-dev-tools (the autoconf configure script > must be suffixed by .ac.in or .in.in) or 3-2-- do it yourself with a > command. > > So now everytime you run autogen.sh the make update-po command updates > all the catched po files without the need of the extra LINGUAS file. > > [0] http://transifex.org/ticket/1 > [1] > http://git.xfce.org/xfce/xfce4-dev-tools/commit/?id=37d405679d49f9bff0fdc1d70cff9ea560c08222 > > Mike > > 2009/11/24 Per Kongstad <p_kongs...@op.pl>: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Hi, >> >> There a saying "The operation succeded but the patient died". >> >> Anyhow this incidents shows that something is not missing, working er >> whatever. >> >> The question is if this is a mistake in Transifex or our >> implementation of it? >> >> What can we do to eleminate the error in future. >> >> That just my humble 5-pence. >> >> /Per >> >> Jérôme Guelfucci wrote: >>> Mike Massonnet wrote: >>>> Hello, >>>> >>>> I suggest to do the same, download the pot file and use "msgmerge >>>> <LOCALE>.po ref.pot > <LOCALE>.po.new" (Note: it's important to not >>>> redirect the output on the original file, or it will be empty). And >>>> then upload again. >>>> >>>> Regarding the maintainer POV, when he/she updates the po files, he/she >>>> obviously has to go and update the Tx cache manually on the website to >>>> get them in sync. I'm not sure if the automated task works at all, but >>>> what is sure it isn't done per git-push. As a maintainer of a Tx >>>> component, there is an extra "Clear cache" button for a fresh >>>> git-pull. >>>> >>>> Mike >>>> >>> >>> I had done that when I updated the translations. The problem was >>> different, the catalan translation had not been added to the LINGUAS >>> file of the documentation so it was not updated when running >>> update-po. This has been fixed and cleared the transifex cache. >>> >>> Cheers, >>> >>> Jérôme >>> _______________________________________________ >>> Xfce-i18n mailing list >>> Xfce-i18n@xfce.org >>> http://foo-projects.org/mailman/listinfo/xfce-i18n >>> >> >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.9 (GNU/Linux) >> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ >> >> iEUEARECAAYFAksMGaAACgkQ2y9v5yQlyH0dCQCXaFHyzSXVbNg0Y1yPG7OamYvP >> /wCfVj4/Qcl49+j91mB3GPtW9Ci55Qs= >> =5Ouo >> -----END PGP SIGNATURE----- >> >> _______________________________________________ >> Xfce-i18n mailing list >> Xfce-i18n@xfce.org >> http://foo-projects.org/mailman/listinfo/xfce-i18n >> > _______________________________________________ Xfce-i18n mailing list Xfce-i18n@xfce.org http://foo-projects.org/mailman/listinfo/xfce-i18n