From 77d35be6bd8debc0818761b9ee6235f9e23467f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Thu, 28 Apr 2011 23:00:40 +0200 Subject: Updated some text strings. diff --git a/Swift/Controllers/MainController.cpp b/Swift/Controllers/MainController.cpp index 737839f..c00c080 100644 --- a/Swift/Controllers/MainController.cpp +++ b/Swift/Controllers/MainController.cpp @@ -364,7 +364,7 @@ void MainController::handleInputIdleChanged(bool idle) { void MainController::handleLoginRequest(const std::string &username, const std::string &password, const std::string& certificateFile, bool remember, bool loginAutomatically) { jid_ = JID(username); if (!jid_.isValid() || jid_.getNode().empty()) { - loginWindow_->setMessage(QT_TRANSLATE_NOOP("", "Username not a valid format")); + loginWindow_->setMessage(QT_TRANSLATE_NOOP("", "User address invalid. User address should be of the form 'alice@wonderland.lit'")); loginWindow_->setIsLoggingIn(false); } else { loginWindow_->setMessage(""); diff --git a/Swift/QtUI/QtMainWindow.cpp b/Swift/QtUI/QtMainWindow.cpp index 5262c38..0c959d6 100644 --- a/Swift/QtUI/QtMainWindow.cpp +++ b/Swift/QtUI/QtMainWindow.cpp @@ -108,7 +108,7 @@ QtMainWindow::QtMainWindow(QtSettingsProvider* settings, UIEventStream* uiEventS chatUserAction_ = new QAction(tr("Start &Chat"), this); connect(chatUserAction_, SIGNAL(triggered(bool)), this, SLOT(handleChatUserActionTriggered(bool))); actionsMenu->addAction(chatUserAction_); - serverAdHocMenu_ = new QMenu("Server Commands", this); + serverAdHocMenu_ = new QMenu(tr("Run Server Command"), this); actionsMenu->addMenu(serverAdHocMenu_); actionsMenu->addSeparator(); QAction* signOutAction = new QAction(tr("&Sign Out"), this); @@ -118,7 +118,7 @@ QtMainWindow::QtMainWindow(QtSettingsProvider* settings, UIEventStream* uiEventS connect(treeWidget_, SIGNAL(onSomethingSelectedChanged(bool)), editUserAction_, SLOT(setEnabled(bool))); setAvailableAdHocCommands(std::vector()); - QAction* adHocAction = new QAction("Populating commands..", this); + QAction* adHocAction = new QAction(tr("Collecting commands..."), this); adHocAction->setEnabled(false); serverAdHocMenu_->addAction(adHocAction); serverAdHocCommandActions_.append(adHocAction); @@ -248,7 +248,7 @@ void QtMainWindow::setAvailableAdHocCommands(const std::vector serverAdHocCommandActions_.append(action); } if (serverAdHocCommandActions_.isEmpty()) { - QAction* action = new QAction("No available commands", this); + QAction* action = new QAction(tr("No Available Commands"), this); action->setEnabled(false); serverAdHocMenu_->addAction(action); serverAdHocCommandActions_.append(action); diff --git a/Swift/Translations/swift_nl.ts b/Swift/Translations/swift_nl.ts index 0683260..7e8bfbd 100644 --- a/Swift/Translations/swift_nl.ts +++ b/Swift/Translations/swift_nl.ts @@ -416,6 +416,22 @@ There was an error publishing your profile data Er is een fout opgetreden bij het publiceren van uw profiel + + %1% (%2%) + %1% (%2%) + + + %1% and %2% others (%3%) + %1% en %2% anderen (%3%) + + + %1%, %2% (%3%) + %1%, %2% (%3%) + + + User address invalid. User address should be of the form 'alice@wonderland.lit' + Gebruikersadres ongeldig. Gebruikersadres moet van de vorm 'alice@wonderland.lit' zijn + CloseButton @@ -835,6 +851,10 @@ Bookmarked Rooms Bladwijzers + + Recent Chats + Recente conversaties + Swift::QtAboutWidget @@ -866,6 +886,37 @@ + Swift::QtAdHocCommandWindow + + Cancel + Annuleren + + + Back + Terug + + + Next + Volgende + + + Complete + Voltooien + + + Error: %1 + Fout: %1 + + + Warning: %1 + Waarschuwing: %1 + + + Error executing command + Fout bij het uitvoeren van de opdracht + + + Swift::QtAvatarWidget No picture @@ -1161,6 +1212,18 @@ afbeelding Enter &Room &Kamer betreden + + Run Server Command + Voer opdracht op server uit + + + Collecting commands... + Opdrachten aan het verzamelen... + + + No Available Commands + Geen beschikbare opdrachten + Swift::QtNameWidget -- cgit v0.10.2-6-g49f6