From b8d6b9483febcb2cd76e685e23754fc346e9ef52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Thu, 17 Mar 2011 19:23:34 +0100 Subject: Fixed some more strings. diff --git a/Swift/QtUI/EventViewer/QtEvent.cpp b/Swift/QtUI/EventViewer/QtEvent.cpp index 05080d8..e7ea473 100644 --- a/Swift/QtUI/EventViewer/QtEvent.cpp +++ b/Swift/QtUI/EventViewer/QtEvent.cpp @@ -60,10 +60,10 @@ QString QtEvent::text() { std::string reason = subscriptionRequestEvent->getReason(); QString message; if (reason.empty()) { - message = QString("%1 would like to add you to their roster.").arg(subscriptionRequestEvent->getJID().toBare().toString().c_str()); + message = QString(QObject::tr("%1 would like to add you to their contact list.")).arg(subscriptionRequestEvent->getJID().toBare().toString().c_str()); } else { - message = QString("%1 would like to add you to their roster, saying '%2'").arg(subscriptionRequestEvent->getJID().toBare().toString().c_str()).arg(reason.c_str()); + message = QString(QObject::tr("%1 would like to add you to their contact list, saying '%2'")).arg(subscriptionRequestEvent->getJID().toBare().toString().c_str()).arg(reason.c_str()); } return message; } diff --git a/Swift/QtUI/QtMainWindow.cpp b/Swift/QtUI/QtMainWindow.cpp index bb661fb..6391961 100644 --- a/Swift/QtUI/QtMainWindow.cpp +++ b/Swift/QtUI/QtMainWindow.cpp @@ -134,7 +134,7 @@ void QtMainWindow::handleEventCountUpdated(int count) { QColor eventTabColor = (count == 0) ? QColor() : QColor(255, 0, 0); // invalid resets to default int eventIndex = 1; tabs_->tabBar()->setTabTextColor(eventIndex, eventTabColor); - QString text = tr("Notices"); + QString text = tr("&Notices"); if (count > 0) { text += QString(" (%1)").arg(count); } diff --git a/Swift/Translations/swift_nl.ts b/Swift/Translations/swift_nl.ts index 7510d2e..091631b 100644 --- a/Swift/Translations/swift_nl.ts +++ b/Swift/Translations/swift_nl.ts @@ -450,6 +450,14 @@ No rooms found Geen kamers gevonden + + %1 would like to add you to their contact list. + %1 wil u aan zijn contactenlijst toevoegen. + + + %1 would like to add you to their contact list, saying '%2' + %1 wil u aan zijn contactenlijst toevoegen, met als boodschap '%2' + QWizard @@ -703,10 +711,6 @@ afbeelding Bladwijzer ongeldig - You must specify a valid room address (e.g. myroom@chats.example.com). - Specifieer een geldige kamer (bv. mijnkamer@kamers.voorbeeld.com). - - You must specify a valid room address (e.g. someroom@rooms.example.com). Specifieer een geldige kamer (bv. eenkamer@kamers.voorbeeld.com). @@ -957,10 +961,6 @@ afbeelding &Afmelden - Notices - Berichten - - Edit &Profile Bewerk &profiel -- cgit v0.10.2-6-g49f6