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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.10.0 FF
    • 5.15.1
    • Tools: Linguist
    • None
    • All
    • e24771eca (dev)

      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.

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

            masoud.jami Masoud Jami
            roussinm Maxime Roussin-Bélanger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes