From 8fdfd7bdb4cee9a580630066951d97315311300c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Tue, 15 Mar 2011 22:15:23 +0100 Subject: Made placeholders translatable. 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 + Swift::QtJoinMUCWindow + + someroom@rooms.example.com + eenkamer@kamers.voorbeeld.com + + + Swift::QtLoginWindow User address: @@ -1097,6 +1104,10 @@ afbeelding This server doesn't support searching for users. Deze server ondersteunt het zoeken van gebruikers niet. + + alice@wonderland.lit + alice@wonderland.lit + Swift::QtWebView -- cgit v0.10.2-6-g49f6