Qt: Add translate tag to shutdown message (#7302)

This commit is contained in:
xujibbs 2022-10-31 20:05:47 +08:00 committed by GitHub
parent 865c103d42
commit 08a9c052d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1135,7 +1135,7 @@ bool MainWindow::requestShutdown(bool allow_confirm /* = true */, bool allow_sav
QMessageBox msgbox(lock.getDialogParent());
msgbox.setIcon(QMessageBox::Question);
msgbox.setWindowTitle(tr("Confirm Shutdown"));
msgbox.setText("Are you sure you want to shut down the virtual machine?");
msgbox.setText(tr("Are you sure you want to shut down the virtual machine?"));
QCheckBox* save_cb = new QCheckBox(tr("Save State For Resume"), &msgbox);
save_cb->setChecked(save_state);