From abb2f28b5db204b90e7932f0b64d61ed7ebfa097 Mon Sep 17 00:00:00 2001 From: Zetok Zalbavar Date: Fri, 5 Jun 2015 08:28:16 +0100 Subject: [PATCH] Small improvements of displayed strings on login screen Messages that user faces should be a bit more clear now. --- src/widget/loginscreen.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/widget/loginscreen.cpp b/src/widget/loginscreen.cpp index cacfcecc5..8c73bd381 100644 --- a/src/widget/loginscreen.cpp +++ b/src/widget/loginscreen.cpp @@ -82,19 +82,19 @@ void LoginScreen::onCreateNewProfile() if (pass.size()!=0 && pass.size() < 6) { - QMessageBox::critical(this, tr("Couldn't create a new profile"), tr("The password must be at least 6 characters.")); + QMessageBox::critical(this, tr("Couldn't create a new profile"), tr("The password must be at least 6 characters long.")); return; } if (ui->newPassConfirm->text() != pass) { - QMessageBox::critical(this, tr("Couldn't create a new profile"), tr("The passwords are different.")); + QMessageBox::critical(this, tr("Couldn't create a new profile"), tr("The passwords you've entered are different.\nPlease make sure to enter same password twice.")); return; } if (Profile::profileExists(name)) { - QMessageBox::critical(this, tr("Couldn't create a new profile"), tr("This profile already exists.")); + QMessageBox::critical(this, tr("Couldn't create a new profile"), tr("A profile with this name already exists.")); return; } @@ -102,7 +102,7 @@ void LoginScreen::onCreateNewProfile() if (!profile) { // Unknown error - QMessageBox::critical(this, tr("Couldn't create a new profile"), tr("Couldn't create a new profile.")); + QMessageBox::critical(this, tr("Couldn't create a new profile"), tr("Unknown error: Couldn't create a new profile.\nIf you encountered this error, please report it.")); return; }