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

Translation context is wrong inside Qt.include()d files

    XMLWordPrintable

Details

    • 89292e1bb7367e19afe9c37537b1881b63a27e7f (qt/qtdeclarative/5.14)

    Description

      Translations don't work when being used in code Qt.include()d from other JavaScript code. The context inside method_qsTr() remains the context of the file which included the other one. See attached example code.

      Upgrading a project from 5.10.1 where this worked fine.

      Attachments

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

        Activity

          People

            ulherman Ulf Hermann
            gri Christoph Keller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes