From: Paul K. <pki...@us...> - 2005-07-14 11:59:45
|
We run md5sum on the base files in the directory octave-lang/base/octave/help/*. We put the md5sum along with the CVS revision number of the octave-lang/base/octave/help/* file in the first line of the file in octave-lang/pt/octave/help/*. Whenever there is a new release of octave, somebody extracts the docstrings and puts them in octave-lang/base/octave/help and commits all the changes. Translators run langcheck on their directory which compares the md5sum of each translated file with the md5sum of the file in octave-lang/base/octave/help/*. This reports which files need to be updated. Use cvs diff -cp -r <rev> octave-lang/base/octave/help/fn to get a report of the changes to the original text. You don't find out that you need to update the translation until there is another release of octave. The live help system will query octave for the base text, compute the md5sum compare that to the md5sum of the translated text and report to the user that the translation is out of date, possibly reporting both the original text and the out of date translation. This isn't implemented yet since it requires some slight modifications to Octave. You don't upload things to the net yet since I haven't created the octave-lang tree. - Paul On Jul 14, 2005, at 6:43 AM, Jorge Barros de Abreu wrote: > The following files is translated: > > __abcddims__.pt > __axis_label__.pt > __bodquist__.pt > __end__.pt > __errcomm__.pt > __errplot__.pt > __freqresp__.pt > __glpk__.pt > > How to get the latest version for update the translation and > recalculate the > md5 key??? > How to know if any of its do not was modified tree hours ago??? > In which link on the internet to take it ??? > > Thanks > > > Em Thu 14 Jul 2005 08:16, Stefan van der Walt escreveu: > >> I'm tempted to say that >> this should be left as a responsibility to the translator, i.e. make >> sure to note the version/date of the checkout you use. > |