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
parent04e3aae0a3602212d1858c19a89a72eb24760eab (diff)
downloadswift-8fdfd7bdb4cee9a580630066951d97315311300c.zip
swift-8fdfd7bdb4cee9a580630066951d97315311300c.tar.bz2
Made placeholders translatable.
-rw-r--r--Swift/QtUI/QtJoinMUCWindow.cpp2
-rw-r--r--Swift/QtUI/UserSearch/QtUserSearchWindow.cpp2
-rw-r--r--Swift/Translations/swift_nl.ts11
3 files changed, 13 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_);
diff --git a/Swift/Translations/swift_nl.ts b/Swift/Translations/swift_nl.ts
index 1f104c2..6034841 100644
--- a/Swift/Translations/swift_nl.ts
+++ b/Swift/Translations/swift_nl.ts
@@ -802,6 +802,13 @@ afbeelding</translation>
</message>
</context>
<context>
+ <name>Swift::QtJoinMUCWindow</name>
+ <message>
+ <source>someroom@rooms.example.com</source>
+ <translation>eenkamer@kamers.voorbeeld.com</translation>
+ </message>
+</context>
+<context>
<name>Swift::QtLoginWindow</name>
<message>
<source>User address:</source>
@@ -1097,6 +1104,10 @@ afbeelding</translation>
<source>This server doesn&apos;t support searching for users.</source>
<translation>Deze server ondersteunt het zoeken van gebruikers niet.</translation>
</message>
+ <message>
+ <source>alice@wonderland.lit</source>
+ <translation>alice@wonderland.lit</translation>
+ </message>
</context>
<context>
<name>Swift::QtWebView</name>