Re: Can't integrate translation in module sawfish i gnome git



Le samedi 19 décembre 2009 à 11:21 +0100, Christopher Roy Bratusek a
écrit :
> Am Sat, 19 Dec 2009 11:06:24 +0100
> schrieb Claude Paroz <claude 2xlibre net>:
> 
> > Le samedi 19 décembre 2009 à 11:02 +0100, Christopher Roy Bratusek a
> > écrit :
> > > Am Sat, 19 Dec 2009 09:56:57 +0100
> > > schrieb Claude Paroz <claude 2xlibre net>:
> > > 
> > > > Le vendredi 18 décembre 2009 à 23:10 +0100, Christopher Roy
> > > > Bratusek a écrit :
> > > > > Am Fri, 18 Dec 2009 22:51:11 +0100
> > > > > schrieb Claude Paroz <claude 2xlibre net>:
> > > > > 
> > (...)
> > > > > > 
> > > > > > Hi Chris,
> > > > > > 
> > > > > > Damned-Lies supports special way to generate pot files, under
> > > > > > two conditions:
> > > > > > - the custom script should apply in a clean tree (that is
> > > > > > without requiring an autogen/configure)
> > > > > > - the custom script should be written in a 'standard' (no
> > > > > > troll intent!) language (e.g. bash, perl, python).
> > > > > > 
> > > > > > Another way would be to commit the pot file in Git and
> > > > > > Damned-Lies could use it to generate stats. I know it's
> > > > > > suboptimal to commit generated files, but it would be a
> > > > > > workaround.
> > > > > > 
> > > > > > Claude
> > > > > > 
> > > > > 
> > > > > Hi Claude,
> > > > > 
> > > > > both scripts are shell scripts, which should work with any
> > > > > modern sh. I just commited a little change to make-pot to make
> > > > > it work in a clean tree (it checks wether $(srcdir)/DOC exists
> > > > > or not, and creates it, if not -- the DOC file is generated by
> > > > > repdoc, which makes the difference between a intltool or
> > > > > make-pot generated pot-file: it detects all strings). update.sh
> > > > > works, if there's a pot file in the tree.
> > > > 
> > > > ./make-pot: 25: repdoc: not found
> > > > 
> > > > repdoc/rep seem not to be commonly installed programs (librep9
> > > > package). Is it possible for you to find equivalent commands in
> > > > standard tools?
> > > > 
> > > > Claude
> > > > 
> > > 
> > > Haven't thought about that. Well, I guess there's no other suitable
> > > app.
> > 
> > What about committing the pot file in the repository?
> > 
> > Claude
> 
> OK. I just commited the pot file. As Sawfish 1.6.0 is beeing released
> on Tuesday, there shouldn't be any string changes from now on.

Damned-Lies is now using the pot file from the repository to generate
stats for sawfish:
http://l10n.gnome.org/module/sawfish/

Claude



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]