Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-130

pyside-lupdate destroys user data in TS files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.0
    • 1.1.0
    • PySide
    • Ubuntu 11.04 64-bit

    Description

      The attached example TS file was created by linguist 4.7.2, and adheres to the TS DTD at http://doc.qt.digia.com/stable/linguist-ts-file-format.html. It makes use of length variants and translator comments. If the TS file is updated (using `pyside-lupdate example.py -ts hu_HU.ts`), the comments and all but one variant translation are lost. The remaining translation will have an unwanted newline.

      (Note: Running the example script will never display the translated text, due to a yet-to-be-filed bug regarding inheritance.)

      Attachments

        1. example.py
          0.5 kB
        2. hu_HU.ts
          0.5 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nmelchior Nik Melchior
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: