Merge pull request #12790 from JosJuice/i18n-infinity-double-arguments

DolphinQt: Fix double argument in Infinity error message
This commit is contained in:
Tilka 2024-05-20 04:20:25 +01:00 committed by GitHub
commit 2633eaca7a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -175,7 +175,7 @@ void InfinityBaseWindow::LoadFigurePath(u8 slot, const QString& path)
{ {
QMessageBox::warning( QMessageBox::warning(
this, tr("Failed to read the Infinity file!"), this, tr("Failed to read the Infinity file!"),
tr("Failed to read the Infinity file(%1):\n%1\n\nThe file was too small.").arg(path), tr("Failed to read the Infinity file:\n%1\n\nThe file was too small.").arg(path),
QMessageBox::Ok); QMessageBox::Ok);
return; return;
} }