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

lupdate doesn't work with js template strings

    XMLWordPrintable

Details

    Description

      lupdate doesn't add js template literals / strings to .tr files.

      Will be added to .ts:

      qsTr("Answer is: %1").arg(answer)

      Will not be added to .ts:

      qsTr(`Answer is: ${answer}`)

       

      Steps to reproduce:

      **Run lupdate on the .pro file of the attached project.

      Attachments

        Issue Links

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

          Activity

            People

              kkohne Kai Köhne
              miikapernu Miika Pernu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes