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

Add example snippets to qsTrId() methods' documentation

XMLWordPrintable

    • 00a4a1814 (dev), 460b3d02e (6.8), c509a54f2 (tqtc/lts-6.5)
    • DaVinci 103, DaVinci 104, DaVinci 105

      link: https://doc.qt.io/qt-6/qml-qtqml-qt.html#qsTrId-method

      I think we would need example snippets for 

      If n >= 0, all occurrences of %n in the resulting string are replaced with a decimal representation of n. In addition, depending on n's value, the translation text may vary. 

      and

      \begincomment% <string> \endcomment 

      Although the latter one is more obvious compared to the former one, it'd still be nice to have one here too to make the documentation easier for readers.

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

            andreas.eliasson Andreas Eliasson
            mikio_hirai Mikio Hirai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes