*Fixed the Format Menu which was not working at all before lol

*Added auto create subfolders to GCT creation.
*Some minor fixes
This commit is contained in:
dimok321 2009-08-01 22:40:01 +00:00
parent 267edd1bd4
commit b7da5eb058
25 changed files with 264 additions and 200 deletions

View File

@ -4,7 +4,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-31 20:03+0200\n" "POT-Creation-Date: 2009-08-02 00:25+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: David Jelinek (djelinek@hotmail.com) \n" "Last-Translator: David Jelinek (djelinek@hotmail.com) \n"
"Language-Team: r686 - last version on http://startgolf.tym.cz/czech.lang \n" "Language-Team: r686 - last version on http://startgolf.tym.cz/czech.lang \n"
@ -454,6 +454,9 @@ msgstr "Ukoncit USB Loader GX?"
msgid "Failed formating" msgid "Failed formating"
msgstr "Neúspešné formátování" msgstr "Neúspešné formátování"
msgid "Failed to open partition"
msgstr ""
msgid "Feb" msgid "Feb"
msgstr "Ún" msgstr "Ún"
@ -713,9 +716,6 @@ msgstr "Nechybí žádný soubor!"
msgid "No new updates." msgid "No new updates."
msgstr "Není dostupná žádná aktualizace." msgstr "Není dostupná žádná aktualizace."
msgid "No partitions found"
msgstr "Nebyl nalezen žádný oddíl"
msgid "Normal" msgid "Normal"
msgstr "Normální" msgstr "Normální"
@ -830,9 +830,6 @@ msgstr "Prejmenovat hru na WBFS"
msgid "Reset Playcounter" msgid "Reset Playcounter"
msgstr "Vynulovat cítac spuštení" msgstr "Vynulovat cítac spuštení"
msgid "Restart"
msgstr ""
msgid "Restarting..." msgid "Restarting..."
msgstr "Restartuji..." msgstr "Restartuji..."
@ -1142,3 +1139,6 @@ msgstr "z "
msgid "seconds left" msgid "seconds left"
msgstr "sekund zbývá" msgstr "sekund zbývá"
#~ msgid "No partitions found"
#~ msgstr "Nebyl nalezen žádný oddíl"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-31 23:02+0200\n" "POT-Creation-Date: 2009-08-02 00:25+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -454,6 +454,9 @@ msgstr "Afslut USB Loader GX?"
msgid "Failed formating" msgid "Failed formating"
msgstr "Formateringen mislykkedes" msgstr "Formateringen mislykkedes"
msgid "Failed to open partition"
msgstr ""
msgid "Feb" msgid "Feb"
msgstr "Feb" msgstr "Feb"
@ -713,9 +716,6 @@ msgstr "Ingen filer mangler!"
msgid "No new updates." msgid "No new updates."
msgstr "Ingen nye opdateringer." msgstr "Ingen nye opdateringer."
msgid "No partitions found"
msgstr "Ingen partitioner fundet"
msgid "Normal" msgid "Normal"
msgstr "Normal" msgstr "Normal"
@ -830,9 +830,6 @@ msgstr "Omdøb spil på WBFS"
msgid "Reset Playcounter" msgid "Reset Playcounter"
msgstr "Nulstil spiltæller" msgstr "Nulstil spiltæller"
msgid "Restart"
msgstr "Genstart"
msgid "Restarting..." msgid "Restarting..."
msgstr "Genstarter..." msgstr "Genstarter..."
@ -1143,5 +1140,11 @@ msgstr "af"
msgid "seconds left" msgid "seconds left"
msgstr "sekunder tilbage" msgstr "sekunder tilbage"
#~ msgid "No partitions found"
#~ msgstr "Ingen partitioner fundet"
#~ msgid "Restart"
#~ msgstr "Genstart"
#~ msgid "Saving" #~ msgid "Saving"
#~ msgstr "Gemmer" #~ msgstr "Gemmer"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-31 20:03+0200\n" "POT-Creation-Date: 2009-08-02 00:25+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: tj_cool\n" "Last-Translator: tj_cool\n"
"Language-Team: \n" "Language-Team: \n"
@ -454,6 +454,9 @@ msgstr "USB Loader GX Afsluiten?"
msgid "Failed formating" msgid "Failed formating"
msgstr "Formatteren mislukt" msgstr "Formatteren mislukt"
msgid "Failed to open partition"
msgstr ""
msgid "Feb" msgid "Feb"
msgstr "Feb" msgstr "Feb"
@ -713,9 +716,6 @@ msgstr "Geen missende bestanden!"
msgid "No new updates." msgid "No new updates."
msgstr "Geen nieuwe updates." msgstr "Geen nieuwe updates."
msgid "No partitions found"
msgstr "Geen partities gevonden"
msgid "Normal" msgid "Normal"
msgstr "Normaal" msgstr "Normaal"
@ -830,9 +830,6 @@ msgstr "Spel hernoemen op WBFS"
msgid "Reset Playcounter" msgid "Reset Playcounter"
msgstr "Speeltellers resetten" msgstr "Speeltellers resetten"
msgid "Restart"
msgstr "Herstarten"
msgid "Restarting..." msgid "Restarting..."
msgstr "Herstarten..." msgstr "Herstarten..."
@ -1143,5 +1140,11 @@ msgstr "van"
msgid "seconds left" msgid "seconds left"
msgstr "seconden over:" msgstr "seconden over:"
#~ msgid "No partitions found"
#~ msgstr "Geen partities gevonden"
#~ msgid "Restart"
#~ msgstr "Herstarten"
#~ msgid "Saving" #~ msgid "Saving"
#~ msgstr "Bewaren..." #~ msgstr "Bewaren..."

View File

@ -4,7 +4,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-31 20:03+0200\n" "POT-Creation-Date: 2009-08-02 00:25+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -454,6 +454,9 @@ msgstr ""
msgid "Failed formating" msgid "Failed formating"
msgstr "" msgstr ""
msgid "Failed to open partition"
msgstr ""
msgid "Feb" msgid "Feb"
msgstr "" msgstr ""
@ -713,9 +716,6 @@ msgstr ""
msgid "No new updates." msgid "No new updates."
msgstr "" msgstr ""
msgid "No partitions found"
msgstr ""
msgid "Normal" msgid "Normal"
msgstr "" msgstr ""
@ -830,9 +830,6 @@ msgstr ""
msgid "Reset Playcounter" msgid "Reset Playcounter"
msgstr "" msgstr ""
msgid "Restart"
msgstr ""
msgid "Restarting..." msgid "Restarting..."
msgstr "" msgstr ""

View File

@ -4,7 +4,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-31 20:03+0200\n" "POT-Creation-Date: 2009-08-02 00:25+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -454,6 +454,9 @@ msgstr "Poistu USB Loader GX:stä?"
msgid "Failed formating" msgid "Failed formating"
msgstr "Formatointi ei onnistunut" msgstr "Formatointi ei onnistunut"
msgid "Failed to open partition"
msgstr ""
msgid "Feb" msgid "Feb"
msgstr "" msgstr ""
@ -713,9 +716,6 @@ msgstr "Ei tiedostoja kadoksissa!"
msgid "No new updates." msgid "No new updates."
msgstr "" msgstr ""
msgid "No partitions found"
msgstr "Osioita ei löytynyt"
msgid "Normal" msgid "Normal"
msgstr "Normaali" msgstr "Normaali"
@ -830,9 +830,6 @@ msgstr "Uudelleennimeä peli"
msgid "Reset Playcounter" msgid "Reset Playcounter"
msgstr "" msgstr ""
msgid "Restart"
msgstr "Käynnistä uudelleen"
msgid "Restarting..." msgid "Restarting..."
msgstr "" msgstr ""
@ -1142,3 +1139,9 @@ msgstr "josta"
msgid "seconds left" msgid "seconds left"
msgstr "sekuntia jäljellä" msgstr "sekuntia jäljellä"
#~ msgid "No partitions found"
#~ msgstr "Osioita ei löytynyt"
#~ msgid "Restart"
#~ msgstr "Käynnistä uudelleen"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-31 20:03+0200\n" "POT-Creation-Date: 2009-08-02 00:25+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: Kin8\n" "Last-Translator: Kin8\n"
"Language-Team: Badablek, Amour, ikya, OuahOuah, dj_skual & Kin8\n" "Language-Team: Badablek, Amour, ikya, OuahOuah, dj_skual & Kin8\n"
@ -454,6 +454,9 @@ msgstr "Quitter USB Loader GX ?"
msgid "Failed formating" msgid "Failed formating"
msgstr "Échec du formatage" msgstr "Échec du formatage"
msgid "Failed to open partition"
msgstr ""
msgid "Feb" msgid "Feb"
msgstr "Fév" msgstr "Fév"
@ -713,9 +716,6 @@ msgstr "Aucun fichier manquant !"
msgid "No new updates." msgid "No new updates."
msgstr "Pas de nouvelle Mise à Jour." msgstr "Pas de nouvelle Mise à Jour."
msgid "No partitions found"
msgstr "Aucune partition trouvée"
msgid "Normal" msgid "Normal"
msgstr "4:3" msgstr "4:3"
@ -830,9 +830,6 @@ msgstr "Renommer un jeu"
msgid "Reset Playcounter" msgid "Reset Playcounter"
msgstr "Reset Utilisation du Jeu" msgstr "Reset Utilisation du Jeu"
msgid "Restart"
msgstr "Redémarrer"
msgid "Restarting..." msgid "Restarting..."
msgstr "Redémarrage..." msgstr "Redémarrage..."
@ -1143,5 +1140,11 @@ msgstr "sur"
msgid "seconds left" msgid "seconds left"
msgstr "secondes restantes" msgstr "secondes restantes"
#~ msgid "No partitions found"
#~ msgstr "Aucune partition trouvée"
#~ msgid "Restart"
#~ msgstr "Redémarrer"
#~ msgid "Saving" #~ msgid "Saving"
#~ msgstr "Sauvegarde" #~ msgstr "Sauvegarde"

View File

@ -1,10 +1,10 @@
# USB Loader GX language source file. # USB Loader GX language source file.
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-31 23:13+0200\n" "POT-Creation-Date: 2009-08-02 00:25+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -454,6 +454,9 @@ msgstr "USB Loader GX beenden?"
msgid "Failed formating" msgid "Failed formating"
msgstr "Formatieren fehlgeschlagen" msgstr "Formatieren fehlgeschlagen"
msgid "Failed to open partition"
msgstr ""
msgid "Feb" msgid "Feb"
msgstr "Feb" msgstr "Feb"
@ -713,9 +716,6 @@ msgstr "Alle Dateien vorhanden!"
msgid "No new updates." msgid "No new updates."
msgstr "Keine Aktualisierung vorhanden." msgstr "Keine Aktualisierung vorhanden."
msgid "No partitions found"
msgstr "Keine Partitionen gefunden"
msgid "Normal" msgid "Normal"
msgstr "Normal" msgstr "Normal"
@ -830,9 +830,6 @@ msgstr "Spiel umbenennen"
msgid "Reset Playcounter" msgid "Reset Playcounter"
msgstr "Spielzähler zurücksetzen" msgstr "Spielzähler zurücksetzen"
msgid "Restart"
msgstr "Neustart"
msgid "Restarting..." msgid "Restarting..."
msgstr "Starte Neu..." msgstr "Starte Neu..."
@ -949,7 +946,7 @@ msgid "Themepath change"
msgstr "Theme Pfad ändern" msgstr "Theme Pfad ändern"
msgid "Time left:" msgid "Time left:"
msgstr "Zeit verbleibend:" msgstr "Noch:"
msgid "Title Launcher" msgid "Title Launcher"
msgstr "" msgstr ""
@ -1143,6 +1140,12 @@ msgstr "von"
msgid "seconds left" msgid "seconds left"
msgstr "Sekunden verbleiben" msgstr "Sekunden verbleiben"
#~ msgid "No partitions found"
#~ msgstr "Keine Partitionen gefunden"
#~ msgid "Restart"
#~ msgstr "Neustart"
#~ msgid "Saving" #~ msgid "Saving"
#~ msgstr "Speichere" #~ msgstr "Speichere"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-31 20:03+0200\n" "POT-Creation-Date: 2009-08-02 00:25+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: Tusk\n" "Last-Translator: Tusk\n"
"Language-Team: \n" "Language-Team: \n"
@ -454,6 +454,9 @@ msgstr "Kilépsz az USB Loader GX-bõl?"
msgid "Failed formating" msgid "Failed formating"
msgstr "Formázás sikertelen" msgstr "Formázás sikertelen"
msgid "Failed to open partition"
msgstr ""
msgid "Feb" msgid "Feb"
msgstr "Feb" msgstr "Feb"
@ -713,9 +716,6 @@ msgstr "Egy fájl sem hiányzik!"
msgid "No new updates." msgid "No new updates."
msgstr "Nem elérhetõ frissítés." msgstr "Nem elérhetõ frissítés."
msgid "No partitions found"
msgstr "Nem találtam particiót"
msgid "Normal" msgid "Normal"
msgstr "Normális" msgstr "Normális"
@ -830,9 +830,6 @@ msgstr "WBFS játék átnevezése"
msgid "Reset Playcounter" msgid "Reset Playcounter"
msgstr "Elindítások Nullázása" msgstr "Elindítások Nullázása"
msgid "Restart"
msgstr "Újraindítás"
msgid "Restarting..." msgid "Restarting..."
msgstr "Újraindítás..." msgstr "Újraindítás..."
@ -1142,3 +1139,9 @@ msgstr " "
msgid "seconds left" msgid "seconds left"
msgstr "hátralévõ másodperc" msgstr "hátralévõ másodperc"
#~ msgid "No partitions found"
#~ msgstr "Nem találtam particiót"
#~ msgid "Restart"
#~ msgstr "Újraindítás"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-31 20:03+0200\n" "POT-Creation-Date: 2009-08-02 00:25+0200\n"
"PO-Revision-Date: 2009-07-24 11:00+0200\n" "PO-Revision-Date: 2009-07-24 11:00+0200\n"
"Last-Translator: Cambo \n" "Last-Translator: Cambo \n"
"Language-Team: FoxeJoe & Cambo\n" "Language-Team: FoxeJoe & Cambo\n"
@ -454,6 +454,9 @@ msgstr "Esci da USB Loader GX?"
msgid "Failed formating" msgid "Failed formating"
msgstr "Errore Formattazione" msgstr "Errore Formattazione"
msgid "Failed to open partition"
msgstr ""
msgid "Feb" msgid "Feb"
msgstr "febbraio" msgstr "febbraio"
@ -713,9 +716,6 @@ msgstr "Nessun file mancante!"
msgid "No new updates." msgid "No new updates."
msgstr "Nessun Aggiornamento." msgstr "Nessun Aggiornamento."
msgid "No partitions found"
msgstr "Nessuna partizione trovata"
msgid "Normal" msgid "Normal"
msgstr "Normale" msgstr "Normale"
@ -830,9 +830,6 @@ msgstr "Rinomina Gioco su WBFS"
msgid "Reset Playcounter" msgid "Reset Playcounter"
msgstr "Azzera contatore" msgstr "Azzera contatore"
msgid "Restart"
msgstr "Riavvia"
msgid "Restarting..." msgid "Restarting..."
msgstr "Sto riavviando..." msgstr "Sto riavviando..."
@ -1143,5 +1140,11 @@ msgstr "di"
msgid "seconds left" msgid "seconds left"
msgstr "secondi mancanti" msgstr "secondi mancanti"
#~ msgid "No partitions found"
#~ msgstr "Nessuna partizione trovata"
#~ msgid "Restart"
#~ msgstr "Riavvia"
#~ msgid "Saving" #~ msgid "Saving"
#~ msgstr "Sto salvando" #~ msgstr "Sto salvando"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-31 20:03+0200\n" "POT-Creation-Date: 2009-08-02 00:25+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -454,6 +454,9 @@ msgstr "USB Loader GXを終了しますか?"
msgid "Failed formating" msgid "Failed formating"
msgstr "フォーマットに失敗しました" msgstr "フォーマットに失敗しました"
msgid "Failed to open partition"
msgstr ""
msgid "Feb" msgid "Feb"
msgstr "2月" msgstr "2月"
@ -713,9 +716,6 @@ msgstr "ファイルを検出できませんでした!"
msgid "No new updates." msgid "No new updates."
msgstr "更新はありません" msgstr "更新はありません"
msgid "No partitions found"
msgstr "パーティションを検出できませんでした"
msgid "Normal" msgid "Normal"
msgstr "Normal(4:3)" msgstr "Normal(4:3)"
@ -830,9 +830,6 @@ msgstr "WBFS上のゲーム名変更"
msgid "Reset Playcounter" msgid "Reset Playcounter"
msgstr "プレイ回数のリセット" msgstr "プレイ回数のリセット"
msgid "Restart"
msgstr "再起動"
msgid "Restarting..." msgid "Restarting..."
msgstr "再起動中..." msgstr "再起動中..."
@ -1142,3 +1139,9 @@ msgstr "of"
msgid "seconds left" msgid "seconds left"
msgstr "完了までの秒数" msgstr "完了までの秒数"
#~ msgid "No partitions found"
#~ msgstr "パーティションを検出できませんでした"
#~ msgid "Restart"
#~ msgstr "再起動"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-31 20:03+0200\n" "POT-Creation-Date: 2009-08-02 00:25+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -454,6 +454,9 @@ msgstr "USB로더 GX를 종료할까요?"
msgid "Failed formating" msgid "Failed formating"
msgstr "포맷 실패" msgstr "포맷 실패"
msgid "Failed to open partition"
msgstr ""
msgid "Feb" msgid "Feb"
msgstr "" msgstr ""
@ -713,9 +716,6 @@ msgstr "누락 파일 없음!"
msgid "No new updates." msgid "No new updates."
msgstr "" msgstr ""
msgid "No partitions found"
msgstr "파티션이 없습니다."
msgid "Normal" msgid "Normal"
msgstr "일반" msgstr "일반"
@ -830,9 +830,6 @@ msgstr "WBFS에서 게임 이름 변경"
msgid "Reset Playcounter" msgid "Reset Playcounter"
msgstr "" msgstr ""
msgid "Restart"
msgstr "다시 시작"
msgid "Restarting..." msgid "Restarting..."
msgstr "" msgstr ""
@ -1142,3 +1139,9 @@ msgstr "중"
msgid "seconds left" msgid "seconds left"
msgstr "초 남았습니다" msgstr "초 남았습니다"
#~ msgid "No partitions found"
#~ msgstr "파티션이 없습니다."
#~ msgid "Restart"
#~ msgstr "다시 시작"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-31 23:13+0200\n" "POT-Creation-Date: 2009-08-02 00:25+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -454,6 +454,9 @@ msgstr "Avslutt USB Loader GX?"
msgid "Failed formating" msgid "Failed formating"
msgstr "Feil ved formatering" msgstr "Feil ved formatering"
msgid "Failed to open partition"
msgstr ""
msgid "Feb" msgid "Feb"
msgstr "Feb" msgstr "Feb"
@ -713,9 +716,6 @@ msgstr "Ingen filer mangler!"
msgid "No new updates." msgid "No new updates."
msgstr "Ingen nye oppdateringer." msgstr "Ingen nye oppdateringer."
msgid "No partitions found"
msgstr "Ingen partisjoner funnet"
msgid "Normal" msgid "Normal"
msgstr "Normal" msgstr "Normal"
@ -830,9 +830,6 @@ msgstr "Gi nytt navn til spill på WBFS"
msgid "Reset Playcounter" msgid "Reset Playcounter"
msgstr "Nullstill teller" msgstr "Nullstill teller"
msgid "Restart"
msgstr "Start på nytt"
msgid "Restarting..." msgid "Restarting..."
msgstr "Starter på nytt..." msgstr "Starter på nytt..."
@ -1143,5 +1140,11 @@ msgstr "av"
msgid "seconds left" msgid "seconds left"
msgstr "sekunder gjenstår" msgstr "sekunder gjenstår"
#~ msgid "No partitions found"
#~ msgstr "Ingen partisjoner funnet"
#~ msgid "Restart"
#~ msgstr "Start på nytt"
#~ msgid "Saving" #~ msgid "Saving"
#~ msgstr "Lagrer" #~ msgstr "Lagrer"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-31 20:03+0200\n" "POT-Creation-Date: 2009-08-02 00:25+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: ziom666 (zadania_prog@vp.pl)\n" "Last-Translator: ziom666 (zadania_prog@vp.pl)\n"
"Language-Team: \n" "Language-Team: \n"
@ -454,6 +454,9 @@ msgstr "Zakonczyc prace programu?"
msgid "Failed formating" msgid "Failed formating"
msgstr "Nie udalo sie sformatowac" msgstr "Nie udalo sie sformatowac"
msgid "Failed to open partition"
msgstr ""
msgid "Feb" msgid "Feb"
msgstr "Luty" msgstr "Luty"
@ -713,9 +716,6 @@ msgstr ""
msgid "No new updates." msgid "No new updates."
msgstr "Posiadasz aktualna wersje" msgstr "Posiadasz aktualna wersje"
msgid "No partitions found"
msgstr "Nie wykryto zadnej partycji"
msgid "Normal" msgid "Normal"
msgstr "Standardowe" msgstr "Standardowe"
@ -830,9 +830,6 @@ msgstr "Zmien tytul gry na WBFS"
msgid "Reset Playcounter" msgid "Reset Playcounter"
msgstr "Zrestartuj licznik" msgstr "Zrestartuj licznik"
msgid "Restart"
msgstr ""
msgid "Restarting..." msgid "Restarting..."
msgstr "Restartowanie..." msgstr "Restartowanie..."
@ -1142,3 +1139,6 @@ msgstr "z"
msgid "seconds left" msgid "seconds left"
msgstr "sekund pozostalo" msgstr "sekund pozostalo"
#~ msgid "No partitions found"
#~ msgstr "Nie wykryto zadnej partycji"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-31 20:03+0200\n" "POT-Creation-Date: 2009-08-02 00:25+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -454,6 +454,9 @@ msgstr "Deseja sair do USB Loader GX?"
msgid "Failed formating" msgid "Failed formating"
msgstr "Falha ao formatar" msgstr "Falha ao formatar"
msgid "Failed to open partition"
msgstr ""
msgid "Feb" msgid "Feb"
msgstr "Fev" msgstr "Fev"
@ -713,9 +716,6 @@ msgstr "Não há arquivos faltando!"
msgid "No new updates." msgid "No new updates."
msgstr "Não há novas atualizações." msgstr "Não há novas atualizações."
msgid "No partitions found"
msgstr "Partições não encontradas"
msgid "Normal" msgid "Normal"
msgstr "Normal" msgstr "Normal"
@ -830,9 +830,6 @@ msgstr "Renomear jogo na partição WBFS"
msgid "Reset Playcounter" msgid "Reset Playcounter"
msgstr "" msgstr ""
msgid "Restart"
msgstr "Reiniciar"
msgid "Restarting..." msgid "Restarting..."
msgstr "Reiniciando..." msgstr "Reiniciando..."
@ -1142,3 +1139,9 @@ msgstr "de"
msgid "seconds left" msgid "seconds left"
msgstr "segundos restantes" msgstr "segundos restantes"
#~ msgid "No partitions found"
#~ msgstr "Partições não encontradas"
#~ msgid "Restart"
#~ msgstr "Reiniciar"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-31 20:03+0200\n" "POT-Creation-Date: 2009-08-02 00:25+0200\n"
"PO-Revision-Date: 2009-07-30 12:36\n" "PO-Revision-Date: 2009-07-30 12:36\n"
"Last-Translator: Sky8000\n" "Last-Translator: Sky8000\n"
"Language-Team: \n" "Language-Team: \n"
@ -454,6 +454,9 @@ msgstr "Pretende sair do USB Loader GX?"
msgid "Failed formating" msgid "Failed formating"
msgstr "Falha ao formatar" msgstr "Falha ao formatar"
msgid "Failed to open partition"
msgstr ""
msgid "Feb" msgid "Feb"
msgstr "Fev" msgstr "Fev"
@ -713,9 +716,6 @@ msgstr "Não há ficheiros em falta!"
msgid "No new updates." msgid "No new updates."
msgstr "Não existem novas actualizações." msgstr "Não existem novas actualizações."
msgid "No partitions found"
msgstr "Não foram encontradas partições"
msgid "Normal" msgid "Normal"
msgstr "Normal" msgstr "Normal"
@ -830,9 +830,6 @@ msgstr "Alterar nome do jogo na partição WBFS"
msgid "Reset Playcounter" msgid "Reset Playcounter"
msgstr "Limpar Contagem" msgstr "Limpar Contagem"
msgid "Restart"
msgstr "Reiniciar"
msgid "Restarting..." msgid "Restarting..."
msgstr "A Wii irá reiniciar" msgstr "A Wii irá reiniciar"
@ -1143,5 +1140,11 @@ msgstr "de"
msgid "seconds left" msgid "seconds left"
msgstr "segundos restantes" msgstr "segundos restantes"
#~ msgid "No partitions found"
#~ msgstr "Não foram encontradas partições"
#~ msgid "Restart"
#~ msgstr "Reiniciar"
#~ msgid "Saving" #~ msgid "Saving"
#~ msgstr "Gravando" #~ msgstr "Gravando"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-31 20:03+0200\n" "POT-Creation-Date: 2009-08-02 00:25+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: Kir\n" "Last-Translator: Kir\n"
"Language-Team: Kir\n" "Language-Team: Kir\n"
@ -454,6 +454,9 @@ msgstr "Выйти из USB Loader GX?"
msgid "Failed formating" msgid "Failed formating"
msgstr "Форматирование не удалось" msgstr "Форматирование не удалось"
msgid "Failed to open partition"
msgstr ""
msgid "Feb" msgid "Feb"
msgstr "Фев" msgstr "Фев"
@ -713,9 +716,6 @@ msgstr "Файл не найден!"
msgid "No new updates." msgid "No new updates."
msgstr "Нет обновлений" msgstr "Нет обновлений"
msgid "No partitions found"
msgstr "Разделы не найдены"
msgid "Normal" msgid "Normal"
msgstr "Обычный" msgstr "Обычный"
@ -830,9 +830,6 @@ msgstr "Переименовать игры в WBFS"
msgid "Reset Playcounter" msgid "Reset Playcounter"
msgstr "Сбросить счетчик запусков" msgstr "Сбросить счетчик запусков"
msgid "Restart"
msgstr "Перезапустить"
msgid "Restarting..." msgid "Restarting..."
msgstr "Перезапускаю..." msgstr "Перезапускаю..."
@ -1142,3 +1139,9 @@ msgstr "из"
msgid "seconds left" msgid "seconds left"
msgstr "секунд осталось" msgstr "секунд осталось"
#~ msgid "No partitions found"
#~ msgstr "Разделы не найдены"
#~ msgid "Restart"
#~ msgstr "Перезапустить"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-31 20:03+0200\n" "POT-Creation-Date: 2009-08-02 00:25+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -454,6 +454,9 @@ msgstr "离开 USB Loader GX?"
msgid "Failed formating" msgid "Failed formating"
msgstr "格式化失败" msgstr "格式化失败"
msgid "Failed to open partition"
msgstr ""
msgid "Feb" msgid "Feb"
msgstr "" msgstr ""
@ -713,9 +716,6 @@ msgstr "没有缺少的文件!"
msgid "No new updates." msgid "No new updates."
msgstr "" msgstr ""
msgid "No partitions found"
msgstr "找不到分区"
msgid "Normal" msgid "Normal"
msgstr "一般" msgstr "一般"
@ -830,9 +830,6 @@ msgstr "改变WBFS(硬盘)上的游戏名称"
msgid "Reset Playcounter" msgid "Reset Playcounter"
msgstr "" msgstr ""
msgid "Restart"
msgstr "重新启动"
msgid "Restarting..." msgid "Restarting..."
msgstr "" msgstr ""
@ -1142,3 +1139,9 @@ msgstr "的"
msgid "seconds left" msgid "seconds left"
msgstr "剩余秒数" msgstr "剩余秒数"
#~ msgid "No partitions found"
#~ msgstr "找不到分区"
#~ msgid "Restart"
#~ msgstr "重新启动"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-31 20:03+0200\n" "POT-Creation-Date: 2009-08-02 00:25+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -454,6 +454,9 @@ msgstr "¿Salir de USB Loader GX?"
msgid "Failed formating" msgid "Failed formating"
msgstr "Fallo al formatear" msgstr "Fallo al formatear"
msgid "Failed to open partition"
msgstr ""
msgid "Feb" msgid "Feb"
msgstr "Feb" msgstr "Feb"
@ -713,9 +716,6 @@ msgstr "¡No faltan archivos!"
msgid "No new updates." msgid "No new updates."
msgstr "No hay actualizaciones." msgstr "No hay actualizaciones."
msgid "No partitions found"
msgstr "Particiones no encontradas"
msgid "Normal" msgid "Normal"
msgstr "Normal" msgstr "Normal"
@ -830,9 +830,6 @@ msgstr "Renombrar juego en WBFS"
msgid "Reset Playcounter" msgid "Reset Playcounter"
msgstr "Reiniciar conteo jugados" msgstr "Reiniciar conteo jugados"
msgid "Restart"
msgstr "Reiniciar"
msgid "Restarting..." msgid "Restarting..."
msgstr "Reiniciando..." msgstr "Reiniciando..."
@ -1143,5 +1140,11 @@ msgstr "de"
msgid "seconds left" msgid "seconds left"
msgstr "segundos restantes" msgstr "segundos restantes"
#~ msgid "No partitions found"
#~ msgstr "Particiones no encontradas"
#~ msgid "Restart"
#~ msgstr "Reiniciar"
#~ msgid "Saving" #~ msgid "Saving"
#~ msgstr "Guardando" #~ msgstr "Guardando"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-31 20:03+0200\n" "POT-Creation-Date: 2009-08-02 00:25+0200\n"
"PO-Revision-Date: 2009-07-31 12:20+0200\n" "PO-Revision-Date: 2009-07-31 12:20+0200\n"
"Last-Translator: Katsurou\n" "Last-Translator: Katsurou\n"
"Language-Team: Katsurou, pirateX\n" "Language-Team: Katsurou, pirateX\n"
@ -454,6 +454,9 @@ msgstr "Avsluta USB Loader GX?"
msgid "Failed formating" msgid "Failed formating"
msgstr "Formatering misslyckad" msgstr "Formatering misslyckad"
msgid "Failed to open partition"
msgstr ""
msgid "Feb" msgid "Feb"
msgstr "" msgstr ""
@ -713,9 +716,6 @@ msgstr "Inga filer saknas!"
msgid "No new updates." msgid "No new updates."
msgstr "Inga nya uppdateringar" msgstr "Inga nya uppdateringar"
msgid "No partitions found"
msgstr "Hittade ingen partition"
msgid "Normal" msgid "Normal"
msgstr "Vanlig" msgstr "Vanlig"
@ -830,9 +830,6 @@ msgstr "Döp om spel på WBFS"
msgid "Reset Playcounter" msgid "Reset Playcounter"
msgstr "Återställ spelat-räknaren" msgstr "Återställ spelat-räknaren"
msgid "Restart"
msgstr "Starta om"
msgid "Restarting..." msgid "Restarting..."
msgstr "Startar om..." msgstr "Startar om..."
@ -1143,5 +1140,11 @@ msgstr "av"
msgid "seconds left" msgid "seconds left"
msgstr "sekunder kvar" msgstr "sekunder kvar"
#~ msgid "No partitions found"
#~ msgstr "Hittade ingen partition"
#~ msgid "Restart"
#~ msgstr "Starta om"
#~ msgid "Saving" #~ msgid "Saving"
#~ msgstr "Sparar" #~ msgstr "Sparar"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-31 20:03+0200\n" "POT-Creation-Date: 2009-08-02 00:25+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -454,6 +454,9 @@ msgstr "離開 USB Loader GX?"
msgid "Failed formating" msgid "Failed formating"
msgstr "格式化失敗" msgstr "格式化失敗"
msgid "Failed to open partition"
msgstr ""
msgid "Feb" msgid "Feb"
msgstr "二月" msgstr "二月"
@ -713,9 +716,6 @@ msgstr "沒有缺少的檔案!"
msgid "No new updates." msgid "No new updates."
msgstr "無可用更新" msgstr "無可用更新"
msgid "No partitions found"
msgstr "找不到磁區"
msgid "Normal" msgid "Normal"
msgstr "一般" msgstr "一般"
@ -830,9 +830,6 @@ msgstr "變更WBFS上的遊戲名稱"
msgid "Reset Playcounter" msgid "Reset Playcounter"
msgstr "重置執行次數" msgstr "重置執行次數"
msgid "Restart"
msgstr "重新啟動"
msgid "Restarting..." msgid "Restarting..."
msgstr "正在重新啟動" msgstr "正在重新啟動"
@ -1143,5 +1140,11 @@ msgstr "剩餘空間 總容量"
msgid "seconds left" msgid "seconds left"
msgstr "剩餘秒數" msgstr "剩餘秒數"
#~ msgid "No partitions found"
#~ msgstr "找不到磁區"
#~ msgid "Restart"
#~ msgstr "重新啟動"
#~ msgid "Saving" #~ msgid "Saving"
#~ msgstr "正在儲存" #~ msgstr "正在儲存"

View File

@ -4,7 +4,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: USB Loader GX\n" "Project-Id-Version: USB Loader GX\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-07-31 20:03+0200\n" "POT-Creation-Date: 2009-08-02 00:25+0200\n"
"PO-Revision-Date: 2009-07-18 15:18+0200\n" "PO-Revision-Date: 2009-07-18 15:18+0200\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -454,6 +454,9 @@ msgstr "USB Loader GX'dan çik?"
msgid "Failed formating" msgid "Failed formating"
msgstr "Biçimlendirme basarisiz oldu" msgstr "Biçimlendirme basarisiz oldu"
msgid "Failed to open partition"
msgstr ""
msgid "Feb" msgid "Feb"
msgstr "" msgstr ""
@ -713,9 +716,6 @@ msgstr "Kayip dosya yok!"
msgid "No new updates." msgid "No new updates."
msgstr "" msgstr ""
msgid "No partitions found"
msgstr "Bölüm bulunamadi"
msgid "Normal" msgid "Normal"
msgstr "Normal" msgstr "Normal"
@ -830,9 +830,6 @@ msgstr "WBFS'deki oyunu yeniden isimlendir"
msgid "Reset Playcounter" msgid "Reset Playcounter"
msgstr "" msgstr ""
msgid "Restart"
msgstr "Yeniden Baslat"
msgid "Restarting..." msgid "Restarting..."
msgstr "" msgstr ""
@ -1142,3 +1139,9 @@ msgstr "/"
msgid "seconds left" msgid "seconds left"
msgstr "saniye kaldi" msgstr "saniye kaldi"
#~ msgid "No partitions found"
#~ msgstr "Bölüm bulunamadi"
#~ msgid "Restart"
#~ msgstr "Yeniden Baslat"

View File

@ -6,7 +6,8 @@
#include "libwiigui/gui_customoptionbrowser.h" #include "libwiigui/gui_customoptionbrowser.h"
#include "prompts/PromptWindows.h" #include "prompts/PromptWindows.h"
#include "language/gettext.h" #include "language/gettext.h"
#include "fatmounter.h" #include "fatmounter.h"
#include "listfiles.h"
#include "menu.h" #include "menu.h"
#include "filelist.h" #include "filelist.h"
#include "sys.h" #include "sys.h"
@ -35,7 +36,7 @@ int CheatMenu(const char * gameID) {
snprintf(imgPath, sizeof(imgPath), "%ssettings_background.png", CFG.theme_path); snprintf(imgPath, sizeof(imgPath), "%ssettings_background.png", CFG.theme_path);
GuiImageData settingsbg(imgPath, settings_background_png); GuiImageData settingsbg(imgPath, settings_background_png);
GuiImage settingsbackground(&settingsbg); GuiImage settingsbackground(&settingsbg);
GuiTrigger trigA; GuiTrigger trigA;
trigA.SetSimpleTrigger(-1, WPAD_BUTTON_A | WPAD_CLASSIC_BUTTON_A, PAD_BUTTON_A); trigA.SetSimpleTrigger(-1, WPAD_BUTTON_A | WPAD_CLASSIC_BUTTON_A, PAD_BUTTON_A);
GuiTrigger trigB; GuiTrigger trigB;
@ -126,7 +127,8 @@ int CheatMenu(const char * gameID) {
selectednrs[x] = i; selectednrs[x] = i;
x++; x++;
} }
} }
subfoldercreate(Settings.Cheatcodespath);
string chtpath = Settings.Cheatcodespath; string chtpath = Settings.Cheatcodespath;
string gctfname = chtpath + c.getGameID() + ".gct"; string gctfname = chtpath + c.getGameID() + ".gct";
c.createGCT(selectednrs,x,gctfname.c_str()); c.createGCT(selectednrs,x,gctfname.c_str());

View File

@ -199,6 +199,9 @@ GuiGameBrowser::~GuiGameBrowser()
void GuiGameBrowser::SetFocus(int f) void GuiGameBrowser::SetFocus(int f)
{ {
LOCK(this); LOCK(this);
if(!gameCnt)
return;
focus = f; focus = f;
for(int i=0; i<pagesize; i++) for(int i=0; i<pagesize; i++)
@ -282,7 +285,7 @@ int GuiGameBrowser::FindMenuItem(int currentItem, int direction)
void GuiGameBrowser::Draw() void GuiGameBrowser::Draw()
{ {
LOCK(this); LOCK(this);
if(!this->IsVisible()) if(!this->IsVisible() || !gameCnt)
return; return;
bgGameImg->Draw(); bgGameImg->Draw();
@ -340,7 +343,7 @@ void GuiGameBrowser::UpdateListEntries()
void GuiGameBrowser::Update(GuiTrigger * t) void GuiGameBrowser::Update(GuiTrigger * t)
{ {
LOCK(this); LOCK(this);
if(state == STATE_DISABLED || !t) if(state == STATE_DISABLED || !t || !gameCnt)
return; return;
int next, prev; int next, prev;

View File

@ -54,9 +54,9 @@ GuiGameGrid::GuiGameGrid(int w, int h, struct discHdr * l, int count, const char
gameCnt = (count < SAFETY) ? count : SAFETY; gameCnt = (count < SAFETY) ? count : SAFETY;
gameList = l; gameList = l;
c=count; c=count;
listOffset = (offset == 0) ? this->FindMenuItem(-1, 1) : offset; listOffset = 0;
selectable = true; selectable = true;
selectedItem = selected - offset; selectedItem = 0;
focus = 1; // allow focus focus = 1; // allow focus
firstPic = 0; firstPic = 0;
clickedItem = -1; clickedItem = -1;
@ -143,6 +143,9 @@ GuiGameGrid::GuiGameGrid(int w, int h, struct discHdr * l, int count, const char
coverImg = new GuiImage * [gameCnt]; coverImg = new GuiImage * [gameCnt];
cover = new GuiImageData * [gameCnt]; cover = new GuiImageData * [gameCnt];
if(!gameCnt)
return;
for(int i=0; i<pagesize; i++) { for(int i=0; i<pagesize; i++) {
bob[i]=i; bob[i]=i;
} }
@ -506,6 +509,9 @@ GuiGameGrid::~GuiGameGrid()
void GuiGameGrid::SetFocus(int f) void GuiGameGrid::SetFocus(int f)
{ {
LOCK(this); LOCK(this);
if(!gameCnt)
return;
focus = f; focus = f;
for(int i=0; i<pagesize; i++) for(int i=0; i<pagesize; i++)
@ -589,7 +595,7 @@ int GuiGameGrid::FindMenuItem(int currentItem, int direction)
void GuiGameGrid::Draw() void GuiGameGrid::Draw()
{ {
LOCK(this); LOCK(this);
if(!this->IsVisible()) if(!this->IsVisible() || gameCnt > 0)
return; return;
if(c>0){ if(c>0){
@ -628,6 +634,8 @@ void GuiGameGrid::Draw()
*/ */
void GuiGameGrid::ChangeRows(int n) void GuiGameGrid::ChangeRows(int n)
{ {
if(!gameCnt)
return;
rows=n; rows=n;
Settings.gridRows = rows; Settings.gridRows = rows;
@ -915,7 +923,7 @@ void GuiGameGrid::ChangeRows(int n)
void GuiGameGrid::Update(GuiTrigger * t) void GuiGameGrid::Update(GuiTrigger * t)
{ {
LOCK(this); LOCK(this);
if(state == STATE_DISABLED || !t) if(state == STATE_DISABLED || !t || !gameCnt)
return; return;
if(!(game[0]->GetEffect() || game[0]->GetEffectOnOver())) { if(!(game[0]->GetEffect() || game[0]->GetEffectOnOver())) {

View File

@ -16,6 +16,7 @@
#include "libwiigui/gui_gamegrid.h" #include "libwiigui/gui_gamegrid.h"
#include "libwiigui/gui_gamecarousel.h" #include "libwiigui/gui_gamecarousel.h"
#include "libwiigui/gui_gamebrowser.h" #include "libwiigui/gui_gamebrowser.h"
#include "libwiigui/gui_customoptionbrowser.h"
#include "usbloader/usbstorage.h" #include "usbloader/usbstorage.h"
#include "usbloader/wbfs.h" #include "usbloader/wbfs.h"
#include "usbloader/disc.h" #include "usbloader/disc.h"
@ -1482,14 +1483,19 @@ static int MenuInstall() {
***************************************************************************/ ***************************************************************************/
static int MenuFormat() { static int MenuFormat() {
USBDevice_deInit(); USBDevice_deInit();
sleep(1);
USBStorage_Init();
int menu = MENU_NONE; int menu = MENU_NONE;
char imgPath[100]; char imgPath[100];
OptionList options; customOptionList options(5);
partitionEntry partitions[MAX_PARTITIONS]; partitionEntry partitions[MAX_PARTITIONS];
u32 cnt, sector_size, selected = 2000; u32 cnt, sector_size;
int choice, ret; int choice, ret;
char text[ISFS_MAXPATH]; char text[ISFS_MAXPATH];
@ -1504,16 +1510,14 @@ static int MenuFormat() {
f32 size = entry->size * (sector_size / GBSIZE); f32 size = entry->size * (sector_size / GBSIZE);
if (size) { if (size) {
sprintf(options.name[cnt], "%s %d:",tr("Partition"), cnt+1); options.SetName(cnt, "%s %d:",tr("Partition"), cnt+1);
sprintf (options.value[cnt],"%.2fGB", size); options.SetValue(cnt,"%.2fGB", size);
} else { } else {
sprintf(options.name[cnt], "%s %d:",tr("Partition"), cnt+1); options.SetName(cnt, "%s %d:",tr("Partition"), cnt+1);
sprintf (options.value[cnt],tr("Can't be formated")); options.SetValue(cnt,tr("Can't be formated"));
} }
} }
options.length = cnt;
GuiSound btnSoundOver(button_over_pcm, button_over_pcm_size, SOUND_PCM, Settings.sfxvolume); GuiSound btnSoundOver(button_over_pcm, button_over_pcm_size, SOUND_PCM, Settings.sfxvolume);
GuiSound btnClick(button_click2_pcm, button_click2_pcm_size, SOUND_PCM, Settings.sfxvolume); GuiSound btnClick(button_click2_pcm, button_click2_pcm_size, SOUND_PCM, Settings.sfxvolume);
snprintf(imgPath, sizeof(imgPath), "%swiimote_poweroff.png", CFG.theme_path); snprintf(imgPath, sizeof(imgPath), "%swiimote_poweroff.png", CFG.theme_path);
@ -1542,13 +1546,12 @@ static int MenuFormat() {
GuiImage exitBtnImgOver(&btnhomeOver); GuiImage exitBtnImgOver(&btnhomeOver);
exitBtnImg.SetWidescreen(CFG.widescreen); exitBtnImg.SetWidescreen(CFG.widescreen);
exitBtnImgOver.SetWidescreen(CFG.widescreen); exitBtnImgOver.SetWidescreen(CFG.widescreen);
GuiButton exitBtn(&exitBtnImg,&exitBtnImgOver, 0, 3, 0,-10, &trigA, &btnSoundOver, &btnClick,1); GuiButton exitBtn(&exitBtnImg,&exitBtnImgOver, 0, 3, THEME.home_x, THEME.home_y, &trigA, &btnSoundOver, &btnClick,1);
exitBtn.SetTrigger(&trigHome); exitBtn.SetTrigger(&trigHome);
GuiOptionBrowser optionBrowser(THEME.selection_w, THEME.selection_h, &options, CFG.theme_path, bg_options_png, 1, 0); GuiCustomOptionBrowser optionBrowser(396, 280, &options, CFG.theme_path, "bg_options_settings.png", bg_options_settings_png, 0, 10);
optionBrowser.SetPosition(THEME.selection_x, THEME.selection_y); optionBrowser.SetPosition(0, 40);
optionBrowser.SetAlignment(ALIGN_LEFT, ALIGN_CENTRE); optionBrowser.SetAlignment(ALIGN_CENTRE, ALIGN_TOP);
optionBrowser.SetCol2Position(200);
HaltGui(); HaltGui();
GuiWindow w(screenwidth, screenheight); GuiWindow w(screenwidth, screenheight);
@ -1561,48 +1564,53 @@ static int MenuFormat() {
ResumeGui(); ResumeGui();
while (menu == MENU_NONE) { while (menu == MENU_NONE) {
VIDEO_WaitVSync (); VIDEO_WaitVSync ();
selected = optionBrowser.GetClickedOption(); ret = optionBrowser.GetClickedOption();
for (cnt = 0; cnt < MAX_PARTITIONS; cnt++) { if(ret >= 0) {
if ((cnt == selected)&&((Settings.godmode == 1)|| if(Settings.godmode == 1) {
(!strcmp("", Settings.unlockCode)))) { partitionEntry *entry = &partitions[ret];
partitionEntry *entry = &partitions[selected];
if (entry->size) { if (entry->size) {
sprintf(text, "%s %d : %.2fGB",tr("Partition"), selected+1, entry->size * (sector_size / GBSIZE)); sprintf(text, "%s %d : %.2fGB",tr("Partition"), ret+1, entry->size * (sector_size / GBSIZE));
choice = WindowPrompt( tr("Do you want to format:"), text,tr("Yes"),tr("No")); choice = WindowPrompt( tr("Do you want to format:"), text,tr("Yes"),tr("No"));
if (choice == 1) { if (choice == 1) {
ret = FormatingPartition(tr("Formatting, please wait..."), entry); ret = FormatingPartition(tr("Formatting, please wait..."), entry);
if (ret < 0) { if (ret < 0) {
WindowPrompt(tr("Error !"),tr("Failed formating"),tr("Return")); WindowPrompt(tr("Error !"),tr("Failed formating"),tr("Return"));
menu = MENU_SETTINGS; menu = MENU_SETTINGS;
} else { } else {
sleep(1);
ret = WBFS_Open(); ret = WBFS_Open();
sprintf(text, "%s %s", text,tr("formatted!")); sprintf(text, "%s %s", text,tr("formatted!"));
WindowPrompt(tr("Success:"),text,tr("OK")); WindowPrompt(tr("Success:"),text,tr("OK"));
if(ret < 0) {
WindowPrompt(tr("ERROR"), tr("Failed to open partition"), tr("OK"));
Sys_LoadMenu();
}
menu = MENU_DISCLIST; menu = MENU_DISCLIST;
} }
} }
} } else if(Settings.godmode == 0) {
} else if ( (cnt == selected)&&(Settings.godmode == 0) ) { mainWindow->Remove(&optionBrowser);
mainWindow->Remove(&optionBrowser); char entered[20] = "";
char entered[20] = ""; int result = OnScreenKeyboard(entered, 20,0);
int result = OnScreenKeyboard(entered, 20,0); mainWindow->Append(&optionBrowser);
mainWindow->Append(&optionBrowser); if ( result == 1 ) {
if ( result == 1 ) { if (!strcmp(entered, Settings.unlockCode)) { //if password correct
if (!strcmp(entered, Settings.unlockCode)) { //if password correct if (Settings.godmode == 0) {
if (Settings.godmode == 0) { WindowPrompt(tr("Correct Password"),tr("All the features of USB Loader GX are unlocked."),tr("OK"));
WindowPrompt(tr("Correct Password"),tr("All the features of USB Loader GX are unlocked."),tr("OK")); Settings.godmode = 1;
Settings.godmode = 1; }
} else {
WindowPrompt(tr("Wrong Password"),tr("USB Loader GX is protected"),tr("OK"));
} }
} else {
WindowPrompt(tr("Wrong Password"),tr("USB Loader GX is protected"),tr("OK"));
} }
} }
} }
} }
if (shutdown == 1) if (shutdown == 1)
Sys_Shutdown(); Sys_Shutdown();
if (reset == 1) if (reset == 1)
@ -1628,7 +1636,7 @@ static int MenuFormat() {
mainWindow->Remove(&optionBrowser); mainWindow->Remove(&optionBrowser);
mainWindow->Remove(&w); mainWindow->Remove(&w);
ResumeGui(); ResumeGui();
USBDevice_Init();
return menu; return menu;
} }
@ -1642,7 +1650,6 @@ static int MenuCheck() {
s32 ret2, wbfsinit; s32 ret2, wbfsinit;
OptionList options; OptionList options;
options.length = i; options.length = i;
partitionEntry partitions[MAX_PARTITIONS];
VIDEO_WaitVSync (); VIDEO_WaitVSync ();
@ -1684,13 +1691,6 @@ static int MenuCheck() {
if (choice == 0) { if (choice == 0) {
Sys_LoadMenu(); Sys_LoadMenu();
} else { } else {
/* Get partition entries */
u32 sector_size;
ret2 = Partition_GetEntries(partitions, &sector_size);
if (ret2 < 0) {
WindowPrompt (tr("No partitions found"),0, tr("Restart"));
Sys_LoadMenu();
}
menu = MENU_FORMAT; menu = MENU_FORMAT;
} }
} }