Fix a translation not working (#1947)

This commit is contained in:
DemoJameson 2024-12-28 18:49:44 +08:00 committed by GitHub
parent 04933ac863
commit 9aabe98e4e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -347,9 +347,8 @@ public:
if (selected == deleteUpdate) {
if (!std::filesystem::exists(Common::FS::PathFromQString(game_update_path))) {
QMessageBox::critical(
nullptr, tr("Error"),
QString(tr("This game has no separate update to delete!")));
QMessageBox::critical(nullptr, tr("Error"),
QString(tr("This game has no update to delete!")));
error = true;
} else {
folder_path = game_update_path;