Translation updates and refactoring

This commit is contained in:
Cameron Gutman
2020-11-21 13:15:54 -06:00
parent 2c987d2912
commit 6e7a42065c
21 changed files with 919 additions and 661 deletions

View File

@@ -536,8 +536,8 @@ private:
}
if (e.getStatusCode() == 599) {
// 599 is a special code we make a custom message for
emit quitAppFailed("The running game wasn't started by this PC. "
"You must quit the game on the host PC manually or use the device that originally started the game.");
emit quitAppFailed(tr("The running game wasn't started by this PC. "
"You must quit the game on the host PC manually or use the device that originally started the game."));
}
else {
emit quitAppFailed(e.toQString());

View File

@@ -323,7 +323,7 @@ NvHTTP::verifyResponseStatus(QString xml)
// Special case handling an audio capture error which GFE doesn't
// provide any useful status message for.
statusCode = 418;
statusMessage = "Missing audio capture device. Reinstalling GeForce Experience should resolve this error.";
statusMessage = tr("Missing audio capture device. Reinstalling GeForce Experience should resolve this error.");
}
throw GfeHttpResponseException(statusCode, statusMessage);
}