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

lupdate misparses flow control statements as function calls, thus discards meta data

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.4.2
    • Tools: Linguist

      At present lUpdate will not find translation comments if the following syntax is applied:

      if (foo)
          //: comment
          return tr("foobar");
      

      Only this style is detected:

      if (foo) {
          //: comment
          return tr("foobar");
      }
      

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

            kkohne Kai Köhne
            qtcomsupport Qt Support
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes