diff options
author | ck <qt-info@nokia.com> | 2010-01-29 15:07:29 (GMT) |
---|---|---|
committer | ck <qt-info@nokia.com> | 2010-01-29 15:09:24 (GMT) |
commit | cefda8e4491ff82c96fceea2091f69160f8ae584 (patch) | |
tree | c41d3dc8cb300293d2b9f1eed896c7aa8c0adbb8 /tools/assistant | |
parent | 3db151311182b8da820486044f08958a37b0f8e0 (diff) | |
download | Qt-cefda8e4491ff82c96fceea2091f69160f8ae584.zip Qt-cefda8e4491ff82c96fceea2091f69160f8ae584.tar.gz Qt-cefda8e4491ff82c96fceea2091f69160f8ae584.tar.bz2 |
Assistant: Fix unintended tr context change.
Bug was introduced by af30aeb6a1ebb7307f06c122c0c93d152f4d958c
Contributed-by: Ritt Konstantin
Diffstat (limited to 'tools/assistant')
-rw-r--r-- | tools/assistant/lib/qhelpsearchquerywidget.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tools/assistant/lib/qhelpsearchquerywidget.cpp b/tools/assistant/lib/qhelpsearchquerywidget.cpp index b614cb4..f2bb816 100644 --- a/tools/assistant/lib/qhelpsearchquerywidget.cpp +++ b/tools/assistant/lib/qhelpsearchquerywidget.cpp @@ -122,17 +122,17 @@ private: void retranslate() { - simpleSearchLabel->setText(tr("Search for:")); - prevQueryButton->setToolTip(tr("Previous search")); - nextQueryButton->setToolTip(tr("Next search")); - searchButton->setText(tr("Search")); + simpleSearchLabel->setText(QHelpSearchQueryWidget::tr("Search for:")); + prevQueryButton->setToolTip(QHelpSearchQueryWidget::tr("Previous search")); + nextQueryButton->setToolTip(QHelpSearchQueryWidget::tr("Next search")); + searchButton->setText(QHelpSearchQueryWidget::tr("Search")); #ifdef QT_CLUCENE_SUPPORT - advancedSearchLabel->setText(tr("Advanced search")); - similarLabel->setText(tr("words <B>similar</B> to:")); - withoutLabel->setText(tr("<B>without</B> the words:")); - exactLabel->setText(tr("with <B>exact phrase</B>:")); - allLabel->setText(tr("with <B>all</B> of the words:")); - atLeastLabel->setText(tr("with <B>at least one</B> of the words:")); + advancedSearchLabel->setText(QHelpSearchQueryWidget::tr("Advanced search")); + similarLabel->setText(QHelpSearchQueryWidget::tr("words <B>similar</B> to:")); + withoutLabel->setText(QHelpSearchQueryWidget::tr("<B>without</B> the words:")); + exactLabel->setText(QHelpSearchQueryWidget::tr("with <B>exact phrase</B>:")); + allLabel->setText(QHelpSearchQueryWidget::tr("with <B>all</B> of the words:")); + atLeastLabel->setText(QHelpSearchQueryWidget::tr("with <B>at least one</B> of the words:")); #endif } |