Improved wording on plugin downloader #4168

Also used translate function on strings
This commit is contained in:
Nick Bolton 2015-02-25 08:16:24 +00:00
parent 3a0068ec2e
commit a30a685ed2
1 changed files with 4 additions and 6 deletions

View File

@ -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);
}
}