From a30a685ed22c2e677620baf564fe341664d39ca7 Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Wed, 25 Feb 2015 08:16:24 +0000 Subject: [PATCH] Improved wording on plugin downloader #4168 Also used translate function on strings --- src/gui/src/PluginWizardPage.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/gui/src/PluginWizardPage.cpp b/src/gui/src/PluginWizardPage.cpp index 9e0df7c3..8439d707 100644 --- a/src/gui/src/PluginWizardPage.cpp +++ b/src/gui/src/PluginWizardPage.cpp @@ -73,7 +73,7 @@ void PluginWizardPage::queryPluginDone() { QStringList pluginList = m_pWebClient->getPluginList(); if (pluginList.isEmpty()) { - updateStatus("No plugin available."); + updateStatus(tr("Setup complete.")); m_Finished = true; emit completeChanged(); } @@ -95,7 +95,7 @@ void PluginWizardPage::updateDownloadStatus() void PluginWizardPage::finished() { - updateStatus(tr("Plugins are ready.")); + updateStatus(tr("Plugins installed successfully.")); stopSpinning(); // ideally this should check if ns plugin is ready @@ -117,8 +117,6 @@ void PluginWizardPage::generateCertificate() m_pPluginManagerThread, SLOT(quit())); - updateStatus(tr("Generating certificate...")); - QMetaObject::invokeMethod( m_pPluginManager, "generateCertificate", @@ -191,7 +189,7 @@ void PluginWizardPage::initializePage() if (m_pWebClient == NULL) { if (m_Email.isEmpty() || m_Password.isEmpty()) { - updateStatus("No plugin available."); + updateStatus(tr("Setup complete.")); stopSpinning(); m_Finished = true; emit completeChanged(); @@ -232,7 +230,7 @@ void PluginWizardPage::initializePage() m_pWebClient->moveToThread(thread); thread->start(); - updateStatus("Querying plugin list..."); + updateStatus(tr("Getting plugin list...")); QMetaObject::invokeMethod(m_pWebClient, "queryPluginList", Qt::QueuedConnection); } }