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

qsTranslate is not picked up by lupdate/lrelease in template literal string in qml

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.1
    • Tools: Linguist
    • None
    • All

    Description

      Given a qml property with a template literal string:

      text: `${qsTranslate("Context", "Preinstalling...")}... ${Math.floor(progress.value)}%`
      

      it is ignored and won't be added to the `.ts` files.

      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
              roussinm Maxime Roussin-Bélanger
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes