-fixed some error messages that didn't translate properly

This commit is contained in:
fledge68 2016-04-03 00:42:09 +00:00
parent 45b39c2be0
commit 54bc13964d
2 changed files with 363 additions and 363 deletions

View File

@ -766,7 +766,7 @@ void CMenu::directlaunch(const char *GameID)
} }
} }
} }
error(sfmt("errgame1", L"Cannot find the game with ID: %s", GameID)); error(wfmt(_fmt("errgame1", L"Cannot find the game with ID: %s"), GameID));
} }
void CMenu::_launchShutdown() void CMenu::_launchShutdown()
@ -1031,7 +1031,7 @@ int CMenu::_loadIOS(u8 gameIOS, int userIOS, string id, bool RealNAND_Channels)
_netInit(); _netInit();
if(ret == false) if(ret == false)
{ {
error(sfmt("errgame4", L"Couldn't load IOS %i", gameIOS)); error(wfmt(_fmt("errgame4", L"Couldn't load IOS %i"), gameIOS));
return LOAD_IOS_FAILED; return LOAD_IOS_FAILED;
} }
return LOAD_IOS_SUCCEEDED; return LOAD_IOS_SUCCEEDED;
@ -1057,7 +1057,7 @@ int CMenu::_loadIOS(u8 gameIOS, int userIOS, string id, bool RealNAND_Channels)
{ {
if(_installed_cios.size() <= 0) if(_installed_cios.size() <= 0)
{ {
error(sfmt("errgame2", L"No cIOS found!")); error(_t("errgame2", L"No cIOS found!"));
Sys_Exit(); Sys_Exit();
} }
u8 IOS[3]; u8 IOS[3];
@ -1092,7 +1092,7 @@ int CMenu::_loadIOS(u8 gameIOS, int userIOS, string id, bool RealNAND_Channels)
_netInit(); _netInit();
if(ret == false) if(ret == false)
{ {
error(sfmt("errgame4", L"Couldn't load IOS %i", gameIOS)); error(wfmt(_fmt("errgame4", L"Couldn't load IOS %i"), gameIOS));
return LOAD_IOS_FAILED; return LOAD_IOS_FAILED;
} }
return LOAD_IOS_SUCCEEDED; return LOAD_IOS_SUCCEEDED;

View File

@ -173,7 +173,7 @@ bool CMenu::_ExitTo(void)
{ {
if(!Load_Neek2o_Kernel()) if(!Load_Neek2o_Kernel())
{ {
error(sfmt("errneek1", L"Cannot launch neek2o. Verify your neek2o setup")); error(_fmt("errneek1", L"Cannot launch neek2o. Verify your neek2o setup"));
exitHandler(PRIILOADER_DEF); exitHandler(PRIILOADER_DEF);
} }
else else