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

lupdate silently accepts multiple contradicting source strings for the same message id

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.2.0
    • 5.0.0
    • Tools: Linguist
    • None
    • Windows8 64bit
    • 20ce1bdb3dd7b1b8868145bf8aec6a9bb788903b

    Description

      lupdate creates one tranlation sections for different strings.

      It creates:
      <location filename="wlcreateanalysiswizard.cpp" line="70"/>
      <location filename="wlcreateanalysiswizard.cpp" line="79"/>
      <location filename="wlcreateanalysiswizard.cpp" line="88"/>
      <source>Load a TOF File</source>

      whilie line 79 is:
      m_title = tr("Load a FST File");
      and line 88 is:
      m_title = tr("Load a Fnd File");

      The issue is very wired and should be a bug.

      Attachments

        1. 0001-add-a-test-that-could-produce-wrong-tranlsation-sect.patch
          3 kB
          Richard
        2. wlAnalysis_zh_CN.ts
          5 kB
          Richard
        3. wlcreateanalysiswizard.cpp
          2 kB
          Richard
        4. wlcreateanalysiswizard.h
          1 kB
          Richard

        Issue Links

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

          Activity

            People

              buddenha Oswald Buddenhagen
              pangwa Richard
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes