On November 28, 2010 08:16:09 am Harry van der Wolf wrote:
> > As I need to do some updating of the dutch translations I was was
> > wondering what the difference is between the 2010.4.0 .po files and the
> > trunk .po files.
> > The 2010.4 files are bigger than the trunk files.
> > - Why?

hg pull
hg co -c default
ls -l src/translations/
hg co -c 2010.4
ls -l src/translations/

the files are same size in default (trunk) and 2010.4


> a big difference considering the fact that they are only 48-60 hours apart
> after 2010.4 branching, it is because of the Milka dedication tab? I
> couldn't find it in the .po.

the time you want to measure is between the last time 
./src/translations/extract-messages.sh has been executed and committed - not 
between code commits.  Usually this is done once prior to the branching of a 
new release, so it is between the commit that branched 2010.2 and the one that 
branched 2010.4

The Milko dedication tab is not translated.  I did not even consider 
translation (none of the files displayed in the about dialog are translated - 
maybe we should?) 

src/hugin1/hugin/xrc/data/about.htm.in
src/hugin1/hugin/xrc/data/about.txt
src/hugin1/hugin/xrc/data/sponsors.htm
src/hugin1/hugin/xrc/data/dedication.htm (2010.4 only)

it would not work through the poedit system. they would have to be renamed, 
eg:

src/hugin1/hugin/xrc/data/about.<LOCALE>.htm.in
src/hugin1/hugin/xrc/data/about.<LOCALE>.txt
src/hugin1/hugin/xrc/data/sponsors.<LOCALE>.htm
src/hugin1/hugin/xrc/data/dedication.<LOCALE>.htm (2010.4 only)

the app would have to be modified to load the locale-specific file.

the translators would have to translate the files directly.


> > I prefer to do the translations once with some small rework, and not
> > twice for trunk and 2010.4.
> > - Any idea with which po to start and how to merge them?

don't bother about 2010.4.  The only thing different there from a translation 
perspective is src/hugin1/hugin/xrc/data/dedication.htm

Work on the po file in default (trunk).  Commit the changes to default (trunk). 
 
If you absolutely want to take care of 2010.4 too, note down the revision 
number associate with your commit and do

hg pull
hg up -c 2010.4
hg export --git <REVISION_NUMBER> | hg import -
hg push

Yuv

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to