diff options
author | Jeremy Katz <jeremy.katz@nokia.com> | 2012-08-01 14:36:13 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-01 15:37:46 +0200 |
commit | a68577e7e07cce40cac142f6e2b386a76f3ecbd1 (patch) | |
tree | d79bbae4fcebb76f72aa1a56beac09b945967248 /doc/src/examples/trollprint.qdoc | |
parent | d61c356516cddb9cb0862d13479acd4c3310a972 (diff) |
replace \key and \gui qdoc commands with \uicontrol
Change-Id: I0753305d4fe1ea20417f451766101da1247dfeeb
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'doc/src/examples/trollprint.qdoc')
-rw-r--r-- | doc/src/examples/trollprint.qdoc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/src/examples/trollprint.qdoc b/doc/src/examples/trollprint.qdoc index 63566bdc21..4035f3c561 100644 --- a/doc/src/examples/trollprint.qdoc +++ b/doc/src/examples/trollprint.qdoc @@ -147,7 +147,7 @@ are obsolete. This is because these texts appeared in \c tr() calls that have been replaced by new calls with two arguments. The second pair has "two-sided" as their comment, and the third pair has "colors" as their - comment. The comments are shown in the \gui {Source text and comments} + comment. The comments are shown in the \uicontrol {Source text and comments} area in \e {Qt Linguist}. Second, the translation text "Ativado" and "Desativado" have been @@ -184,7 +184,7 @@ dialogs. You could also add them to the example files, e.g. \c mainwindow.cpp and \c printpanel.cpp are appropriate files. Run \c lupdate and then start \e {Qt Linguist} and load in \c trollprint_pt.ts. - You should see the comments in the \gui {Source text and comments} area + You should see the comments in the \uicontrol {Source text and comments} area as you browse through the list of source texts. Sometimes, particularly with large programs, it can be difficult for @@ -241,7 +241,7 @@ Go over the translations in \c MainWindow and mark these as "done". Translate "\<b\>TROLL PRINT\</b\>" as "\<b\>TROLL IMPRIMIR\</b\>". - When you're translating "Two-sided", press the \gui {Guess Again} + When you're translating "Two-sided", press the \uicontrol {Guess Again} button to translate "Two-sided", but change the "2" into "Dois". Save and quit, then run \c lrelease. The Portuguese version @@ -249,9 +249,9 @@ \image linguist-trollprint_11_pt.png - Choose \gui{Ajuda|Sobre} (\gui{Help|About}) to see the about box. + Choose \uicontrol{Ajuda|Sobre} (\uicontrol{Help|About}) to see the about box. - If you choose \gui {Ajuda|Sobre Qt} (\gui {Help|About Qt}), you'll get + If you choose \uicontrol {Ajuda|Sobre Qt} (\uicontrol {Help|About Qt}), you'll get an English dialog. Oops! Qt itself needs to be translated. See \l{Internationalization with Qt} for details. |