You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
trans_2 = qApp->translate("MainGUI", "This chart has Hold-Sub mismatch problems, and they have been automatically fixed.", nullptr);
34
+
trans_3 = qApp->translate("MainGUI", "Chart auto repair complete, press save button to save it or use the width changing options to make further changes.", nullptr);
QMessageBox::critical(this, "Error", "Translation not found");
37
46
}
38
47
ui->retranslateUi(this);
48
+
//save translation text
49
+
retranslate_text();
50
+
//qDebug() << qApp->translate("MainGUI", "Chart auto repair complete, press save button to save it or use the width changing options to make further changes.", nullptr) << "cccc";
39
51
ui->loaded_file->setText(tmptext);
40
52
ui->version->setText(QString(VERSION_H));
41
53
}
@@ -49,6 +61,8 @@ void MainGUI::translate_en() {
49
61
QMessageBox::critical(this, "Error", "Translation not found");
//qDebug() << qApp->translate("MainGUI", "Chart auto repair complete, press save button to save it or use the width changing options to make further changes.", nullptr) << "cccc";
//qDebug() << qApp->translate("MainGUI", "Chart auto repair complete, press save button to save it or use the width changing options to make further changes.", nullptr) <<"cccc";
0 commit comments