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

The Writing Source Code for Translation documentation references undefined _NoOp functions

    XMLWordPrintable

Details

    • 58112f8a2 (6.7), de9559a4f (tqtc/lts-6.5)

    Description

      The Mark Translatable Data Text Strings -QML: Use _NOOP Functions subsection (https://doc.qt.io/qt-6/i18n-source-translation.html#qml-use-noop-functions) still refers to the following functions which are no longer available:

      • qsTrNoOp()
      • qsTranslateNoOp()
      • qsTrIdNoOp()

      The document should be updated to refer to the following functions (https://doc.qt.io/qt-6/qml-qtqml-qt.html):

      • QT_TR_NOOP()
      • QT_TRANSLATE_NOOP()
      • QT_TRID_NOOP()

      QTBUG-124657 updated the document for 6.8: https://doc-snapshots.qt.io/qt6-6.8/i18n-source-translation.html#qml-use-noop-functions

      Attachments

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

        Activity

          People

            kkohne Kai Köhne
            lysandra.sola Lysandra Sola
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes