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.

        For Gerrit Dashboard: QTBUG-43113
        # Subject Branch Project Status CR V

            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