1. Media menu strings are translated now.

2. Save/Quit dialogs are also translated now.
3. Fix Sound Gain text cutoff.
This commit is contained in:
Cacodemon345
2022-01-07 16:21:40 +06:00
parent 3e4b2583e3
commit 69325aff02
7 changed files with 31 additions and 24 deletions

View File

@@ -290,8 +290,8 @@ MainWindow::MainWindow(QWidget *parent) :
void MainWindow::closeEvent(QCloseEvent *event) {
if (confirm_exit && cpu_thread_run)
{
QMessageBox questionbox(QMessageBox::Icon::Question, "86Box", "Are you sure you want to exit 86Box?", QMessageBox::Yes | QMessageBox::No, this);
QCheckBox *chkbox = new QCheckBox("Do not ask me again");
QMessageBox questionbox(QMessageBox::Icon::Question, "86Box", tr("Are you sure you want to exit 86Box?"), QMessageBox::Yes | QMessageBox::No, this);
QCheckBox *chkbox = new QCheckBox(tr("Don't show this message again"));
questionbox.setCheckBox(chkbox);
chkbox->setChecked(!confirm_exit);
bool confirm_exit_temp = false;