mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-18 17:29:17 +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){
|
if (idiotFlag==1){
|
||||||
char idiotBuffer[200];
|
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"));
|
int deleteImg = WindowPrompt(0,idiotBuffer,tr("Ok"),tr("Delete"));
|
||||||
if(deleteImg==0)
|
if(deleteImg==0)
|
||||||
|
@ -2763,7 +2763,7 @@ int ProgressUpdateWindow()
|
|||||||
if(!failed && ret >= 0) {
|
if(!failed && ret >= 0) {
|
||||||
|
|
||||||
FILE *wadFile = NULL;
|
FILE *wadFile = NULL;
|
||||||
s32 shit = 1;
|
s32 error = 1;
|
||||||
int diarhea = 0;
|
int diarhea = 0;
|
||||||
char nipple[100];
|
char nipple[100];
|
||||||
wadFile = fopen (dolpath ,"rb");
|
wadFile = fopen (dolpath ,"rb");
|
||||||
@ -2775,20 +2775,20 @@ int ProgressUpdateWindow()
|
|||||||
else{
|
else{
|
||||||
//sprintf(nipple, tr("The update wad has been saved as %s. Now let's try to install it."),dolpath);
|
//sprintf(nipple, tr("The update wad has been saved as %s. Now let's try to install it."),dolpath);
|
||||||
//WindowPrompt(0,nipple, tr("Ok"));
|
//WindowPrompt(0,nipple, tr("Ok"));
|
||||||
shit = Wad_Install(wadFile);
|
error = Wad_Install(wadFile);
|
||||||
fclose(wadFile);
|
fclose(wadFile);
|
||||||
if (shit==0){
|
if (error==0){
|
||||||
diarhea = remove(dolpath);
|
diarhea = remove(dolpath);
|
||||||
if (diarhea)
|
if (diarhea)
|
||||||
WindowPrompt(tr("Success"),tr("The wad file was installed. But It could not be deleted from the SD card."),tr("Ok"));
|
WindowPrompt(tr("Success"),tr("The wad file was installed. But It could not be deleted from the SD card."),tr("Ok"));
|
||||||
}else{
|
}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"));
|
WindowPrompt(tr("Error"),nipple,tr("Ok"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (shit)
|
if (error)
|
||||||
WindowPrompt(tr("Shit") , tr("there was an error"), tr("OK"));
|
WindowPrompt(tr("ERROR") , tr("An Error accured"), tr("OK"));
|
||||||
else
|
else
|
||||||
WindowPrompt(tr("Successfully Updated") , tr("Restarting..."), 0,0,0,0,150);
|
WindowPrompt(tr("Successfully Updated") , tr("Restarting..."), 0,0,0,0,150);
|
||||||
CloseXMLDatabase();
|
CloseXMLDatabase();
|
||||||
|
Loading…
Reference in New Issue
Block a user