Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
None
-
6.7
-
None
Description
The snippet in https://doc.qt.io/qt-6/i18n-source-translation.html#qml-example does not seem to work.
Instead of
text: qsTr("%n message(s) saved").arg(total)
it should be
text: qsTr("%n message(s) saved", "", total)
as explained here https://doc.qt.io/qt-6/qml-qtqml-qt.html#qsTr-method
Attachments
Issue Links
- duplicates
-
QTBUG-124844 Invalid plural form qsTr example
- Closed