summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-03-15 21:15:23 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-03-15 21:15:23 (GMT)
commit8fdfd7bdb4cee9a580630066951d97315311300c (patch)
treec27e10c775261de81eecfa89d966fc4e2dc41472 /Swift/QtUI
parent04e3aae0a3602212d1858c19a89a72eb24760eab (diff)
downloadswift-8fdfd7bdb4cee9a580630066951d97315311300c.zip
swift-8fdfd7bdb4cee9a580630066951d97315311300c.tar.bz2
Made placeholders translatable.
Diffstat (limited to 'Swift/QtUI')
-rw-r--r--Swift/QtUI/QtJoinMUCWindow.cpp2
-rw-r--r--Swift/QtUI/UserSearch/QtUserSearchWindow.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/Swift/QtUI/QtJoinMUCWindow.cpp b/Swift/QtUI/QtJoinMUCWindow.cpp
index ac55101..7980a17 100644
--- a/Swift/QtUI/QtJoinMUCWindow.cpp
+++ b/Swift/QtUI/QtJoinMUCWindow.cpp
@@ -12,7 +12,7 @@ namespace Swift {
QtJoinMUCWindow::QtJoinMUCWindow() {
ui.setupUi(this);
#if QT_VERSION >= 0x040700
- ui.room->setPlaceholderText("someroom@rooms.example.com");
+ ui.room->setPlaceholderText(tr("someroom@rooms.example.com"));
#endif
connect(ui.room, SIGNAL(returnPressed()), this, SLOT(handleJoin()));
connect(ui.searchButton, SIGNAL(clicked()), this, SLOT(handleSearch()));
diff --git a/Swift/QtUI/UserSearch/QtUserSearchWindow.cpp b/Swift/QtUI/UserSearch/QtUserSearchWindow.cpp
index 5f84900..0559683 100644
--- a/Swift/QtUI/UserSearch/QtUserSearchWindow.cpp
+++ b/Swift/QtUI/UserSearch/QtUserSearchWindow.cpp
@@ -40,7 +40,7 @@ QtUserSearchWindow::QtUserSearchWindow(UIEventStream* eventStream, UserSearchWin
connect(firstPage_->byLocalSearch_, SIGNAL(toggled(bool)), this, SLOT(handleFirstPageRadioChange()));
connect(firstPage_->byRemoteSearch_, SIGNAL(toggled(bool)), this, SLOT(handleFirstPageRadioChange()));
#if QT_VERSION >= 0x040700
- firstPage_->jid_->setPlaceholderText("alice@wonderland.lit");
+ firstPage_->jid_->setPlaceholderText(tr("alice@wonderland.lit"));
#endif
firstPage_->service_->setEnabled(false);
setPage(1, firstPage_);