diff options
author | Petr Mrázek <peterix@users.noreply.github.com> | 2019-09-17 01:12:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-17 01:12:45 +0200 |
commit | b420f4bafba2baaaa977f0259ebf652da45483ac (patch) | |
tree | b7532c33c91e06285e06477706d4b09bb15dc127 /application/LaunchController.cpp | |
parent | 0e0a017175d4b7c35b69a6ae9c53f0cdd9891bcf (diff) | |
parent | 137fe7e3c0c8dd00846c010cb04d3cf6cce591b5 (diff) | |
download | PrismLauncher-b420f4bafba2baaaa977f0259ebf652da45483ac.tar.gz PrismLauncher-b420f4bafba2baaaa977f0259ebf652da45483ac.tar.bz2 PrismLauncher-b420f4bafba2baaaa977f0259ebf652da45483ac.zip |
Merge pull request #2849 from AshleighTheCutie/develop
Message cleanup
Diffstat (limited to 'application/LaunchController.cpp')
-rw-r--r-- | application/LaunchController.cpp | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/application/LaunchController.cpp b/application/LaunchController.cpp index e39048f1..bebc3db1 100644 --- a/application/LaunchController.cpp +++ b/application/LaunchController.cpp @@ -24,7 +24,7 @@ void LaunchController::executeTask() { if (!m_instance) { - emitFailed(tr("No instance specified")); + emitFailed(tr("No instance specified!")); return; } @@ -74,7 +74,7 @@ void LaunchController::login() // if no account is selected, we bail if (!account.get()) { - emitFailed(tr("No account selected for launch")); + emitFailed(tr("No account selected for launch.")); return; } @@ -83,8 +83,7 @@ void LaunchController::login() // we loop until the user succeeds in logging in or gives up bool tryagain = true; // the failure. the default failure. - const QString needLoginAgain = tr("Your account is currently not logged in. Please enter " - "your password to log in again."); + const QString needLoginAgain = tr("Your account is currently not logged in. Please enter your password to log in again. <br /> <br /> This could be caused by a password change."); QString failReason = needLoginAgain; while (tryagain) @@ -193,7 +192,7 @@ void LaunchController::launchInstance() if(!m_instance->reloadSettings()) { - QMessageBox::critical(m_parentWidget, tr("Error"), tr("Couldn't load the instance profile.")); + QMessageBox::critical(m_parentWidget, tr("Error!"), tr("Couldn't load the instance profile.")); emitFailed(tr("Couldn't load the instance profile.")); return; } @@ -233,8 +232,8 @@ void LaunchController::readyForLaunch() if (!m_profiler->check(&error)) { m_launcher->abort(); - QMessageBox::critical(m_parentWidget, tr("Error"), tr("Couldn't start profiler: %1").arg(error)); - emitFailed("Profiler startup failed"); + QMessageBox::critical(m_parentWidget, tr("Error!"), tr("Couldn't start profiler: %1").arg(error)); + emitFailed("Profiler startup failed!"); return; } BaseProfiler *profilerInstance = m_profiler->createProfiler(m_launcher->instance(), this); @@ -245,7 +244,7 @@ void LaunchController::readyForLaunch() msg.setText(tr("The game launch is delayed until you press the " "button. This is the right time to setup the profiler, as the " "profiler server is running now.\n\n%1").arg(message)); - msg.setWindowTitle(tr("Waiting")); + msg.setWindowTitle(tr("Waiting.")); msg.setIcon(QMessageBox::Information); msg.addButton(tr("Launch"), QMessageBox::AcceptRole); msg.setModal(true); @@ -262,7 +261,7 @@ void LaunchController::readyForLaunch() msg.setModal(true); msg.exec(); m_launcher->abort(); - emitFailed("Profiler startup failed"); + emitFailed("Profiler startup failed!"); }); profilerInstance->beginProfiling(m_launcher); } |