From 3281d68a07ca4c72765033c84c54320a5300fd43 Mon Sep 17 00:00:00 2001 From: giantpune Date: Thu, 16 Jul 2009 09:36:55 +0000 Subject: [PATCH] issues 708 and 710. I didn't check, but they should be fixed with this. --- Languages/danish.lang | 11 ++++++++++- Languages/dutch.lang | 11 ++++++++++- Languages/english.lang | 11 ++++++++++- Languages/finnish.lang | 11 ++++++++++- Languages/french.lang | 11 ++++++++++- Languages/german.lang | 11 ++++++++++- Languages/italian.lang | 11 ++++++++++- Languages/japanese.lang | 11 ++++++++++- Languages/korean.lang | 11 ++++++++++- Languages/norwegian.lang | 11 ++++++++++- Languages/portuguese_br.lang | 11 ++++++++++- Languages/portuguese_pt.lang | 11 ++++++++++- Languages/russian.lang | 11 ++++++++++- Languages/schinese.lang | 11 ++++++++++- Languages/spanish.lang | 11 ++++++++++- Languages/swedish.lang | 11 ++++++++++- Languages/tchinese.lang | 11 ++++++++++- Languages/turkish.lang | 11 ++++++++++- source/menu.cpp | 34 +++++++++++----------------------- 19 files changed, 191 insertions(+), 41 deletions(-) diff --git a/Languages/danish.lang b/Languages/danish.lang index 15ad60e6..7abd3965 100644 --- a/Languages/danish.lang +++ b/Languages/danish.lang @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: USB Loader GX\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-16 03:53-0400\n" +"POT-Creation-Date: 2009-07-16 05:32-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -141,6 +141,9 @@ msgstr "" msgid "Code Download" msgstr "" +msgid "Confirm" +msgstr "" + msgid "Console" msgstr "" @@ -225,6 +228,9 @@ msgstr "Standard Spil Indstillinger" msgid "Default Settings" msgstr "Standard Indstillinger" +msgid "Delete" +msgstr "" + msgid "Developed by" msgstr "" @@ -833,6 +839,9 @@ msgstr "Forkert Password" msgid "Yes" msgstr "Ja" +msgid "You are about to delete " +msgstr "" + msgid "You are choosing to display favorites and you do not have any selected." msgstr "" diff --git a/Languages/dutch.lang b/Languages/dutch.lang index ea8c6a35..a2a91cb1 100644 --- a/Languages/dutch.lang +++ b/Languages/dutch.lang @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: USB Loader GX\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-16 03:53-0400\n" +"POT-Creation-Date: 2009-07-16 05:32-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -141,6 +141,9 @@ msgstr "Sluiten" msgid "Code Download" msgstr "" +msgid "Confirm" +msgstr "" + msgid "Console" msgstr "Console" @@ -225,6 +228,9 @@ msgstr "Standaardinstelling" msgid "Default Settings" msgstr "Standaardinstellingen" +msgid "Delete" +msgstr "" + msgid "Developed by" msgstr "Ontwikkeld door" @@ -833,6 +839,9 @@ msgstr "Foute wachtwoord!" msgid "Yes" msgstr "Ja" +msgid "You are about to delete " +msgstr "" + msgid "You are choosing to display favorites and you do not have any selected." msgstr "" diff --git a/Languages/english.lang b/Languages/english.lang index 1bc010de..33929d40 100644 --- a/Languages/english.lang +++ b/Languages/english.lang @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: USB Loader GX\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-16 03:53-0400\n" +"POT-Creation-Date: 2009-07-16 05:32-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -141,6 +141,9 @@ msgstr "" msgid "Code Download" msgstr "" +msgid "Confirm" +msgstr "" + msgid "Console" msgstr "" @@ -225,6 +228,9 @@ msgstr "" msgid "Default Settings" msgstr "" +msgid "Delete" +msgstr "" + msgid "Developed by" msgstr "" @@ -833,6 +839,9 @@ msgstr "" msgid "Yes" msgstr "" +msgid "You are about to delete " +msgstr "" + msgid "You are choosing to display favorites and you do not have any selected." msgstr "" diff --git a/Languages/finnish.lang b/Languages/finnish.lang index 2dec3183..03e712fa 100644 --- a/Languages/finnish.lang +++ b/Languages/finnish.lang @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: USB Loader GX\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-16 03:53-0400\n" +"POT-Creation-Date: 2009-07-16 05:32-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -141,6 +141,9 @@ msgstr "" msgid "Code Download" msgstr "" +msgid "Confirm" +msgstr "" + msgid "Console" msgstr "" @@ -225,6 +228,9 @@ msgstr "" msgid "Default Settings" msgstr "" +msgid "Delete" +msgstr "" + msgid "Developed by" msgstr "" @@ -833,6 +839,9 @@ msgstr "Väärä salasana" msgid "Yes" msgstr "Kyllä" +msgid "You are about to delete " +msgstr "" + msgid "You are choosing to display favorites and you do not have any selected." msgstr "" diff --git a/Languages/french.lang b/Languages/french.lang index 4c89c1af..a059ce04 100644 --- a/Languages/french.lang +++ b/Languages/french.lang @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: USB Loader GX\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-16 03:53-0400\n" +"POT-Creation-Date: 2009-07-16 05:32-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -141,6 +141,9 @@ msgstr "Fermer" msgid "Code Download" msgstr "" +msgid "Confirm" +msgstr "" + msgid "Console" msgstr "Console" @@ -225,6 +228,9 @@ msgstr "Reset Paramètres Jeu" msgid "Default Settings" msgstr "Reset Paramètres" +msgid "Delete" +msgstr "" + msgid "Developed by" msgstr "Développé par" @@ -833,6 +839,9 @@ msgstr "Mot de passe incorrect" msgid "Yes" msgstr "Oui" +msgid "You are about to delete " +msgstr "" + msgid "You are choosing to display favorites and you do not have any selected." msgstr "" diff --git a/Languages/german.lang b/Languages/german.lang index 17491947..137c2917 100644 --- a/Languages/german.lang +++ b/Languages/german.lang @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: USB Loader GX\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-16 03:53-0400\n" +"POT-Creation-Date: 2009-07-16 05:32-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -141,6 +141,9 @@ msgstr "Schließen" msgid "Code Download" msgstr "" +msgid "Confirm" +msgstr "" + msgid "Console" msgstr "" @@ -225,6 +228,9 @@ msgstr "Standard Spieleinstellung" msgid "Default Settings" msgstr "Standard Einstellungen" +msgid "Delete" +msgstr "" + msgid "Developed by" msgstr "Entwickelt von" @@ -833,6 +839,9 @@ msgstr "Falsches Passwort" msgid "Yes" msgstr "Ja" +msgid "You are about to delete " +msgstr "" + msgid "You are choosing to display favorites and you do not have any selected." msgstr "" diff --git a/Languages/italian.lang b/Languages/italian.lang index a8f6f6f5..58229598 100644 --- a/Languages/italian.lang +++ b/Languages/italian.lang @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: USB Loader GX\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-16 03:53-0400\n" +"POT-Creation-Date: 2009-07-16 05:32-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -141,6 +141,9 @@ msgstr "" msgid "Code Download" msgstr "" +msgid "Confirm" +msgstr "" + msgid "Console" msgstr "Console" @@ -225,6 +228,9 @@ msgstr "Impostazione Gioco Predefinita" msgid "Default Settings" msgstr "Impostazione Predefinita" +msgid "Delete" +msgstr "" + msgid "Developed by" msgstr "sviluppato da" @@ -833,6 +839,9 @@ msgstr "Password Errata" msgid "Yes" msgstr "Sì" +msgid "You are about to delete " +msgstr "" + msgid "You are choosing to display favorites and you do not have any selected." msgstr "" diff --git a/Languages/japanese.lang b/Languages/japanese.lang index 5f810f8e..096aac40 100644 --- a/Languages/japanese.lang +++ b/Languages/japanese.lang @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: USB Loader GX\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-16 03:53-0400\n" +"POT-Creation-Date: 2009-07-16 05:32-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -141,6 +141,9 @@ msgstr "閉じる" msgid "Code Download" msgstr "" +msgid "Confirm" +msgstr "" + msgid "Console" msgstr "" @@ -225,6 +228,9 @@ msgstr "ゲーム設定(デフォルト)" msgid "Default Settings" msgstr "設定(デフォルト)" +msgid "Delete" +msgstr "" + msgid "Developed by" msgstr "開発者:" @@ -833,6 +839,9 @@ msgstr "間違ったパスワード" msgid "Yes" msgstr "はい" +msgid "You are about to delete " +msgstr "" + msgid "You are choosing to display favorites and you do not have any selected." msgstr "" diff --git a/Languages/korean.lang b/Languages/korean.lang index 31ab9a91..2d8df346 100644 --- a/Languages/korean.lang +++ b/Languages/korean.lang @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: USB Loader GX\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-16 03:53-0400\n" +"POT-Creation-Date: 2009-07-16 05:32-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -141,6 +141,9 @@ msgstr "" msgid "Code Download" msgstr "" +msgid "Confirm" +msgstr "" + msgid "Console" msgstr "" @@ -225,6 +228,9 @@ msgstr "" msgid "Default Settings" msgstr "" +msgid "Delete" +msgstr "" + msgid "Developed by" msgstr "" @@ -833,6 +839,9 @@ msgstr "잘못된 비밀번호" msgid "Yes" msgstr "예" +msgid "You are about to delete " +msgstr "" + msgid "You are choosing to display favorites and you do not have any selected." msgstr "" diff --git a/Languages/norwegian.lang b/Languages/norwegian.lang index dde57d54..d9b2d038 100644 --- a/Languages/norwegian.lang +++ b/Languages/norwegian.lang @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: USB Loader GX\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-16 03:53-0400\n" +"POT-Creation-Date: 2009-07-16 05:32-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -141,6 +141,9 @@ msgstr "Lukk" msgid "Code Download" msgstr "" +msgid "Confirm" +msgstr "" + msgid "Console" msgstr "" @@ -225,6 +228,9 @@ msgstr "Standard innstillinger" msgid "Default Settings" msgstr "Standard innstillinger" +msgid "Delete" +msgstr "" + msgid "Developed by" msgstr "Utviklet av" @@ -833,6 +839,9 @@ msgstr "Feil passord" msgid "Yes" msgstr "Ja" +msgid "You are about to delete " +msgstr "" + msgid "You are choosing to display favorites and you do not have any selected." msgstr "" diff --git a/Languages/portuguese_br.lang b/Languages/portuguese_br.lang index e77bc1d4..98d6453f 100644 --- a/Languages/portuguese_br.lang +++ b/Languages/portuguese_br.lang @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: USB Loader GX\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-16 03:53-0400\n" +"POT-Creation-Date: 2009-07-16 05:32-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -141,6 +141,9 @@ msgstr "Fechar" msgid "Code Download" msgstr "" +msgid "Confirm" +msgstr "" + msgid "Console" msgstr "" @@ -225,6 +228,9 @@ msgstr "Configurações padrão do jogo" msgid "Default Settings" msgstr "Configurações padrão" +msgid "Delete" +msgstr "" + msgid "Developed by" msgstr "Desenvolvido por" @@ -833,6 +839,9 @@ msgstr "Senha incorreta" msgid "Yes" msgstr "Sim" +msgid "You are about to delete " +msgstr "" + msgid "You are choosing to display favorites and you do not have any selected." msgstr "" diff --git a/Languages/portuguese_pt.lang b/Languages/portuguese_pt.lang index 2f3e38cb..5ff1015a 100644 --- a/Languages/portuguese_pt.lang +++ b/Languages/portuguese_pt.lang @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: USB Loader GX\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-16 03:53-0400\n" +"POT-Creation-Date: 2009-07-16 05:32-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -141,6 +141,9 @@ msgstr "Fechar" msgid "Code Download" msgstr "" +msgid "Confirm" +msgstr "" + msgid "Console" msgstr "" @@ -225,6 +228,9 @@ msgstr "Repor Configuração do Jogo" msgid "Default Settings" msgstr "Repor Configurações" +msgid "Delete" +msgstr "" + msgid "Developed by" msgstr "Desenvolvido por" @@ -833,6 +839,9 @@ msgstr "Password Incorrecta" msgid "Yes" msgstr "Sim" +msgid "You are about to delete " +msgstr "" + msgid "You are choosing to display favorites and you do not have any selected." msgstr "" diff --git a/Languages/russian.lang b/Languages/russian.lang index 68a88236..665c7d9e 100644 --- a/Languages/russian.lang +++ b/Languages/russian.lang @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: USB Loader GX\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-16 03:53-0400\n" +"POT-Creation-Date: 2009-07-16 05:32-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -141,6 +141,9 @@ msgstr "Закрыть" msgid "Code Download" msgstr "" +msgid "Confirm" +msgstr "" + msgid "Console" msgstr "" @@ -225,6 +228,9 @@ msgstr "" msgid "Default Settings" msgstr "Установки по умолчанию" +msgid "Delete" +msgstr "" + msgid "Developed by" msgstr "" @@ -833,6 +839,9 @@ msgstr "Неверный пароль" msgid "Yes" msgstr "Да" +msgid "You are about to delete " +msgstr "" + msgid "You are choosing to display favorites and you do not have any selected." msgstr "" diff --git a/Languages/schinese.lang b/Languages/schinese.lang index 7b6546c2..cc971cd8 100644 --- a/Languages/schinese.lang +++ b/Languages/schinese.lang @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: USB Loader GX\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-16 03:53-0400\n" +"POT-Creation-Date: 2009-07-16 05:32-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -141,6 +141,9 @@ msgstr "" msgid "Code Download" msgstr "" +msgid "Confirm" +msgstr "" + msgid "Console" msgstr "" @@ -225,6 +228,9 @@ msgstr "" msgid "Default Settings" msgstr "" +msgid "Delete" +msgstr "" + msgid "Developed by" msgstr "" @@ -833,6 +839,9 @@ msgstr "密码错误" msgid "Yes" msgstr "是" +msgid "You are about to delete " +msgstr "" + msgid "You are choosing to display favorites and you do not have any selected." msgstr "" diff --git a/Languages/spanish.lang b/Languages/spanish.lang index 55e686ea..74242810 100644 --- a/Languages/spanish.lang +++ b/Languages/spanish.lang @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: USB Loader GX\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-16 03:53-0400\n" +"POT-Creation-Date: 2009-07-16 05:32-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -141,6 +141,9 @@ msgstr "Cerrar" msgid "Code Download" msgstr "" +msgid "Confirm" +msgstr "" + msgid "Console" msgstr "Consola" @@ -225,6 +228,9 @@ msgstr "Conf. Pred. Juegos" msgid "Default Settings" msgstr "Configuración Pred." +msgid "Delete" +msgstr "" + msgid "Developed by" msgstr "Desarrollado por" @@ -833,6 +839,9 @@ msgstr "Contraseña incorrecta" msgid "Yes" msgstr "Sí" +msgid "You are about to delete " +msgstr "" + msgid "You are choosing to display favorites and you do not have any selected." msgstr "" diff --git a/Languages/swedish.lang b/Languages/swedish.lang index c72e1a3f..26e6ebe6 100644 --- a/Languages/swedish.lang +++ b/Languages/swedish.lang @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: USB Loader GX\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-16 03:53-0400\n" +"POT-Creation-Date: 2009-07-16 05:32-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -141,6 +141,9 @@ msgstr "" msgid "Code Download" msgstr "" +msgid "Confirm" +msgstr "" + msgid "Console" msgstr "" @@ -225,6 +228,9 @@ msgstr "" msgid "Default Settings" msgstr "" +msgid "Delete" +msgstr "" + msgid "Developed by" msgstr "" @@ -833,6 +839,9 @@ msgstr "Fel Lösenord" msgid "Yes" msgstr "Ja" +msgid "You are about to delete " +msgstr "" + msgid "You are choosing to display favorites and you do not have any selected." msgstr "" diff --git a/Languages/tchinese.lang b/Languages/tchinese.lang index 6cc66e05..96067163 100644 --- a/Languages/tchinese.lang +++ b/Languages/tchinese.lang @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: USB Loader GX\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-16 03:53-0400\n" +"POT-Creation-Date: 2009-07-16 05:32-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -141,6 +141,9 @@ msgstr "關閉" msgid "Code Download" msgstr "" +msgid "Confirm" +msgstr "" + msgid "Console" msgstr "" @@ -225,6 +228,9 @@ msgstr "初始化遊戲設定" msgid "Default Settings" msgstr "初始化設定" +msgid "Delete" +msgstr "" + msgid "Developed by" msgstr "" @@ -833,6 +839,9 @@ msgstr "密碼錯誤" msgid "Yes" msgstr "是" +msgid "You are about to delete " +msgstr "" + msgid "You are choosing to display favorites and you do not have any selected." msgstr "" diff --git a/Languages/turkish.lang b/Languages/turkish.lang index 7ebbf28d..3d735509 100644 --- a/Languages/turkish.lang +++ b/Languages/turkish.lang @@ -4,7 +4,7 @@ msgid "" msgstr "" "Project-Id-Version: USB Loader GX\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-07-16 03:53-0400\n" +"POT-Creation-Date: 2009-07-16 05:32-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -141,6 +141,9 @@ msgstr "" msgid "Code Download" msgstr "" +msgid "Confirm" +msgstr "" + msgid "Console" msgstr "" @@ -225,6 +228,9 @@ msgstr "" msgid "Default Settings" msgstr "" +msgid "Delete" +msgstr "" + msgid "Developed by" msgstr "" @@ -833,6 +839,9 @@ msgstr "Yanlis Parola" msgid "Yes" msgstr "Evet" +msgid "You are about to delete " +msgstr "" + msgid "You are choosing to display favorites and you do not have any selected." msgstr "" diff --git a/source/menu.cpp b/source/menu.cpp index a4566901..d266ee60 100644 --- a/source/menu.cpp +++ b/source/menu.cpp @@ -622,7 +622,16 @@ int MenuDiscList() 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.")); - WindowPrompt(0,idiotBuffer,tr("Ok")); + int deleteImg = WindowPrompt(0,idiotBuffer,tr("Ok"),tr("Delete")); + if(deleteImg==0) + { + snprintf(idiotBuffer, sizeof(idiotBuffer), "%s %s.",tr("You are about to delete "), idiotChar); + deleteImg = WindowPrompt(tr("Confirm"),idiotBuffer,tr("Delete"),tr("Cancel")); + if(deleteImg==1) + { + remove(idiotChar); + } + } idiotFlag=-1;} WDVD_GetCoverStatus(&covert);//for detecting if i disc has been inserted @@ -1367,30 +1376,9 @@ static int MenuInstall() if (gamesize > freespace) { char errortxt[50]; sprintf(errortxt, "%s: %.2fGB, %s: %.2fGB",tr("Game Size"), gamesize, tr("Free Space"), freespace); - choice = WindowPrompt(tr("Not enough free space!"),errortxt,tr("OK"), tr("Return")); - if (choice == 1) { - USBStorage_Watchdog(0); - SetupGameInstallProgress(gametxt, name); - ret = WBFS_AddGame(); - ProgressStop(); - USBStorage_Watchdog(1); - wiilight(0); - if (ret != 0) { - WindowPrompt (tr("Install Error!"),0,tr("Back")); - menu = MENU_DISCLIST; - break; - } - else { - __Menu_GetEntries(); //get the entries again - WindowPrompt (tr("Successfully installed:"),name,tr("OK")); - menu = MENU_DISCLIST; - break; - } - } else { + WindowPrompt(tr("Not enough free space!"),errortxt,tr("OK")); menu = MENU_DISCLIST; break; - } - } else { USBStorage_Watchdog(0);