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

Add string::arg in QJSEngine::installTranslatorFunctions

    XMLWordPrintable

Details

    Description

      QJSEngine::installTranslatorFunctions add the translator methods like qsTr() to an object.

      However, the custom string.arg method is not added automatically, which let idioms like

      qsTr("Hello %1").arg("world")

      fail.

      Attachments

        Issue Links

          Activity

            People

              kkohne Kai Köhne
              kkohne Kai Köhne
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: