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

lconvert qt_xx.ts qt_xx.po generates non-validating .po file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 4.7.0
    • 4.6.2
    • Tools: Linguist
    • None
    • a1c8fc04c17cfbf0060c81d442ffa2440a796112

      lconverting the Qt provided qt_XX.ts files from the translations/ subdir generates a .po file with duplicate strings, which does not validate anymore.

      $ LC_ALL=C msgfmt -o /dev/null libqt4_ar.po
      libqt4_ar.po:8853: duplicate message definition...
      libqt4_ar.po:157: ...this is the location of the first definition
      msgfmt: found 223 fatal errors

      the reason for that seems to be that the context descriptions in linguist .ts files are lost in the .po conversion step.

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

            buddenha Oswald Buddenhagen
            dmueller Dirk Mueller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes