[publican-list] [Bug 452792] whitespace in xref attributes breaks po merging

bugzilla at redhat.com bugzilla at redhat.com
Wed Jun 25 07:55:55 UTC 2008


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: whitespace in xref attributes breaks po merging


https://bugzilla.redhat.com/show_bug.cgi?id=452792


jfearn at redhat.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|jfearn at redhat.com           |than at redhat.com
          Component|publican                    |kdesdk
          QAContact|mhideo at redhat.com           |desktop-bugs at redhat.com
            Summary|po files whitespace in links|whitespace in xref
                   |breaks builds               |attributes breaks po merging




------- Additional Comments From jfearn at redhat.com  2008-06-25 03:55 EST -------
To clarify, this bug only happens when there is a space between the = and the ",
the white space at the end of tag, between the " and the / has no effect.

OK:      <xref linkend="foo" />

NOT OK:  <xref linkend= "foo"/>


This is actually a bug in the way the pot file is created, which is the xml2pot
command in the kdesdk.

e.g.

para in xml:

<para>To view vcpus using <command>virsh</command> refer to <xref linkend=
"form-Virtualization-Managing_guests_with_virsh-Displaying_virtual_CPU_information"/>
for more information.</para>

msgid in pot:

msgid ""
"To view vcpus using <command>virsh</command> refer to <xref linkend=\"form-"
"Virtualization-Managing_guests_with_virsh-Displaying_virtual_CPU_information"
"\"/> for more information."

NOTE: the space between linkend= and " has been removed in the pot.

This means when the PO file is merged with the XML file the msgid doesn't match
the XML and it can't resolve the msg.

Work around is to not have white space between the = and " in attributes.

Moving to kdesdk component for further consideration.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the publican-list mailing list