summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-02-19 08:48:05 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-02-20 14:41:44 (GMT)
commitf769a6b029779ba3f1308fd4c66a799a7390cb77 (patch)
tree3754e692ca5760eac6e10cfdb8ac0aae2cdf18ee /Swift/QtUI/UserSearch/QtUserSearchWindow.cpp
parentb1836ffb49bd7740dbd7c32bfad04d077e81ecb5 (diff)
downloadswift-f769a6b029779ba3f1308fd4c66a799a7390cb77.zip
swift-f769a6b029779ba3f1308fd4c66a799a7390cb77.tar.bz2
Make Swift translatable.
Diffstat (limited to 'Swift/QtUI/UserSearch/QtUserSearchWindow.cpp')
-rw-r--r--Swift/QtUI/UserSearch/QtUserSearchWindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Swift/QtUI/UserSearch/QtUserSearchWindow.cpp b/Swift/QtUI/UserSearch/QtUserSearchWindow.cpp
index a384f5d..e06cd31 100644
--- a/Swift/QtUI/UserSearch/QtUserSearchWindow.cpp
+++ b/Swift/QtUI/UserSearch/QtUserSearchWindow.cpp
@@ -23,7 +23,7 @@ namespace Swift {
QtUserSearchFirstPage::QtUserSearchFirstPage(UserSearchWindow::Type type, const QString& title) {
setupUi(this);
setTitle(title);
- setSubTitle(QString(tr("%1. If you know their JID you can enter it directly, or you can search for them.")).arg(type == UserSearchWindow::AddContact ? tr("Add another user to your roster") : tr("Chat to another user")));
+ setSubTitle(QString(tr("%1. If you know their address you can enter it directly, or you can search for them.")).arg(type == UserSearchWindow::AddContact ? tr("Add another user to your contact list") : tr("Chat to another user")));
connect(jid_, SIGNAL(textChanged(const QString&)), this, SLOT(emitCompletenessCheck()));
connect(service_->lineEdit(), SIGNAL(textChanged(const QString&)), this, SLOT(emitCompletenessCheck()));
}
@@ -291,10 +291,10 @@ void QtUserSearchWindow::clear() {
firstPage_->errorLabel_->setVisible(false);
QString howText;
if (type_ == AddContact) {
- howText = QString("How would you like to find the user to add?");
+ howText = QString(tr("How would you like to find the user to add?"));
}
else {
- howText = QString("How would you like to find the user to chat to?");
+ howText = QString(tr("How would you like to find the user to chat to?"));
}
firstPage_->howLabel_->setText(howText);
firstPage_->byJID_->setChecked(true);