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

Add string::arg in QJSEngine::installTranslatorFunctions

XMLWordPrintable

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes