mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-22 19:29:18 +01:00
Removed punes cursing crap from Prompts.
This commit is contained in:
parent
0a95d75237
commit
1e1d808db7
@ -721,7 +721,8 @@ int MenuDiscList()
|
||||
|
||||
if (idiotFlag==1){
|
||||
char idiotBuffer[200];
|
||||
snprintf(idiotBuffer, sizeof(idiotBuffer), "%s (%s). %s",tr("You have attempted to load a bad image"), idiotChar,tr("Most likely it has dimensions that are not evenly divisible by 4. Way to go dipshit."));
|
||||
snprintf(idiotBuffer, sizeof(idiotBuffer), "%s (%s). %s",tr("You have attempted to load a bad image"),
|
||||
idiotChar,tr("Most likely it has dimensions that are not evenly divisible by 4."));
|
||||
|
||||
int deleteImg = WindowPrompt(0,idiotBuffer,tr("Ok"),tr("Delete"));
|
||||
if(deleteImg==0)
|
||||
|
@ -2763,7 +2763,7 @@ int ProgressUpdateWindow()
|
||||
if(!failed && ret >= 0) {
|
||||
|
||||
FILE *wadFile = NULL;
|
||||
s32 shit = 1;
|
||||
s32 error = 1;
|
||||
int diarhea = 0;
|
||||
char nipple[100];
|
||||
wadFile = fopen (dolpath ,"rb");
|
||||
@ -2775,20 +2775,20 @@ int ProgressUpdateWindow()
|
||||
else{
|
||||
//sprintf(nipple, tr("The update wad has been saved as %s. Now let's try to install it."),dolpath);
|
||||
//WindowPrompt(0,nipple, tr("Ok"));
|
||||
shit = Wad_Install(wadFile);
|
||||
error = Wad_Install(wadFile);
|
||||
fclose(wadFile);
|
||||
if (shit==0){
|
||||
if (error==0){
|
||||
diarhea = remove(dolpath);
|
||||
if (diarhea)
|
||||
WindowPrompt(tr("Success"),tr("The wad file was installed. But It could not be deleted from the SD card."),tr("Ok"));
|
||||
}else{
|
||||
sprintf(nipple, tr("The wad installation failed with error %ld"),shit);
|
||||
sprintf(nipple, tr("The wad installation failed with error %ld"),error);
|
||||
WindowPrompt(tr("Error"),nipple,tr("Ok"));
|
||||
}
|
||||
}
|
||||
|
||||
if (shit)
|
||||
WindowPrompt(tr("Shit") , tr("there was an error"), tr("OK"));
|
||||
if (error)
|
||||
WindowPrompt(tr("ERROR") , tr("An Error accured"), tr("OK"));
|
||||
else
|
||||
WindowPrompt(tr("Successfully Updated") , tr("Restarting..."), 0,0,0,0,150);
|
||||
CloseXMLDatabase();
|
||||
|
Loading…
Reference in New Issue
Block a user