bugs in po's created with xml2po

Jordi Mallach jordi at canonical.com
Mon Dec 12 09:03:13 GMT 2005


Hey Matthew!

On Sun, Dec 11, 2005 at 08:39:05PM +0000, Matthew East wrote:
> 1. Some problems caused by the presence of inverted commas in tags (e.g.
> <ulink url="http://blah.com"> combined the the inverted commas used by
> the po to separate each line of the msgstr. xml2po didn't like this and
> spit it out. The following msgid is an example of a problem:
> 
> #: faqguide.xml:840(para)
> msgid ""
> "Currently there is no legal way to play DVDs on Linux using free
> packages. "
> "To enable DVD playback, read DVD-video at <ulink "
> "url=\"https://wiki.ubuntu.com"
> "/RestrictedFormats\">https://wiki.ubuntu.com/RestrictedFormats</ulink>"
> msgstr ""
> "Atualmente não existe meio legal para se tocar DVDs no Linux
> utilizando"
> "pacotes livres. Para habilitar o suporte a DVD, leia DVD-video em
> <ulink "
> "url=\""
> "https://wiki.ubuntu.com/RestrictedFormats
> \">https://wiki.ubuntu.com/Rest"
> "rictedFormats</ulink>"
> 
> I had to amend these manually so that any instance of the double
> inverted commas came at the beginning of the line instead of the end.

This looks like a rosetta bug to me. The content of that msgset is
completely valid, I think, so it's probably Rosetta's parser.

> 2. Duplicate msgid's. xml2po gave fatal errors when it found duplicate
> msgid's: many of the po's contained msgid's at the end which appeared to
> be commented out like this:
> #: faqguide.xml:5581(screen)
> #, no-wrap
> #~ msgid ""
> #~ "wget -c http://frankandjacq.com/ubuntuguide/mozilla-thunderbird.xpm
> \n"
> #~ "chmod 644 mozilla-thunderbird.xpm\n"
> 
> etc.

Do these exist when exporting a file from Rosetta, or when xml2po
generates the po? If the former, it's Rosetta's fault as it's generating
invalid files. Likewise, if it's xml2po.

> Let me know if I need to file these, or if they are filed already, or if
> they are not rosetta bugs!!

Carlos will be able to give more accurate info, at least on #1.

Thanks for the notice!
Jordi
-- 
Jordi Mallach Pérez  --  Debian developer     http://www.debian.org/
jordi at sindominio.net     jordi at debian.org     http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.ubuntu.com/archives/rosetta-users/attachments/20051212/ab0a9fe4/attachment.pgp


More information about the rosetta-users mailing list