Improved wording on plugin downloader #4168
Also used translate function on strings
This commit is contained in:
parent
3a0068ec2e
commit
a30a685ed2
|
@ -73,7 +73,7 @@ void PluginWizardPage::queryPluginDone()
|
||||||
{
|
{
|
||||||
QStringList pluginList = m_pWebClient->getPluginList();
|
QStringList pluginList = m_pWebClient->getPluginList();
|
||||||
if (pluginList.isEmpty()) {
|
if (pluginList.isEmpty()) {
|
||||||
updateStatus("No plugin available.");
|
updateStatus(tr("Setup complete."));
|
||||||
m_Finished = true;
|
m_Finished = true;
|
||||||
emit completeChanged();
|
emit completeChanged();
|
||||||
}
|
}
|
||||||
|
@ -95,7 +95,7 @@ void PluginWizardPage::updateDownloadStatus()
|
||||||
|
|
||||||
void PluginWizardPage::finished()
|
void PluginWizardPage::finished()
|
||||||
{
|
{
|
||||||
updateStatus(tr("Plugins are ready."));
|
updateStatus(tr("Plugins installed successfully."));
|
||||||
stopSpinning();
|
stopSpinning();
|
||||||
|
|
||||||
// ideally this should check if ns plugin is ready
|
// ideally this should check if ns plugin is ready
|
||||||
|
@ -117,8 +117,6 @@ void PluginWizardPage::generateCertificate()
|
||||||
m_pPluginManagerThread,
|
m_pPluginManagerThread,
|
||||||
SLOT(quit()));
|
SLOT(quit()));
|
||||||
|
|
||||||
updateStatus(tr("Generating certificate..."));
|
|
||||||
|
|
||||||
QMetaObject::invokeMethod(
|
QMetaObject::invokeMethod(
|
||||||
m_pPluginManager,
|
m_pPluginManager,
|
||||||
"generateCertificate",
|
"generateCertificate",
|
||||||
|
@ -191,7 +189,7 @@ void PluginWizardPage::initializePage()
|
||||||
if (m_pWebClient == NULL) {
|
if (m_pWebClient == NULL) {
|
||||||
if (m_Email.isEmpty() ||
|
if (m_Email.isEmpty() ||
|
||||||
m_Password.isEmpty()) {
|
m_Password.isEmpty()) {
|
||||||
updateStatus("No plugin available.");
|
updateStatus(tr("Setup complete."));
|
||||||
stopSpinning();
|
stopSpinning();
|
||||||
m_Finished = true;
|
m_Finished = true;
|
||||||
emit completeChanged();
|
emit completeChanged();
|
||||||
|
@ -232,7 +230,7 @@ void PluginWizardPage::initializePage()
|
||||||
m_pWebClient->moveToThread(thread);
|
m_pWebClient->moveToThread(thread);
|
||||||
thread->start();
|
thread->start();
|
||||||
|
|
||||||
updateStatus("Querying plugin list...");
|
updateStatus(tr("Getting plugin list..."));
|
||||||
QMetaObject::invokeMethod(m_pWebClient, "queryPluginList", Qt::QueuedConnection);
|
QMetaObject::invokeMethod(m_pWebClient, "queryPluginList", Qt::QueuedConnection);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue