diff options
author | Mike FABIAN <mike.fabian@basyskom.de> | 2010-06-02 18:42:17 +0200 |
---|---|---|
committer | Mike FABIAN <mike.fabian@basyskom.de> | 2010-06-28 12:06:13 +0200 |
commit | f2566b46f1c285d2709a0014a7609799de48e8c4 (patch) | |
tree | 1113fcbd93ed9ca323fad959d5b6834af6659322 /demos | |
parent | 134a579c2bce3ba17680b85fa39f286b54a63ae9 (diff) |
Fixes: NB#170699, Documentation does not mention how %L1 localization is done
RevBy: John Tapsell, Torsten Rahn
Details:
documents the use of %L1 and %Ln and the differences to %1 and %n
and gives some examples.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/widgetsgallery/languagepage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/widgetsgallery/languagepage.cpp b/demos/widgetsgallery/languagepage.cpp index e0596bda..cbb3ac07 100644 --- a/demos/widgetsgallery/languagepage.cpp +++ b/demos/widgetsgallery/languagepage.cpp @@ -362,7 +362,7 @@ void LanguagePage::retranslateUi() //% "%Ln boxes with a total weight of %L1 kilogram\x9c!! %Ln boxes, total weight of %L1 kg" labelExampleTranslation1->setText( - qtTrId("xx_language_trans_%Ln_boxes_weight_%L1", 0).arg(1234.56)); + qtTrId("xx_language_trans_%Ln_boxes_weight_%L1", 0).arg(0)); labelExampleTranslation2->setText( qtTrId("xx_language_trans_%Ln_boxes_weight_%L1", 1).arg(2431.78)); labelExampleTranslation3->setText( |