mirror of
https://github.com/86Box/86Box.git
synced 2026-02-23 09:58:19 -07:00
Change %1 to %n in a string
This commit is contained in:
@@ -271,7 +271,7 @@ VMManagerMainWindow::closeEvent(QCloseEvent *event)
|
||||
{
|
||||
int running = vmm->getActiveMachineCount();
|
||||
if (running > 0) {
|
||||
QMessageBox warningbox(QMessageBox::Icon::Warning, tr("%1 VM Manager").arg(EMU_NAME), tr("%1 machine(s) are currently active. Are you sure you want to exit the VM manager anyway?").arg(running), QMessageBox::Yes | QMessageBox::No, this);
|
||||
QMessageBox warningbox(QMessageBox::Icon::Warning, tr("%1 VM Manager").arg(EMU_NAME), tr("%n machine(s) are currently active. Are you sure you want to exit the VM manager anyway?", "", running), QMessageBox::Yes | QMessageBox::No, this);
|
||||
warningbox.exec();
|
||||
if (warningbox.result() == QMessageBox::No) {
|
||||
event->ignore();
|
||||
|
||||
Reference in New Issue
Block a user