Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-68098

QT linguist expands XML entities in XLIFF ids

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5: Not important P5: Not important
    • 6.10.0 FF
    • 5.10.1
    • Tools: Linguist
    • None
    • Tested on Window 10.
    • cdb08897c (dev)

      If an XLIFF segment's id contains XML entities, they are resolved and saved in plain text.

      Eg :

      A file containing this

      <trans-unit xml:space="preserve" id="foo &quot;bar&quot; baz" approved="yes">
        <source>XXX</source>
        <target state="translated">YYY</target>
      </trans-unit>

      will be saved like this

      <trans-unit xml:space="preserve" id="foo "bar" baz" approved="yes">
        <source>XXX</source>
        <target state="translated">YYY</target>
      </trans-unit>

      After that, even QT Linguist will be unable to read the file.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            masoud.jami Masoud Jami
            yann.leydier_stormshield.eu yann.leydier_stormshield.eu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes