mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-03 23:46:08 +00:00
Make game boot error strings translatable.
This commit is contained in:
parent
416f0c56e8
commit
c4434dfe9a
@ -397,9 +397,15 @@ void EmuScreen::update(InputState &input) {
|
||||
PSP_CoreParameter().pixelHeight = pixel_yres;
|
||||
|
||||
globalUIState = UISTATE_INGAME;
|
||||
|
||||
if (errorMessage_.size()) {
|
||||
I18NCategory *g = GetI18NCategory("Error");
|
||||
std::string errLoadingFile = g->T("Error loading file");
|
||||
errLoadingFile.append(" ");
|
||||
errLoadingFile.append(g->T(errorMessage_.c_str()));
|
||||
|
||||
screenManager()->push(new PromptScreen(
|
||||
"Error loading file: " + errorMessage_, "OK", ""));
|
||||
errLoadingFile, "OK", ""));
|
||||
errorMessage_ = "";
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user