translations

This commit is contained in:
2024-12-01 15:01:55 +03:00
parent fdfeb57049
commit b59b42a40c
5 changed files with 89 additions and 9 deletions

View File

@@ -91,16 +91,16 @@ void MainWindow::on_parseButton_clicked() {
if (!strcmp(e.what(), "Incorrect captcha")) {
is_captcha_solved = false;
QMessageBox infoDialog;
infoDialog.setText("Captcha was not solved correctly!");
infoDialog.setText(tr("Captcha was not solved correctly!"));
infoDialog.setIcon(QMessageBox::Critical);
infoDialog.setWindowTitle("Captcha is incorrect");
infoDialog.setWindowTitle(tr("Captcha is incorrect"));
infoDialog.exec();
break;
} else if (!strcmp(e.what(), "Does not exist")) {
QMessageBox infoDialog;
infoDialog.setText("Check not found. Please, ensure correctness of entered data.");
infoDialog.setText(tr("Check not found. Please, ensure correctness of entered data."));
infoDialog.setIcon(QMessageBox::Critical);
infoDialog.setWindowTitle("Check was not found");
infoDialog.setWindowTitle(tr("Check was not found"));
infoDialog.exec();
return;
}