Re: [Gimp-docs] weird translation missing

2010-04-14 Thread Ulf-D. Ehlert
Marco Ciampa (Tuesday, 13. April 2010)
> On Fri, Apr 09, 2010 at 07:22:03PM +0200, Ulf-D. Ehlert wrote:
[...]
> > I hope this will solve your problems. (Otherwise I'll have to
> > emigrate to Australia too...)
> 
> Don't worry...it worked :-)
> 
> Maybe it could be addedd to the makefile (make poclean or
>  something...)?

What about "make cut-gordian-knot"?  ;-)

Seriously, I think/hope it was just a problem with two different 
xml2po versions producing slightly different results.

As long as you don't notice the same problem again I'll assume that 
there's no bug; so IMHO it's better if we don't add yet another make 
command.

Bye,
Ulf


signature.asc
Description: This is a digitally signed message part.
___
Gimp-docs mailing list
Gimp-docs@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs


Re: [Gimp-docs] weird translation missing

2010-04-13 Thread Marco Ciampa
On Fri, Apr 09, 2010 at 07:22:03PM +0200, Ulf-D. Ehlert wrote:
> Did "make html-it" update the appropriate files:
>   [POT] pot/tutorial.pot
>   [PO]  po/it/tutorial.po
>   [XML] xml/it/tutorial/xml
>   ...
> 
> I tried to build HTML from a git archive:
> 
>   $  git archive --prefix=gimp-help-2/ master | tar -xvf- -C /tmp
>   $  cd /tmp/gimp-help-2
>   $  ./autogen.sh --without-gimp
>   $  make html-{en,de,it,ja,...}
> 
> with this result:
> 
>   - html/it/gimp-tutorial-quickie-flip.html : translated
> (except first para)
> 
>   - html/ja/gimp-painting.html: translated
> 
> so it looks that it should work but things are messed up somehow 
> (wrong timestamps, xml2po versions mix, or whatever).
> 
> Let's try brute force:
> 
>   # if you are curious:
>   $  cp -a pot pot.backup
>   $  cp -a po/it po/it.backup
>   $  cp -a xml/it xml/it.backup
> 
>   $  rm -rf pot
>   $  make pot
>   $  find pot/ -name '*.pot' | xargs touch
>   $  make po-it
>   $  make xml-it
>   $  make html-it
> 
>   # if you are curious:
>   $  diff -ur pot.backup/ pot/
>   $  diff -ur po/it.backup/ po/it/
>   $  diff -ur xml/it.backup/ xml/it/
>   # (tip: install colordiff from http://colordiff.sourceforge.net/
>   # and run "diff -ur ... | colordiff")
>   
>   $  rm -rf pot.backup po/it.backup xml/it.backup
> 
> (RyōTa, you may want to try it with "ja" instead of "it").
> 
> I hope this will solve your problems. (Otherwise I'll have to emigrate 
> to Australia too...)
Don't worry...it worked :-)

Maybe it could be addedd to the makefile (make poclean or something...)?


-- 


Marco Ciampa

++
| Linux User  #78271 |
| FSFE fellow   #364 |
++
___
Gimp-docs mailing list
Gimp-docs@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs


Re: [Gimp-docs] weird translation missing

2010-04-09 Thread Ulf-D. Ehlert
Marco Ciampa (Thursday, 08. April 2010)
> Done:
> 
> touch  src/tutorial/quickies.xml
> make html-it
> 
> It doesn't work.

(Oh, we are not talking about
http://docs.gimp.org/2.6/it/gimp-tutorial-quickie-flip.html?!)

Did "make html-it" update the appropriate files:
[POT] pot/tutorial.pot
[PO]  po/it/tutorial.po
[XML] xml/it/tutorial/xml
...

I tried to build HTML from a git archive:

$  git archive --prefix=gimp-help-2/ master | tar -xvf- -C /tmp
$  cd /tmp/gimp-help-2
$  ./autogen.sh --without-gimp
$  make html-{en,de,it,ja,...}

with this result:

- html/it/gimp-tutorial-quickie-flip.html : translated
  (except first para)

- html/ja/gimp-painting.html: translated

so it looks that it should work but things are messed up somehow 
(wrong timestamps, xml2po versions mix, or whatever).

Let's try brute force:

# if you are curious:
$  cp -a pot pot.backup
$  cp -a po/it po/it.backup
$  cp -a xml/it xml/it.backup

$  rm -rf pot
$  make pot
$  find pot/ -name '*.pot' | xargs touch
$  make po-it
$  make xml-it
$  make html-it

# if you are curious:
$  diff -ur pot.backup/ pot/
$  diff -ur po/it.backup/ po/it/
$  diff -ur xml/it.backup/ xml/it/
# (tip: install colordiff from http://colordiff.sourceforge.net/
# and run "diff -ur ... | colordiff")

$  rm -rf pot.backup po/it.backup xml/it.backup

(RyōTa, you may want to try it with "ja" instead of "it").

I hope this will solve your problems. (Otherwise I'll have to emigrate 
to Australia too...)

Ulf




signature.asc
Description: This is a digitally signed message part.
___
Gimp-docs mailing list
Gimp-docs@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs


Re: [Gimp-docs] weird translation missing

2010-04-08 Thread Marco Ciampa
On Thu, Apr 08, 2010 at 10:13:13PM +0200, Kolbjørn Stuestøl wrote:
> Ulf-D. Ehlert skreiv:
> > Marco Ciampa (Wednesday, 07. April 2010)
> >   
> >> Hello everybody,
> >> I found that this page:
> >>
> >> http://docs.gimp.org/2.6/it/gimp-tutorial-quickie-flip.html
> >>
> >> is untranslated in the html output. This is weird since the doc is
> >>  valid and the translation is _not_ missing in the .po file:
> >>  tutorial.po
> >>
> >> What is goning on?
> >> 
> >
> > Maybe it's just dated?
> >
> > Ulf
> >   
> I had a similar problem a while ago and got this answer from Ulf:
> 
> > Maybe your po file is created with a different xml2po program than 
> > your pot file, and this led to slightly different translations 
> > (with/without ). 
> >
> > Then you should touch the relevant src files and re-make the po files.
> 
> It solved my problem.
>  
> (If you are using Cygwin, the docbook-xsl installed by default is 
> outdated. Install a newer version, i.e. v. 1.75.x).
> Kolbjoern
Done:

touch  src/tutorial/quickies.xml
make html-it

It doesn't work.

PS: I have ubuntu 9.10...

-- 


Marco Ciampa

++
| Linux User  #78271 |
| FSFE fellow   #364 |
++
___
Gimp-docs mailing list
Gimp-docs@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs


Re: [Gimp-docs] weird translation missing

2010-04-08 Thread Kolbjørn Stuestøl
Ulf-D. Ehlert skreiv:
> Marco Ciampa (Wednesday, 07. April 2010)
>   
>> Hello everybody,
>> I found that this page:
>>
>> http://docs.gimp.org/2.6/it/gimp-tutorial-quickie-flip.html
>>
>> is untranslated in the html output. This is weird since the doc is
>>  valid and the translation is _not_ missing in the .po file:
>>  tutorial.po
>>
>> What is goning on?
>> 
>
> Maybe it's just dated?
>
> Ulf
>   
I had a similar problem a while ago and got this answer from Ulf:

> Maybe your po file is created with a different xml2po program than 
> your pot file, and this led to slightly different translations 
> (with/without ). 
>
> Then you should touch the relevant src files and re-make the po files.

It solved my problem.
 
(If you are using Cygwin, the docbook-xsl installed by default is 
outdated. Install a newer version, i.e. v. 1.75.x).
Kolbjoern
___
Gimp-docs mailing list
Gimp-docs@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs


Re: [Gimp-docs] weird translation missing

2010-04-08 Thread Ulf-D. Ehlert
Marco Ciampa (Wednesday, 07. April 2010)
> Hello everybody,
> I found that this page:
> 
> http://docs.gimp.org/2.6/it/gimp-tutorial-quickie-flip.html
> 
> is untranslated in the html output. This is weird since the doc is
>  valid and the translation is _not_ missing in the .po file:
>  tutorial.po
> 
> What is goning on?

Maybe it's just dated?

Ulf


signature.asc
Description: This is a digitally signed message part.
___
Gimp-docs mailing list
Gimp-docs@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs


[Gimp-docs] weird translation missing

2010-04-08 Thread RyōTa SimaMoto
Hi,

I'm wonder why some pages are not translated, too.

It seems they happen randomly, but mostly in whole
of  block at source files.  On Marco's case,
all entries of 
come to untranslated except its .

In Japanese part, sect1:gimp-concepts-selection,
sect1:gimp-using-selections, sect1:gimp-concepts-brushes,
, the leading subsection, and  of sect1:gimp-prefs-dialog,
sect2:gimp-prefs-image-window-title,
sect1:gimp-using-script-fu-tutorial (but the API reference is safe),...
and other 36 subsections are untranslated in its whole entries.
These holes are not same with other languages.

In addition gimp-filter-repeat.html, gimp-filter-reset-all.html,
gimp-filter-reshow.html, and gimp-filters-script-fu.html are
included only in de, en, fr, it, ja, and ru.  It's also a mystery.

Bye,
-=-=-=-=-=
SimaMoto,RyōTa 
http://code.google.com/p/gimp-doc-ja/
___
Gimp-docs mailing list
Gimp-docs@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs


[Gimp-docs] weird translation missing

2010-04-07 Thread Marco Ciampa
Hello everybody,
I found that this page:

http://docs.gimp.org/2.6/it/gimp-tutorial-quickie-flip.html

is untranslated in the html output. This is weird since the doc is valid
and the translation is _not_ missing in the .po file: tutorial.po

What is goning on?

-- 


Marco Ciampa

++
| Linux User  #78271 |
| FSFE fellow   #364 |
++
___
Gimp-docs mailing list
Gimp-docs@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs