diff options
Diffstat (limited to 'Swift')
-rw-r--r-- | Swift/QtUI/QtJoinMUCWindow.cpp | 2 | ||||
-rw-r--r-- | Swift/QtUI/UserSearch/QtUserSearchWindow.cpp | 2 | ||||
-rw-r--r-- | Swift/Translations/swift_nl.ts | 11 |
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'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> |