From cebc980f636c069c53de7c321ffcb8fc26770c2c Mon Sep 17 00:00:00 2001 From: giantpune Date: Wed, 1 Jul 2009 02:05:50 +0000 Subject: [PATCH] save the # of rows that are shown in the grid with the settings. fixed a little memory hole in the gamewall while i was in there. added checks for all the servers to verify what they are giving us. also added more bad image sizes to the list. it is all commented out now. uncomment all the new stuff it the download function to use it. --- Languages/danish.lang | 15 ++++-- Languages/dutch.lang | 15 ++++-- Languages/english.lang | 10 +++- Languages/finnish.lang | 15 ++++-- Languages/french.lang | 15 ++++-- Languages/german.lang | 15 ++++-- Languages/italian.lang | 15 ++++-- Languages/japanese.lang | 15 ++++-- Languages/korean.lang | 15 ++++-- Languages/norwegian.lang | 15 ++++-- Languages/portuguese_br.lang | 15 ++++-- Languages/portuguese_pt.lang | 15 ++++-- Languages/russian.lang | 15 ++++-- Languages/schinese.lang | 15 ++++-- Languages/spanish.lang | 15 ++++-- Languages/swedish.lang | 15 ++++-- Languages/tchinese.lang | 15 ++++-- Languages/turkish.lang | 15 ++++-- source/libwiigui/gui_gamegrid.cpp | 46 ++++++++++++++--- source/menu.cpp | 9 ++-- source/prompts/PromptWindows.cpp | 82 +++++++++++++++++++++++++------ source/settings/cfg.c | 9 ++++ source/settings/cfg.h | 1 + 23 files changed, 333 insertions(+), 79 deletions(-) diff --git a/Languages/danish.lang b/Languages/danish.lang index 1c2e126a..8b74dd4f 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-06-30 17:59-0400\n" +"POT-Creation-Date: 2009-06-30 20:33-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -228,6 +228,9 @@ msgstr "" msgid "Download Boxart image?" msgstr "Downloade Boxart billede?" +msgid "Download Discart image?" +msgstr "" + msgid "Download finished" msgstr "Download færdig" @@ -732,8 +735,11 @@ msgstr "" msgid "does not exist! You Messed something up, Idiot." msgstr "" -msgid "file(s) left" -msgstr "Fil(er) tilbage" +msgid "file left" +msgstr "" + +msgid "files left" +msgstr "" msgid "files not found on the server!" msgstr "Filerne blev ikke fundet på serveren!" @@ -771,6 +777,9 @@ msgstr "Sekunder tilbage" msgid "titles.txt Path" msgstr "Titles.txt Sti" +#~ msgid "file(s) left" +#~ msgstr "Fil(er) tilbage" + #~ msgid "Coverpath change" #~ msgstr "CoverSti Ændringer" diff --git a/Languages/dutch.lang b/Languages/dutch.lang index 3e33413d..00ea0b4a 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-06-30 17:59-0400\n" +"POT-Creation-Date: 2009-06-30 20:33-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -228,6 +228,9 @@ msgstr "Locatie dol wijzigen" msgid "Download Boxart image?" msgstr "Hoesjes downloaden?" +msgid "Download Discart image?" +msgstr "" + msgid "Download finished" msgstr "Downloaden voltooid" @@ -732,8 +735,11 @@ msgstr "" msgid "does not exist! You Messed something up, Idiot." msgstr "" -msgid "file(s) left" -msgstr "Bestanden resterend" +msgid "file left" +msgstr "" + +msgid "files left" +msgstr "" msgid "files not found on the server!" msgstr "Bestanden niet gevonden op server!" @@ -771,6 +777,9 @@ msgstr "seconden over:" msgid "titles.txt Path" msgstr "Locatie titles.txt" +#~ msgid "file(s) left" +#~ msgstr "Bestanden resterend" + #~ msgid "for hosting the covers/discarts" #~ msgstr "(upload van afbeeldingen)" diff --git a/Languages/english.lang b/Languages/english.lang index 72fb6127..98de18e4 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-06-30 17:59-0400\n" +"POT-Creation-Date: 2009-06-30 20:33-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -228,6 +228,9 @@ msgstr "" msgid "Download Boxart image?" msgstr "" +msgid "Download Discart image?" +msgstr "" + msgid "Download finished" msgstr "" @@ -732,7 +735,10 @@ msgstr "" msgid "does not exist! You Messed something up, Idiot." msgstr "" -msgid "file(s) left" +msgid "file left" +msgstr "" + +msgid "files left" msgstr "" msgid "files not found on the server!" diff --git a/Languages/finnish.lang b/Languages/finnish.lang index 3e5407db..59b141b3 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-06-30 17:59-0400\n" +"POT-Creation-Date: 2009-06-30 20:33-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -228,6 +228,9 @@ msgstr "" msgid "Download Boxart image?" msgstr "Lataa kansikuva?" +msgid "Download Discart image?" +msgstr "" + msgid "Download finished" msgstr "Lataus valmistunut" @@ -732,8 +735,11 @@ msgstr "" msgid "does not exist! You Messed something up, Idiot." msgstr "" -msgid "file(s) left" -msgstr "tiedosto(j)a jäljellä" +msgid "file left" +msgstr "" + +msgid "files left" +msgstr "" msgid "files not found on the server!" msgstr "tiedostoja ei löytynyt serveriltä!" @@ -771,6 +777,9 @@ msgstr "sekuntia jäljellä" msgid "titles.txt Path" msgstr "" +#~ msgid "file(s) left" +#~ msgstr "tiedosto(j)a jäljellä" + #~ msgid "Coverpath change" #~ msgstr "kansien sijainti" diff --git a/Languages/french.lang b/Languages/french.lang index b8f8a808..4619d877 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-06-30 17:59-0400\n" +"POT-Creation-Date: 2009-06-30 20:33-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -228,6 +228,9 @@ msgstr "" msgid "Download Boxart image?" msgstr "Télécharger les jaquettes ?" +msgid "Download Discart image?" +msgstr "" + msgid "Download finished" msgstr "Téléchargement terminé" @@ -732,8 +735,11 @@ msgstr "" msgid "does not exist! You Messed something up, Idiot." msgstr "" -msgid "file(s) left" -msgstr "fichier(s) restant(s)" +msgid "file left" +msgstr "" + +msgid "files left" +msgstr "" msgid "files not found on the server!" msgstr "fichiers introuvables sur le serveur !" @@ -771,6 +777,9 @@ msgstr "secondes restantes" msgid "titles.txt Path" msgstr "Localisation titles.txt" +#~ msgid "file(s) left" +#~ msgstr "fichier(s) restant(s)" + #~ msgid "for hosting the covers/discarts" #~ msgstr "pour l'hébergement des jaquettes" diff --git a/Languages/german.lang b/Languages/german.lang index 02b69590..f9ada1d9 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-06-30 17:59-0400\n" +"POT-Creation-Date: 2009-06-30 20:33-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -228,6 +228,9 @@ msgstr "" msgid "Download Boxart image?" msgstr "Download Boxart Bilder?" +msgid "Download Discart image?" +msgstr "" + msgid "Download finished" msgstr "Download abgeschlossen" @@ -732,8 +735,11 @@ msgstr "" msgid "does not exist! You Messed something up, Idiot." msgstr "" -msgid "file(s) left" -msgstr "Datei(en) übrig" +msgid "file left" +msgstr "" + +msgid "files left" +msgstr "" msgid "files not found on the server!" msgstr "Datei(en) konnte(n) auf dem Server nicht gefunden werden!" @@ -771,6 +777,9 @@ msgstr "Sekunden verbleiben" msgid "titles.txt Path" msgstr "Titles.txt Pfad" +#~ msgid "file(s) left" +#~ msgstr "Datei(en) übrig" + #~ msgid "for hosting the covers/discarts" #~ msgstr "für das Hosten der Covers/Discarts" diff --git a/Languages/italian.lang b/Languages/italian.lang index 4880b709..bf7af8d9 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-06-30 17:59-0400\n" +"POT-Creation-Date: 2009-06-30 20:33-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -228,6 +228,9 @@ msgstr "Modifica percorso DOL" msgid "Download Boxart image?" msgstr "Scaricamento Immagine Boxart?" +msgid "Download Discart image?" +msgstr "" + msgid "Download finished" msgstr "Scaricamento Completato" @@ -732,8 +735,11 @@ msgstr "" msgid "does not exist! You Messed something up, Idiot." msgstr "" -msgid "file(s) left" -msgstr "file mancante/i" +msgid "file left" +msgstr "" + +msgid "files left" +msgstr "" msgid "files not found on the server!" msgstr "file non trovato/i sul server!" @@ -771,6 +777,9 @@ msgstr "secondi mancanti" msgid "titles.txt Path" msgstr "Percorso Titles.txt" +#~ msgid "file(s) left" +#~ msgstr "file mancante/i" + #~ msgid "for hosting the covers/discarts" #~ msgstr "Forhostingcovers" diff --git a/Languages/japanese.lang b/Languages/japanese.lang index 1e683ba2..ed11150d 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-06-30 17:59-0400\n" +"POT-Creation-Date: 2009-06-30 20:33-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -228,6 +228,9 @@ msgstr "" msgid "Download Boxart image?" msgstr "Boxart イメージをダウンロードしますか?" +msgid "Download Discart image?" +msgstr "" + msgid "Download finished" msgstr "ダウンロードを終了しました" @@ -732,8 +735,11 @@ msgstr "" msgid "does not exist! You Messed something up, Idiot." msgstr "" -msgid "file(s) left" -msgstr "file(s) left(残りのファイル数)" +msgid "file left" +msgstr "" + +msgid "files left" +msgstr "" msgid "files not found on the server!" msgstr "サーバーにファイルがありません!" @@ -771,6 +777,9 @@ msgstr "完了までの秒数" msgid "titles.txt Path" msgstr "Titles.txt Path" +#~ msgid "file(s) left" +#~ msgstr "file(s) left(残りのファイル数)" + #~ msgid "for hosting the covers/discarts" #~ msgstr "カバーを配布" diff --git a/Languages/korean.lang b/Languages/korean.lang index a0ed92ce..a6459b3a 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-06-30 17:59-0400\n" +"POT-Creation-Date: 2009-06-30 20:33-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -228,6 +228,9 @@ msgstr "" msgid "Download Boxart image?" msgstr "박스 이미지를 다운로드 할까요?" +msgid "Download Discart image?" +msgstr "" + msgid "Download finished" msgstr "다운로드 완료" @@ -732,8 +735,11 @@ msgstr "" msgid "does not exist! You Messed something up, Idiot." msgstr "" -msgid "file(s) left" -msgstr "파일 남음" +msgid "file left" +msgstr "" + +msgid "files left" +msgstr "" msgid "files not found on the server!" msgstr "파일이 서버에 없습니다!" @@ -771,6 +777,9 @@ msgstr "초 남았습니다" msgid "titles.txt Path" msgstr "" +#~ msgid "file(s) left" +#~ msgstr "파일 남음" + #~ msgid "Coverpath change" #~ msgstr "표지 경로 변경" diff --git a/Languages/norwegian.lang b/Languages/norwegian.lang index 7d96febc..82077fbd 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-06-30 17:59-0400\n" +"POT-Creation-Date: 2009-06-30 20:33-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -228,6 +228,9 @@ msgstr "" msgid "Download Boxart image?" msgstr "Last ned cover bilde?" +msgid "Download Discart image?" +msgstr "" + msgid "Download finished" msgstr "Nedlasting ferdig" @@ -732,8 +735,11 @@ msgstr "" msgid "does not exist! You Messed something up, Idiot." msgstr "" -msgid "file(s) left" -msgstr "fil(er) gjenstår" +msgid "file left" +msgstr "" + +msgid "files left" +msgstr "" msgid "files not found on the server!" msgstr "filer ikke funnet på serveren!" @@ -771,6 +777,9 @@ msgstr "sekunder gjenstår" msgid "titles.txt Path" msgstr "Titles.txt sti" +#~ msgid "file(s) left" +#~ msgstr "fil(er) gjenstår" + #~ msgid "for hosting the covers/discarts" #~ msgstr "for hosting av cover/platebilder" diff --git a/Languages/portuguese_br.lang b/Languages/portuguese_br.lang index 902aef24..002007bc 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-06-30 17:59-0400\n" +"POT-Creation-Date: 2009-06-30 20:33-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -228,6 +228,9 @@ msgstr "" msgid "Download Boxart image?" msgstr "Baixar imagem da Caixa?" +msgid "Download Discart image?" +msgstr "" + msgid "Download finished" msgstr "Pronto" @@ -732,8 +735,11 @@ msgstr "" msgid "does not exist! You Messed something up, Idiot." msgstr "" -msgid "file(s) left" -msgstr "arquivo(s) restante(s)" +msgid "file left" +msgstr "" + +msgid "files left" +msgstr "" msgid "files not found on the server!" msgstr "arquivos não encontrados no servidor!" @@ -771,6 +777,9 @@ msgstr "segundos restantes" msgid "titles.txt Path" msgstr "Local Titles.txt" +#~ msgid "file(s) left" +#~ msgstr "arquivo(s) restante(s)" + #~ msgid "for hosting the covers/discarts" #~ msgstr "por hospedar Capas de Caixas/Disco" diff --git a/Languages/portuguese_pt.lang b/Languages/portuguese_pt.lang index fe027b21..b2e6ce20 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-06-30 17:59-0400\n" +"POT-Creation-Date: 2009-06-30 20:33-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -228,6 +228,9 @@ msgstr "Alterar Pasta do DOL" msgid "Download Boxart image?" msgstr "Descarregar imagem da Caixa?" +msgid "Download Discart image?" +msgstr "" + msgid "Download finished" msgstr "Download Terminado" @@ -732,8 +735,11 @@ msgstr "" msgid "does not exist! You Messed something up, Idiot." msgstr "" -msgid "file(s) left" -msgstr "ficheiros(s) restante(s)" +msgid "file left" +msgstr "" + +msgid "files left" +msgstr "" msgid "files not found on the server!" msgstr "ficheiros não encontrados no servidor!" @@ -771,6 +777,9 @@ msgstr "segundos restantes" msgid "titles.txt Path" msgstr "Pasta titles.txt" +#~ msgid "file(s) left" +#~ msgstr "ficheiros(s) restante(s)" + #~ msgid "for hosting the covers/discarts" #~ msgstr "por alojar capas/imagens de disco" diff --git a/Languages/russian.lang b/Languages/russian.lang index e0368f66..48606354 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-06-30 17:59-0400\n" +"POT-Creation-Date: 2009-06-30 20:33-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -228,6 +228,9 @@ msgstr "" msgid "Download Boxart image?" msgstr "Скачать обложку диска?" +msgid "Download Discart image?" +msgstr "" + msgid "Download finished" msgstr "Скачивание завершено" @@ -732,8 +735,11 @@ msgstr "" msgid "does not exist! You Messed something up, Idiot." msgstr "" -msgid "file(s) left" -msgstr "осталось файлов:" +msgid "file left" +msgstr "" + +msgid "files left" +msgstr "" msgid "files not found on the server!" msgstr "файлы не найдены на сервере!" @@ -771,6 +777,9 @@ msgstr "секунд осталось" msgid "titles.txt Path" msgstr "путь к titles.txt" +#~ msgid "file(s) left" +#~ msgstr "осталось файлов:" + #~ msgid "Favorite" #~ msgstr "Добавить в избранное" diff --git a/Languages/schinese.lang b/Languages/schinese.lang index 540226c4..7ac681d6 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-06-30 17:59-0400\n" +"POT-Creation-Date: 2009-06-30 20:33-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -228,6 +228,9 @@ msgstr "" msgid "Download Boxart image?" msgstr "下载封面图片?" +msgid "Download Discart image?" +msgstr "" + msgid "Download finished" msgstr "下载完成" @@ -732,8 +735,11 @@ msgstr "" msgid "does not exist! You Messed something up, Idiot." msgstr "" -msgid "file(s) left" -msgstr "剩余文件" +msgid "file left" +msgstr "" + +msgid "files left" +msgstr "" msgid "files not found on the server!" msgstr "服务器中无此文件!" @@ -771,6 +777,9 @@ msgstr "剩余秒数" msgid "titles.txt Path" msgstr "Titles.txt 存放路径" +#~ msgid "file(s) left" +#~ msgstr "剩余文件" + #~ msgid "Coverpath change" #~ msgstr "变更封面存放路径" diff --git a/Languages/spanish.lang b/Languages/spanish.lang index 7b67d9fb..f256b31d 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-06-30 17:59-0400\n" +"POT-Creation-Date: 2009-06-30 20:33-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -228,6 +228,9 @@ msgstr "Cambio ruta Dol" msgid "Download Boxart image?" msgstr "¿Descargar Imágenes?" +msgid "Download Discart image?" +msgstr "" + msgid "Download finished" msgstr "Descarga completa" @@ -732,8 +735,11 @@ msgstr "" msgid "does not exist! You Messed something up, Idiot." msgstr "" -msgid "file(s) left" -msgstr "archivo(s) restante(s)" +msgid "file left" +msgstr "" + +msgid "files left" +msgstr "" msgid "files not found on the server!" msgstr "archivo(s) no encontrado(s) en el servidor." @@ -771,6 +777,9 @@ msgstr "segundos restantes" msgid "titles.txt Path" msgstr "Ruta Titles.txt" +#~ msgid "file(s) left" +#~ msgstr "archivo(s) restante(s)" + #~ msgid "for hosting the covers/discarts" #~ msgstr "por alojar las caraturas/img.discos" diff --git a/Languages/swedish.lang b/Languages/swedish.lang index 130acc0a..3634e9a4 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-06-30 17:59-0400\n" +"POT-Creation-Date: 2009-06-30 20:33-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -228,6 +228,9 @@ msgstr "" msgid "Download Boxart image?" msgstr "Ladda ner omslagsbild?" +msgid "Download Discart image?" +msgstr "" + msgid "Download finished" msgstr "Nedladdning klar" @@ -732,8 +735,11 @@ msgstr "" msgid "does not exist! You Messed something up, Idiot." msgstr "" -msgid "file(s) left" -msgstr "filer kvar" +msgid "file left" +msgstr "" + +msgid "files left" +msgstr "" msgid "files not found on the server!" msgstr "Filerna hittades inte på servern!" @@ -771,6 +777,9 @@ msgstr "sekunder kvar" msgid "titles.txt Path" msgstr "" +#~ msgid "file(s) left" +#~ msgstr "filer kvar" + #~ msgid "Coverpath change" #~ msgstr "Ändra Omslagsmapp" diff --git a/Languages/tchinese.lang b/Languages/tchinese.lang index 3adbebed..1206c850 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-06-30 17:59-0400\n" +"POT-Creation-Date: 2009-06-30 20:33-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -228,6 +228,9 @@ msgstr "" msgid "Download Boxart image?" msgstr "下載外盒封面圖片?" +msgid "Download Discart image?" +msgstr "" + msgid "Download finished" msgstr "下載完成" @@ -732,8 +735,11 @@ msgstr "" msgid "does not exist! You Messed something up, Idiot." msgstr "" -msgid "file(s) left" -msgstr "剩下的檔案" +msgid "file left" +msgstr "" + +msgid "files left" +msgstr "" msgid "files not found on the server!" msgstr "伺服器中無此檔案!" @@ -771,6 +777,9 @@ msgstr "剩餘秒數" msgid "titles.txt Path" msgstr "Title檔案路徑" +#~ msgid "file(s) left" +#~ msgstr "剩下的檔案" + #~ msgid "Favorite" #~ msgstr "新增至我的最愛" diff --git a/Languages/turkish.lang b/Languages/turkish.lang index 2346f9bb..6f671ce2 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-06-30 17:59-0400\n" +"POT-Creation-Date: 2009-06-30 20:33-0400\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: \n" @@ -228,6 +228,9 @@ msgstr "" msgid "Download Boxart image?" msgstr "Kutu resmini indirmek ister misiniz?" +msgid "Download Discart image?" +msgstr "" + msgid "Download finished" msgstr "Indirme tamamlandi" @@ -732,8 +735,11 @@ msgstr "" msgid "does not exist! You Messed something up, Idiot." msgstr "" -msgid "file(s) left" -msgstr "dosya kaldi" +msgid "file left" +msgstr "" + +msgid "files left" +msgstr "" msgid "files not found on the server!" msgstr "dosyalar sunucuda bulunamadi!" @@ -771,6 +777,9 @@ msgstr "saniye kaldi" msgid "titles.txt Path" msgstr "" +#~ msgid "file(s) left" +#~ msgstr "dosya kaldi" + #~ msgid "Coverpath change" #~ msgstr "Kapak Yolunu Degistir" diff --git a/source/libwiigui/gui_gamegrid.cpp b/source/libwiigui/gui_gamegrid.cpp index d361a555..8eaac03c 100644 --- a/source/libwiigui/gui_gamegrid.cpp +++ b/source/libwiigui/gui_gamegrid.cpp @@ -15,6 +15,7 @@ #include "../prompts/PromptWindows.h" #include "../language/gettext.h" #include "../menu.h" +#include "fatmounter.h" #include #include @@ -74,6 +75,7 @@ GuiGameGrid::GuiGameGrid(int w, int h, struct discHdr * l, int count, const char else if (rows==2)pagesize = 16; else if (rows==3)pagesize = 42; + //if (realCntSetWidescreen(CFG.widescreen); - if (rows==2)coverImg[i]->SetScale(.6);//these are the numbers for 2 rows - else if (rows==3)coverImg[i]->SetScale(.26);//these are the numbers for 3 rows + if (Settings.gridRows==2)coverImg[i]->SetScale(.6);//these are the numbers for 2 rows + else if (Settings.gridRows==3)coverImg[i]->SetScale(.26);//these are the numbers for 3 rows //titleTxt[i] = new GuiText(get_title(&gameList[i]), 20, (GXColor){0,0,0, 0xff}); @@ -203,20 +205,20 @@ GuiGameGrid::GuiGameGrid(int w, int h, struct discHdr * l, int count, const char for(int i=0; i < pagesize; i++) { game[i] = new GuiButton(160,224);//for 1 row - if (rows==2)game[i]->SetSize(75,133);//these are the numbers for 2 rows - else if (rows==3)game[i]->SetSize(35,68);//these are the numbers for 3 rows + if (Settings.gridRows==2)game[i]->SetSize(75,133);//these are the numbers for 2 rows + else if (Settings.gridRows==3)game[i]->SetSize(35,68);//these are the numbers for 3 rows game[i]->SetParent(this); game[i]->SetAlignment(ALIGN_TOP,ALIGN_LEFT); game[i]->SetPosition(-200,740); game[i]->SetImage(coverImg[((listOffset+i) % gameCnt)]); - if (rows==3)coverImg[(listOffset+i) % gameCnt]->SetPosition(0,-80);// only for 3 rows - if (rows==2)coverImg[(listOffset+i) % gameCnt]->SetPosition(0,-50);// only for 2 rows + if (Settings.gridRows==3)coverImg[(listOffset+i) % gameCnt]->SetPosition(0,-80);// only for 3 rows + if (Settings.gridRows==2)coverImg[(listOffset+i) % gameCnt]->SetPosition(0,-50);// only for 2 rows game[i]->SetRumble(false); game[i]->SetTrigger(trigA); game[i]->SetSoundClick(btnSoundClick); game[i]->SetClickable(true); game[i]->SetVisible(true); - coverImg[i]->SetEffect(EFFECT_SLIDE_TOP | EFFECT_SLIDE_IN, 50); + //coverImg[i]->SetEffect(EFFECT_SLIDE_TOP | EFFECT_SLIDE_IN, 50); } for (int i=gameCnt-1;iSetSkew(-38,-70,15,-52,15,100,-38,27); } + + + // } // else // WindowPrompt("Oops","Your Wii must be in 16:9 mode to see the gamewall.",0, tr("OK"), 0,0); @@ -638,6 +657,15 @@ void GuiGameGrid::ChangeRows(int n) { rows=n; + Settings.gridRows = rows; + if(isInserted(bootDevice)) { + cfg_save_global(); + } + + for(int i=0; iSetWidescreen(CFG.widescreen); @@ -1765,6 +1793,10 @@ void GuiGameGrid::Reload(struct discHdr * l, int count) if (count<42)rows=2; if (count<16)rows=1; + Settings.gridRows = rows; + if(isInserted(bootDevice)) { + cfg_save_global(); + } //rows=1; if (rows==1)pagesize = 6; else if (rows==2)pagesize = 16; diff --git a/source/menu.cpp b/source/menu.cpp index 15c2efc7..24104dd0 100644 --- a/source/menu.cpp +++ b/source/menu.cpp @@ -760,16 +760,17 @@ int MenuDiscList() char tempCnt[40]; sprintf(tempCnt,"%i %s",cntMissFiles,tr("Missing files")); - choice = WindowPrompt(tr("Download Boxart image?"),tempCnt,tr("Yes"),tr("No"),0,0,-1); + if (choice!=3)choice = WindowPrompt(tr("Download Boxart image?"),tempCnt,tr("Yes"),tr("No"),0,0,-1); + else if (choice==3)choice = WindowPrompt(tr("Download Discart image?"),tempCnt,tr("Yes"),tr("No"),0,0,-1); if (choice == 1) { ret = ProgressDownloadWindow(choice2); if (ret == 0) { WindowPrompt(tr("Download finished"),0,tr("OK"),0,0,0,-1); } else { - sprintf(tempCnt,"%i %s",ret,tr("files not found on the server!")); - WindowPrompt(tr("Download finished"),tempCnt,tr("OK"),0,0,0,-1); - } + sprintf(tempCnt,"%i %s",ret,tr("files not found on the server!")); + WindowPrompt(tr("Download finished"),tempCnt,tr("OK"),0,0,0,-1); + } } } else diff --git a/source/prompts/PromptWindows.cpp b/source/prompts/PromptWindows.cpp index e4f7fb79..8620fd85 100644 --- a/source/prompts/PromptWindows.cpp +++ b/source/prompts/PromptWindows.cpp @@ -2001,6 +2001,11 @@ ProgressDownloadWindow(int choice2) msg2Txt.SetAlignment(ALIGN_CENTRE, ALIGN_TOP); msg2Txt.SetPosition(0,100); + GuiText msg3Txt(NULL, 20, (GXColor){THEME.prompttxt_r, THEME.prompttxt_g, THEME.prompttxt_b, 255}); + msg3Txt.SetAlignment(ALIGN_CENTRE, ALIGN_TOP); + msg3Txt.SetPosition(0,160); + + prTxt.SetAlignment(ALIGN_CENTRE, ALIGN_MIDDLE); prTxt.SetPosition(0, 40); @@ -2025,6 +2030,7 @@ ProgressDownloadWindow(int choice2) promptWindow.Append(&titleTxt); promptWindow.Append(&msgTxt); promptWindow.Append(&msg2Txt); + promptWindow.Append(&msg3Txt); promptWindow.Append(&progressbarEmptyImg); promptWindow.Append(&progressbarImg); promptWindow.Append(&progressbarOutlineImg); @@ -2043,10 +2049,18 @@ ProgressDownloadWindow(int choice2) char serverDisc[serverCntDisc][75]; char server2d[serverCnt2d][75]; - snprintf(server3d[m], sizeof(server3d[m]), "http://boxart.rowdyruff.net/3d/");m++; + //for testing the servers + /*char serverTEST[serverCnt2d][75]; + int * TESTfail; + int * TESTbad; + TESTfail = new int[serverCnt2d]; + TESTbad = new int[serverCnt2d];*/ + + snprintf(server3d[m], sizeof(server3d[m]), "http://gxload.joschtex.com/3d/");m++; snprintf(server3d[m], sizeof(server3d[m]), "http://wiicover.gateflorida.com/3d/");m++; snprintf(server3d[m], sizeof(server3d[m]), "http://awiibit.com/3dBoxArt176x248/");m++; + snprintf(server3d[m], sizeof(server3d[m]), "http://boxart.rowdyruff.net/3d/");m++; m=0; snprintf(serverDisc[m], sizeof(serverDisc[m]), "http://gxload.joschtex.com/disc/");m++; @@ -2054,10 +2068,22 @@ ProgressDownloadWindow(int choice2) snprintf(serverDisc[m], sizeof(serverDisc[m]), "http://awiibit.com/WiiDiscArt/");m++; m=0; - snprintf(server2d[m], sizeof(server2d[m]), "http://wiicover.gateflorida.com/2d/");m++; - snprintf(server2d[m], sizeof(server2d[m]), "http://boxart.rowdyruff.net/flat/");m++; snprintf(server2d[m], sizeof(server2d[m]), "http://gxload.joschtex.com/2d/");m++; + snprintf(server2d[m], sizeof(server2d[m]), "http://wiicover.gateflorida.com/2d/");m++; snprintf(server2d[m], sizeof(server2d[m]), "http://awiibit.com/BoxArt160x224/");m++; + snprintf(server2d[m], sizeof(server2d[m]), "http://boxart.rowdyruff.net/flat/");m++; + + //server test shit again + /*m=0; + snprintf(serverTEST[m], sizeof(serverTEST[m]), "http://gxload.joschtex.com/");m++; + snprintf(serverTEST[m], sizeof(serverTEST[m]), "http://wiicover.gateflorida.com/");m++; + snprintf(serverTEST[m], sizeof(serverTEST[m]), "http://awiibit.com/");m++; + snprintf(serverTEST[m], sizeof(serverTEST[m]), "http://boxart.rowdyruff.net/");m++; + + for(int b=0;b1)msgTxt.SetTextf("%i %s", cntMissFiles - i, tr("files left")); + else msgTxt.SetTextf("%i %s", cntMissFiles - i, tr("file left")); msg2Txt.SetTextf("%s", missingFiles[i]); //download boxart image char imgPath[100]; char URLFile[100]; + char tmp[75]; + sprintf(tmp,"Not Found"); struct block file = downloadfile(URLFile); if (choice2 == 2) { while(triesRemove(&promptWindow); mainWindow->SetState(STATE_DEFAULT); diff --git a/source/settings/cfg.c b/source/settings/cfg.c index eda8e188..04075909 100644 --- a/source/settings/cfg.c +++ b/source/settings/cfg.c @@ -335,6 +335,7 @@ void Global_Default(void) Settings.qboot = no; Settings.wiilight = 1; Settings.patchcountrystrings = 0; + Settings.gridRows = 3; Settings.error002 = 0; Settings.titlesOverride = 0; snprintf(Settings.db_url, sizeof(Settings.db_url), empty); @@ -938,6 +939,13 @@ void global_cfg_set(char *name, char *val) } return; } + else if (strcmp(name, "gridRows") == 0) { + int i; + if (sscanf(val, "%d", &i) == 1) { + Settings.gridRows = i; + } + return; + } else if (strcmp(name, "xflip") == 0) { int i; if (sscanf(val, "%d", &i) == 1) { @@ -1215,6 +1223,7 @@ bool cfg_save_global()// save global settings fprintf(f, "cios = %d\n ", Settings.cios); fprintf(f, "keyset = %d\n ", Settings.keyset); fprintf(f, "xflip = %d\n ", Settings.xflip); + fprintf(f, "gridRows = %d\n ", Settings.gridRows); fprintf(f, "qboot = %d\n ", Settings.qboot); fprintf(f, "wsprompt = %d\n", Settings.wsprompt); fprintf(f, "parentalcontrol = %d\n ", Settings.parentalcontrol); diff --git a/source/settings/cfg.h b/source/settings/cfg.h index eb2d8a53..425ffe33 100644 --- a/source/settings/cfg.h +++ b/source/settings/cfg.h @@ -358,6 +358,7 @@ struct SSettings { char db_url[200]; char db_language[100]; int db_JPtoEN; + int gridRows; }; void CFG_LoadGlobal(void);