mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 00:54:53 -07:00
pass reset Small fixes (#4310)
This commit is contained in:
parent
7d1f082b27
commit
88a8ee09bd
10 changed files with 34 additions and 36 deletions
|
|
@ -27,9 +27,8 @@ DlgForgotPasswordChallenge::DlgForgotPasswordChallenge(QWidget *parent) : QDialo
|
|||
}
|
||||
|
||||
if (servers.getFPHostname().isEmpty() && servers.getFPPort().isEmpty() && servers.getFPPlayerName().isEmpty()) {
|
||||
QMessageBox::warning(this, tr("Forgot Password Challenge Warning"),
|
||||
tr("Oops, looks like something has gone wrong. Please restart the forgot password "
|
||||
"process by using the forgot password button on the connection screen."));
|
||||
QMessageBox::warning(this, tr("Reset Password Challenge Warning"),
|
||||
tr("A problem has occurred. Please try to request a new password again."));
|
||||
reject();
|
||||
}
|
||||
|
||||
|
|
@ -82,7 +81,7 @@ DlgForgotPasswordChallenge::DlgForgotPasswordChallenge(QWidget *parent) : QDialo
|
|||
mainLayout->addWidget(buttonBox);
|
||||
setLayout(mainLayout);
|
||||
|
||||
setWindowTitle(tr("Forgot Password Challenge"));
|
||||
setWindowTitle(tr("Reset Password Challenge"));
|
||||
setFixedHeight(sizeHint().height());
|
||||
setMinimumWidth(300);
|
||||
}
|
||||
|
|
@ -90,7 +89,7 @@ DlgForgotPasswordChallenge::DlgForgotPasswordChallenge(QWidget *parent) : QDialo
|
|||
void DlgForgotPasswordChallenge::actOk()
|
||||
{
|
||||
if (emailEdit->text().isEmpty()) {
|
||||
QMessageBox::critical(this, tr("Forgot Password Challenge Warning"), tr("The email address can't be empty."));
|
||||
QMessageBox::critical(this, tr("Reset Password Challenge Error"), tr("The email address can't be empty."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue