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

lupdate truncates namespace

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.9, 5.12.0
    • Tools: Linguist
    • None

    Description

      code:

      QString foo::tr(const char* msg) 
      { 
          return QCoreApplication::translate("foo", msg); 
      }
      //...
      void bar()
      {
          foo:tr("String");
      }

      ts:

      <context>
          <name>f</name>
          <message>
              <location filename="file.cpp" line="1"/>
              <source>String</source>
              <translation>String</translation>
          </message>
      </context>

      Sometimes namespace is truncated to first letter in ts file. Using the same construction in different file works fine.
      This bug is reproduced only on versions 5.7 and later. On 5.6 namespaces are not truncated.

      Attachments

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

        Activity

          People

            kkohne Kai Köhne
            serhiirubets Serhii Rubets
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes