-
Suggestion
-
Resolution: Fixed
-
P3: Somewhat important
-
6.7.0
-
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.
- relates to
-
QTBUG-127795 Add a snippet in the documentation for the use of the parameter n in qsTr()
-
- Closed
-
-
QTBUG-127796 Describe the point of using qsTranslate() instead of qsTr()
-
- Closed
-