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

Invalid plural form qsTr example

    XMLWordPrintable

Details

    • b53a9a370 (dev), c08786494 (6.7), ee68c27af (tqtc/lts-6.5)

    Description

      This example tells to use .arg(), but it does not work like that:

      https://doc.qt.io/qt-6.5/i18n-source-translation.html#qml-example

      Instead it should probably be:

      text: qsTr("%n message(s) saved", "", total)
      

      Attachments

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

        Activity

          People

            smd Jan Arve
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes