Re: Current status on migration

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

 



Hi Julien,

julien (Montag, 8. September 2008, 08:24):
> After updating xml2po-support, I ran:
> xml2po-support/DEST> xml2po --output=file-new.po --reuse
> fr/file-new.xml --language=fr en/file-new.xml

Thanks for testing it. :-)

> The file-new.po I got is wrong :-(.
> It is correct up to line 33, "Basic options".
>
> >From there, all msgstr are shifted:

Yes, I can reproduce it.
My "file-new.po" contains the following output:

    #: .../en/file-new.xml:33(phrase) .../en/file-new.xml:41(phrase)
    msgid "The <placeholder-1/> dialog"
    msgstr "Modèle"

Looking at the relevant lines of "en/file-new.xml" I find

    33: ... The <quote>New Image</quote> dialog</phrase>
    42: ... The <quote>Template</quote> dialog

It seems that "xml2po" can't handle these lines when "reusing" an XML 
file even when original XML file and reused XML file both have the same 
structure.

However, I'm using my own patched version of "xml2po" - see

    http://bugzilla.gnome.org/show_bug.cgi?id=545478

for the bugreport and

    http://bugzilla.gnome.org/attachment.cgi?id=115553&action=view

for the patch.

Using the patched version of "xml2po" the output is usable. Some 
messages are not translated, but that's ok.

Apparently we can't rely on the default gnome-doc-utils package, looks 
like we have to provide a patched version of "xml2po".
Hmm, maybe that's not so bad, then we could apply more patches, e.g. 
producing a useful header for our po files.

Ulf
_______________________________________________
Gimp-docs mailing list
Gimp-docs@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs


[Index of Archives]     [Video For Linux]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [Scanners]     [GEGL]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux