From 612d2262fba5728b1b0f38b286ef9b2572386dd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Sat, 19 Mar 2011 18:42:33 +0100 Subject: Added more untranslated strings. diff --git a/Swift/Controllers/EventNotifier.cpp b/Swift/Controllers/EventNotifier.cpp index 055ed3e..645ee3c 100644 --- a/Swift/Controllers/EventNotifier.cpp +++ b/Swift/Controllers/EventNotifier.cpp @@ -9,6 +9,7 @@ #include #include +#include #include "Swift/Controllers/XMPPEvents/EventController.h" #include "SwifTools/Notifier/Notifier.h" #include "Swiften/Avatars/AvatarManager.h" @@ -47,7 +48,7 @@ void EventNotifier::handleEventAdded(boost::shared_ptr event) { else if(boost::shared_ptr subscriptionEvent = boost::dynamic_pointer_cast(event)) { JID jid = subscriptionEvent->getJID(); std::string title = ""; - std::string message = nickResolver->jidToNick(jid) + " wants to add you to his/her roster"; + std::string message = str(format(QT_TRANSLATE_NOOP("", "%1% wants to add you to his/her contact list")) % nickResolver->jidToNick(jid)); notifier->showMessage(Notifier::SystemMessage, title, message, boost::filesystem::path(), boost::function()); } else if(boost::shared_ptr errorEvent = boost::dynamic_pointer_cast(event)) { diff --git a/Swift/QtUI/QtStrings.h b/Swift/QtUI/QtStrings.h index 13fdd73..39e6a80 100644 --- a/Swift/QtUI/QtStrings.h +++ b/Swift/QtUI/QtStrings.h @@ -16,6 +16,8 @@ QT_TRANSLATE_NOOP3("QApplication", "QT_LAYOUT_DIRECTION", "Translate this to LTR for left-to-right or RTL for right-to-left languages"); +QT_TRANSLATE_NOOP("QWebPage", "Copy Link"); + QT_TRANSLATE_NOOP("QWizard", "< &Back"); QT_TRANSLATE_NOOP("QWizard", "&Finish"); QT_TRANSLATE_NOOP("QWizard", "&Help"); diff --git a/Swift/QtUI/QtSubscriptionRequestWindow.cpp b/Swift/QtUI/QtSubscriptionRequestWindow.cpp index 83b8b31..7828103 100644 --- a/Swift/QtUI/QtSubscriptionRequestWindow.cpp +++ b/Swift/QtUI/QtSubscriptionRequestWindow.cpp @@ -15,7 +15,7 @@ namespace Swift { QtSubscriptionRequestWindow::QtSubscriptionRequestWindow(boost::shared_ptr event, QWidget* parent) : QDialog(parent), event_(event) { - QString text = QString("%1 would like to add you to their roster.\n Would you like to add them to your roster and share your status when you're online? \n\nIf you choose to defer this choice, you'll be asked again when you next login.").arg(event->getJID().toString().c_str()); + QString text = QString(tr("%1 would like to add you to their contact list.\n Would you like to add them to your contact list and share your status when you're online? \n\nIf you choose to defer this choice, you will be asked again when you next login.")).arg(event->getJID().toString().c_str()); QVBoxLayout* layout = new QVBoxLayout(); QLabel* label = new QLabel(text, this); layout->addWidget(label); diff --git a/Swift/Translations/swift_nl.ts b/Swift/Translations/swift_nl.ts index 091631b..1e2fcef 100644 --- a/Swift/Translations/swift_nl.ts +++ b/Swift/Translations/swift_nl.ts @@ -408,6 +408,10 @@ Error Fout + + %1% wants to add you to his/her contact list + %1% wil u aan zijn/haar contactenlijst toevoegen + QApplication @@ -460,6 +464,13 @@ + QWebPage + + Copy Link + Kopieer koppeling + + + QWizard < &Back @@ -1036,6 +1047,16 @@ afbeelding Defer Uitstellen + + %1 would like to add you to their contact list. + Would you like to add them to your contact list and share your status when you're online? + +If you choose to defer this choice, you will be asked again when you next login. + %1 wil u aan zijn/haar contactenlijst toevoegen. +Wilt u dit contact toevoegen aan uw contactenlijst, en uw aanwezigheid delen wanneer u aanwezig bent? + +Als u deze keuze uitstelt, zal deze vraag opnieuw gesteld worden wanneer u zich opnieuw aanmeldt. + Swift::QtTreeWidget -- cgit v0.10.2-6-g49f6