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

Invalid plural form qsTr example

XMLWordPrintable

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

      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)
      

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes