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

lupdate doesn't work with js template strings

XMLWordPrintable

      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.

        1. qtbug76265.zip
          1 kB
          Miika Pernu
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes