* Optimizing previous changes (Thanks Dimok)

* Fixed crashing problem when launching a game before banner caching is completed. (Dimok)
* Fixed theme downloader stuck at 100% after unzipping.
* Fixed prompt typo and prompt behavior when exiting the copy/delete GC menu.
* Renamed string "Rename Game on WBFS" to "Rename Game Title".
This commit is contained in:
Cyan 2012-06-17 18:02:25 +00:00
parent 5a52016f92
commit bc98a39187
33 changed files with 197 additions and 158 deletions

View File

@ -2,8 +2,8 @@
<app version="1"> <app version="1">
<name> USB Loader GX</name> <name> USB Loader GX</name>
<coder>USB Loader GX Team</coder> <coder>USB Loader GX Team</coder>
<version>3.0 r1189</version> <version>3.0 r1190</version>
<release_date>201206090828</release_date> <release_date>201206171744</release_date>
<!-- // remove this line to enable arguments <!-- // remove this line to enable arguments
<arguments> <arguments>
<arg>--ios=250</arg> <arg>--ios=250</arg>

View File

@ -5,7 +5,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: 2012-05-18 16:22+0200\n" "POT-Creation-Date: 2012-06-17 19:45+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: David Jelinek (djelinek@hotmail.com) e->e,r->r,u->u, c->c \n" "Last-Translator: David Jelinek (djelinek@hotmail.com) e->e,r->r,u->u, c->c \n"
"Language-Team: r1056 - last version on http://djelinek.sweb.cz/_USBLoderGX/czech.lang \n" "Language-Team: r1056 - last version on http://djelinek.sweb.cz/_USBLoderGX/czech.lang \n"
@ -620,7 +620,7 @@ msgstr ""
msgid "Do you want to delete a game on SD?" msgid "Do you want to delete a game on SD?"
msgstr "" msgstr ""
msgid "Do you want to discart changes?" msgid "Do you want to discard changes?"
msgstr "" msgstr ""
msgid "Do you want to download this theme?" msgid "Do you want to download this theme?"
@ -1568,8 +1568,8 @@ msgstr ""
msgid "Remove update" msgid "Remove update"
msgstr "Odstranit aktualizaci" msgstr "Odstranit aktualizaci"
msgid "Rename Game on WBFS" msgid "Rename Game Title"
msgstr "Prejmenovat hru na WBFS" msgstr ""
msgid "Rename category" msgid "Rename category"
msgstr "" msgstr ""
@ -2111,6 +2111,9 @@ msgstr "z "
msgid "seconds left" msgid "seconds left"
msgstr "sekund zbývá" msgstr "sekund zbývá"
#~ msgid "Rename Game on WBFS"
#~ msgstr "Prejmenovat hru na WBFS"
#~ msgid "Successfully Updated thanks to www.techjawa.com" #~ msgid "Successfully Updated thanks to www.techjawa.com"
#~ msgstr "Úspešne zaktualizováno díky www.techjawa.com" #~ msgstr "Úspešne zaktualizováno díky www.techjawa.com"

View File

@ -5,7 +5,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: 2012-05-18 16:22+0200\n" "POT-Creation-Date: 2012-06-17 19:45+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: Fox888[dk]\n" "Last-Translator: Fox888[dk]\n"
"Language-Team: [dk]\n" "Language-Team: [dk]\n"
@ -620,7 +620,7 @@ msgstr ""
msgid "Do you want to delete a game on SD?" msgid "Do you want to delete a game on SD?"
msgstr "" msgstr ""
msgid "Do you want to discart changes?" msgid "Do you want to discard changes?"
msgstr "" msgstr ""
msgid "Do you want to download this theme?" msgid "Do you want to download this theme?"
@ -1568,8 +1568,8 @@ msgstr "Husk at låse op"
msgid "Remove update" msgid "Remove update"
msgstr "Fjern opdatering" msgstr "Fjern opdatering"
msgid "Rename Game on WBFS" msgid "Rename Game Title"
msgstr "Omdøb spil på WBFS" msgstr ""
msgid "Rename category" msgid "Rename category"
msgstr "Omdøb kategori" msgstr "Omdøb kategori"
@ -2111,6 +2111,9 @@ msgstr "af"
msgid "seconds left" msgid "seconds left"
msgstr "sekunder tilbage" msgstr "sekunder tilbage"
#~ msgid "Rename Game on WBFS"
#~ msgstr "Omdøb spil på WBFS"
#~ msgid "Successfully Updated thanks to www.techjawa.com" #~ msgid "Successfully Updated thanks to www.techjawa.com"
#~ msgstr "Opdateringen lykkedes takket været www.techjawa.com" #~ msgstr "Opdateringen lykkedes takket været www.techjawa.com"

View File

@ -5,7 +5,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: 2012-05-18 16:22+0200\n" "POT-Creation-Date: 2012-06-17 19:45+0200\n"
"PO-Revision-Date: 2011-12-17 14:22+0100\n" "PO-Revision-Date: 2011-12-17 14:22+0100\n"
"Last-Translator: Arthur117\n" "Last-Translator: Arthur117\n"
"Language-Team: tj_cool, glowy, Arthur117\n" "Language-Team: tj_cool, glowy, Arthur117\n"
@ -620,7 +620,7 @@ msgstr ""
msgid "Do you want to delete a game on SD?" msgid "Do you want to delete a game on SD?"
msgstr "" msgstr ""
msgid "Do you want to discart changes?" msgid "Do you want to discard changes?"
msgstr "" msgstr ""
msgid "Do you want to download this theme?" msgid "Do you want to download this theme?"
@ -1568,8 +1568,8 @@ msgstr "Unlock onthouden"
msgid "Remove update" msgid "Remove update"
msgstr "Verwijder update" msgstr "Verwijder update"
msgid "Rename Game on WBFS" msgid "Rename Game Title"
msgstr "Spel hernoemen op WBFS" msgstr ""
msgid "Rename category" msgid "Rename category"
msgstr "Hernoem categorie" msgstr "Hernoem categorie"
@ -2111,6 +2111,9 @@ msgstr "van"
msgid "seconds left" msgid "seconds left"
msgstr "seconden over" msgstr "seconden over"
#~ msgid "Rename Game on WBFS"
#~ msgstr "Spel hernoemen op WBFS"
#~ msgid "Successfully Updated thanks to www.techjawa.com" #~ msgid "Successfully Updated thanks to www.techjawa.com"
#~ msgstr "Met succes ge-update met dank aan www.techjawa.com" #~ msgstr "Met succes ge-update met dank aan www.techjawa.com"

View File

@ -5,7 +5,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: 2012-05-18 16:22+0200\n" "POT-Creation-Date: 2012-06-17 19:45+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -620,7 +620,7 @@ msgstr ""
msgid "Do you want to delete a game on SD?" msgid "Do you want to delete a game on SD?"
msgstr "" msgstr ""
msgid "Do you want to discart changes?" msgid "Do you want to discard changes?"
msgstr "" msgstr ""
msgid "Do you want to download this theme?" msgid "Do you want to download this theme?"
@ -1568,7 +1568,7 @@ msgstr ""
msgid "Remove update" msgid "Remove update"
msgstr "" msgstr ""
msgid "Rename Game on WBFS" msgid "Rename Game Title"
msgstr "" msgstr ""
msgid "Rename category" msgid "Rename category"

View File

@ -5,7 +5,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: 2012-05-18 16:22+0200\n" "POT-Creation-Date: 2012-06-17 19:45+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: c64rmx\n" "Last-Translator: c64rmx\n"
"Language-Team: \n" "Language-Team: \n"
@ -620,7 +620,7 @@ msgstr ""
msgid "Do you want to delete a game on SD?" msgid "Do you want to delete a game on SD?"
msgstr "" msgstr ""
msgid "Do you want to discart changes?" msgid "Do you want to discard changes?"
msgstr "" msgstr ""
msgid "Do you want to download this theme?" msgid "Do you want to download this theme?"
@ -1568,7 +1568,7 @@ msgstr ""
msgid "Remove update" msgid "Remove update"
msgstr "" msgstr ""
msgid "Rename Game on WBFS" msgid "Rename Game Title"
msgstr "Uudelleennimeä peli" msgstr "Uudelleennimeä peli"
msgid "Rename category" msgid "Rename category"
@ -2111,6 +2111,9 @@ msgstr "josta"
msgid "seconds left" msgid "seconds left"
msgstr "sekuntia jäljellä" msgstr "sekuntia jäljellä"
#~ msgid "Rename Game on WBFS"
#~ msgstr "Uudelleennimeä peli"
#~ msgid "for hosting the update files" #~ msgid "for hosting the update files"
#~ msgstr "Tiedostojen hostauksesta" #~ msgstr "Tiedostojen hostauksesta"

View File

@ -1,11 +1,11 @@
# USB Loader GX language source file. # USB Loader GX language source file.
# French.lang - r1188 # French.lang - r1190
# don't delete/change this line (é). # don't delete/change this line (é).
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: 2012-05-18 16:22+0200\n" "POT-Creation-Date: 2012-06-17 19:45+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: Cyan\n" "Last-Translator: Cyan\n"
"Language-Team: Badablek, Amour, ikya, Cyan & Kin8\n" "Language-Team: Badablek, Amour, ikya, Cyan & Kin8\n"
@ -620,7 +620,7 @@ msgstr "Vous devez copier le jeu sur la carte SD."
msgid "Do you want to delete a game on SD?" msgid "Do you want to delete a game on SD?"
msgstr "Voulez-vous supprimer un jeu de la carte SD ?" msgstr "Voulez-vous supprimer un jeu de la carte SD ?"
msgid "Do you want to discart changes?" msgid "Do you want to discard changes?"
msgstr "Voulez-vous annuler les changements ?" msgstr "Voulez-vous annuler les changements ?"
msgid "Do you want to download this theme?" msgid "Do you want to download this theme?"
@ -687,7 +687,7 @@ msgid "Downloading original Discarts"
msgstr "Téléch. des labels DVD originaux" msgstr "Téléch. des labels DVD originaux"
msgid "Downloading pagelist:" msgid "Downloading pagelist:"
msgstr "Téléch. des prévisualisations :" msgstr "Téléch. liste des thèmes :"
msgid "Dump NAND to EmuNand" msgid "Dump NAND to EmuNand"
msgstr "Extraire NAND vers ÉmuNand" msgstr "Extraire NAND vers ÉmuNand"
@ -1568,7 +1568,7 @@ msgstr "Mémoriser le verrouillage"
msgid "Remove update" msgid "Remove update"
msgstr "Supprimer MàJ" msgstr "Supprimer MàJ"
msgid "Rename Game on WBFS" msgid "Rename Game Title"
msgstr "Renommer le jeu" msgstr "Renommer le jeu"
msgid "Rename category" msgid "Rename category"
@ -2111,6 +2111,9 @@ msgstr "sur"
msgid "seconds left" msgid "seconds left"
msgstr "secondes restantes" msgstr "secondes restantes"
#~ msgid "Rename Game on WBFS"
#~ msgstr "Renommer le jeu"
#~ msgid "Beginning" #~ msgid "Beginning"
#~ msgstr "Début" #~ msgstr "Début"

View File

@ -5,7 +5,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: 2012-05-19 12:18+0200\n" "POT-Creation-Date: 2012-06-17 19:45+0200\n"
"PO-Revision-Date: 2010-07-03 17:35-0800\n" "PO-Revision-Date: 2010-07-03 17:35-0800\n"
"Last-Translator: TheRealVisitor\n" "Last-Translator: TheRealVisitor\n"
"Language-Team: Bertilax, Snoozer, wishmasterf, ZEN.13, TheRealVisitor\n" "Language-Team: Bertilax, Snoozer, wishmasterf, ZEN.13, TheRealVisitor\n"
@ -620,7 +620,7 @@ msgstr "Soll ein Spiel auf die SD kopiert oder davon gelöscht werden?"
msgid "Do you want to delete a game on SD?" msgid "Do you want to delete a game on SD?"
msgstr "Soll ein Spiel von der SD gelöscht werden?" msgstr "Soll ein Spiel von der SD gelöscht werden?"
msgid "Do you want to discart changes?" msgid "Do you want to discard changes?"
msgstr "Änderungen verwerfen?" msgstr "Änderungen verwerfen?"
msgid "Do you want to download this theme?" msgid "Do you want to download this theme?"
@ -1568,7 +1568,7 @@ msgstr "Entsperrung behalten"
msgid "Remove update" msgid "Remove update"
msgstr "Update entfernen" msgstr "Update entfernen"
msgid "Rename Game on WBFS" msgid "Rename Game Title"
msgstr "Spiel umbenennen" msgstr "Spiel umbenennen"
msgid "Rename category" msgid "Rename category"
@ -2111,6 +2111,12 @@ msgstr "von"
msgid "seconds left" msgid "seconds left"
msgstr "Sekunden verbleiben" msgstr "Sekunden verbleiben"
#~ msgid "Rename Game on WBFS"
#~ msgstr "Spiel umbenennen"
#~ msgid "Do you want to discart changes?"
#~ msgstr "Änderungen verwerfen?"
#~ msgid "Beginning" #~ msgid "Beginning"
#~ msgstr "Anfang" #~ msgstr "Anfang"

View File

@ -5,7 +5,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: 2012-05-18 16:22+0200\n" "POT-Creation-Date: 2012-06-17 19:45+0200\n"
"PO-Revision-Date: 2009-12-29 11:05+0100\n" "PO-Revision-Date: 2009-12-29 11:05+0100\n"
"Last-Translator: Springdale\n" "Last-Translator: Springdale\n"
"Language-Team: Tusk, Springdale\n" "Language-Team: Tusk, Springdale\n"
@ -620,7 +620,7 @@ msgstr ""
msgid "Do you want to delete a game on SD?" msgid "Do you want to delete a game on SD?"
msgstr "" msgstr ""
msgid "Do you want to discart changes?" msgid "Do you want to discard changes?"
msgstr "" msgstr ""
msgid "Do you want to download this theme?" msgid "Do you want to download this theme?"
@ -1568,8 +1568,8 @@ msgstr ""
msgid "Remove update" msgid "Remove update"
msgstr "" msgstr ""
msgid "Rename Game on WBFS" msgid "Rename Game Title"
msgstr "WBFS játék átnevezése" msgstr ""
msgid "Rename category" msgid "Rename category"
msgstr "" msgstr ""
@ -2111,6 +2111,9 @@ msgstr "./"
msgid "seconds left" msgid "seconds left"
msgstr "hátralévõ másodperc" msgstr "hátralévõ másodperc"
#~ msgid "Rename Game on WBFS"
#~ msgstr "WBFS játék átnevezése"
#~ msgid "for hosting the update files" #~ msgid "for hosting the update files"
#~ msgstr ": frissítési fájlok tárhelye" #~ msgstr ": frissítési fájlok tárhelye"

View File

@ -5,7 +5,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: 2012-05-18 16:22+0200\n" "POT-Creation-Date: 2012-06-17 19:45+0200\n"
"PO-Revision-Date: 2011-09-11 12:19+0100\n" "PO-Revision-Date: 2011-09-11 12:19+0100\n"
"Last-Translator: xFede\n" "Last-Translator: xFede\n"
"Language-Team: Cambo, xFede\n" "Language-Team: Cambo, xFede\n"
@ -620,7 +620,7 @@ msgstr ""
msgid "Do you want to delete a game on SD?" msgid "Do you want to delete a game on SD?"
msgstr "" msgstr ""
msgid "Do you want to discart changes?" msgid "Do you want to discard changes?"
msgstr "" msgstr ""
msgid "Do you want to download this theme?" msgid "Do you want to download this theme?"
@ -1568,8 +1568,8 @@ msgstr "Ricorda Sblocco"
msgid "Remove update" msgid "Remove update"
msgstr "Rimuovi Agg." msgstr "Rimuovi Agg."
msgid "Rename Game on WBFS" msgid "Rename Game Title"
msgstr "Rinomina Gioco in WBFS" msgstr ""
msgid "Rename category" msgid "Rename category"
msgstr "Rinomina Categoria" msgstr "Rinomina Categoria"
@ -2111,6 +2111,9 @@ msgstr "di"
msgid "seconds left" msgid "seconds left"
msgstr "secondi rimasti" msgstr "secondi rimasti"
#~ msgid "Rename Game on WBFS"
#~ msgstr "Rinomina Gioco in WBFS"
#~ msgid "Successfully Updated thanks to www.techjawa.com" #~ msgid "Successfully Updated thanks to www.techjawa.com"
#~ msgstr "Aggiornato Correttamente, grazie a www.techjawa.com" #~ msgstr "Aggiornato Correttamente, grazie a www.techjawa.com"

View File

@ -5,7 +5,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: 2012-05-18 16:22+0200\n" "POT-Creation-Date: 2012-06-17 19:45+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: hosigumayuugi\n" "Last-Translator: hosigumayuugi\n"
"Language-Team: hosigumayuugi\n" "Language-Team: hosigumayuugi\n"
@ -1568,8 +1568,8 @@ msgstr "ロック解除を記憶"
msgid "Remove update" msgid "Remove update"
msgstr "更新を取り除く" msgstr "更新を取り除く"
msgid "Rename Game on WBFS" msgid "Rename Game Title"
msgstr "WBFS内のゲーム名を変更" msgstr ""
msgid "Rename category" msgid "Rename category"
msgstr "カテゴリの名前を変更" msgstr "カテゴリの名前を変更"
@ -2111,6 +2111,12 @@ msgstr "中"
msgid "seconds left" msgid "seconds left"
msgstr "秒で完了" msgstr "秒で完了"
#~ msgid "Rename Game on WBFS"
#~ msgstr "WBFS内のゲーム名を変更"
#~ msgid "Do you want to discart changes?"
#~ msgstr "変更を破棄しますか?"
#~ msgid "Successfully Updated thanks to www.techjawa.com" #~ msgid "Successfully Updated thanks to www.techjawa.com"
#~ msgstr "更新しました www.techjawa.comに感謝!" #~ msgstr "更新しました www.techjawa.comに感謝!"

View File

@ -5,7 +5,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: 2012-05-18 16:22+0200\n" "POT-Creation-Date: 2012-06-17 19:45+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: nextos@korea.com\n" "Last-Translator: nextos@korea.com\n"
"Language-Team: \n" "Language-Team: \n"
@ -620,7 +620,7 @@ msgstr ""
msgid "Do you want to delete a game on SD?" msgid "Do you want to delete a game on SD?"
msgstr "" msgstr ""
msgid "Do you want to discart changes?" msgid "Do you want to discard changes?"
msgstr "" msgstr ""
msgid "Do you want to download this theme?" msgid "Do you want to download this theme?"
@ -1568,8 +1568,8 @@ msgstr ""
msgid "Remove update" msgid "Remove update"
msgstr "" msgstr ""
msgid "Rename Game on WBFS" msgid "Rename Game Title"
msgstr "WBFS에서 게임 이름 변경" msgstr ""
msgid "Rename category" msgid "Rename category"
msgstr "" msgstr ""
@ -2111,6 +2111,9 @@ msgstr "중"
msgid "seconds left" msgid "seconds left"
msgstr "초 남았습니다" msgstr "초 남았습니다"
#~ msgid "Rename Game on WBFS"
#~ msgstr "WBFS에서 게임 이름 변경"
#~ msgid "for hosting the update files" #~ msgid "for hosting the update files"
#~ msgstr "업데이트 화일 호스팅을 위하여" #~ msgstr "업데이트 화일 호스팅을 위하여"

View File

@ -5,7 +5,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: 2012-05-18 16:22+0200\n" "POT-Creation-Date: 2012-06-17 19:45+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: raschi\n" "Last-Translator: raschi\n"
"Language-Team: raschi\n" "Language-Team: raschi\n"
@ -620,7 +620,7 @@ msgstr ""
msgid "Do you want to delete a game on SD?" msgid "Do you want to delete a game on SD?"
msgstr "" msgstr ""
msgid "Do you want to discart changes?" msgid "Do you want to discard changes?"
msgstr "" msgstr ""
msgid "Do you want to download this theme?" msgid "Do you want to download this theme?"
@ -1568,8 +1568,8 @@ msgstr ""
msgid "Remove update" msgid "Remove update"
msgstr "Fjern oppdatering" msgstr "Fjern oppdatering"
msgid "Rename Game on WBFS" msgid "Rename Game Title"
msgstr "Gi nytt navn til spill på WBFS" msgstr ""
msgid "Rename category" msgid "Rename category"
msgstr "Gi nytt navn til kategori" msgstr "Gi nytt navn til kategori"
@ -2111,6 +2111,9 @@ msgstr "av"
msgid "seconds left" msgid "seconds left"
msgstr "sekunder gjenstår" msgstr "sekunder gjenstår"
#~ msgid "Rename Game on WBFS"
#~ msgstr "Gi nytt navn til spill på WBFS"
#~ msgid "Successfully Updated thanks to www.techjawa.com" #~ msgid "Successfully Updated thanks to www.techjawa.com"
#~ msgstr "Vellykket oppdatering takket være www.techjawa.com" #~ msgstr "Vellykket oppdatering takket være www.techjawa.com"

View File

@ -5,7 +5,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: 2012-05-18 16:22+0200\n" "POT-Creation-Date: 2012-06-17 19:45+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: ziom666 (zadania_prog@vp.pl)\n" "Last-Translator: ziom666 (zadania_prog@vp.pl)\n"
"Language-Team: \n" "Language-Team: \n"
@ -620,7 +620,7 @@ msgstr ""
msgid "Do you want to delete a game on SD?" msgid "Do you want to delete a game on SD?"
msgstr "" msgstr ""
msgid "Do you want to discart changes?" msgid "Do you want to discard changes?"
msgstr "" msgstr ""
msgid "Do you want to download this theme?" msgid "Do you want to download this theme?"
@ -1568,8 +1568,8 @@ msgstr ""
msgid "Remove update" msgid "Remove update"
msgstr "" msgstr ""
msgid "Rename Game on WBFS" msgid "Rename Game Title"
msgstr "Zmien tytul gry na WBFS" msgstr ""
msgid "Rename category" msgid "Rename category"
msgstr "" msgstr ""
@ -2111,6 +2111,9 @@ msgstr "z"
msgid "seconds left" msgid "seconds left"
msgstr "sekund pozostalo" msgstr "sekund pozostalo"
#~ msgid "Rename Game on WBFS"
#~ msgstr "Zmien tytul gry na WBFS"
#~ msgid "for hosting the update files" #~ msgid "for hosting the update files"
#~ msgstr "za hostowanie plikow aktualizacji" #~ msgstr "za hostowanie plikow aktualizacji"

View File

@ -5,7 +5,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: 2012-05-18 16:22+0200\n" "POT-Creation-Date: 2012-06-17 19:45+0200\n"
"PO-Revision-Date: 2009-10-23 18:52+0200\n" "PO-Revision-Date: 2009-10-23 18:52+0200\n"
"Last-Translator: aniemotion\n" "Last-Translator: aniemotion\n"
"Language-Team: boto12, aniemotion\n" "Language-Team: boto12, aniemotion\n"
@ -620,7 +620,7 @@ msgstr ""
msgid "Do you want to delete a game on SD?" msgid "Do you want to delete a game on SD?"
msgstr "" msgstr ""
msgid "Do you want to discart changes?" msgid "Do you want to discard changes?"
msgstr "" msgstr ""
msgid "Do you want to download this theme?" msgid "Do you want to download this theme?"
@ -1568,8 +1568,8 @@ msgstr ""
msgid "Remove update" msgid "Remove update"
msgstr "Remover atualização" msgstr "Remover atualização"
msgid "Rename Game on WBFS" msgid "Rename Game Title"
msgstr "Alterar nome do jogo na partição WBFS" msgstr ""
msgid "Rename category" msgid "Rename category"
msgstr "" msgstr ""
@ -2111,6 +2111,9 @@ msgstr "de"
msgid "seconds left" msgid "seconds left"
msgstr "segundos restantes" msgstr "segundos restantes"
#~ msgid "Rename Game on WBFS"
#~ msgstr "Alterar nome do jogo na partição WBFS"
#~ msgid "Successfully Updated thanks to www.techjawa.com" #~ msgid "Successfully Updated thanks to www.techjawa.com"
#~ msgstr "Atualizado com sucesso graças a www.techjawa.com" #~ msgstr "Atualizado com sucesso graças a www.techjawa.com"

View File

@ -5,7 +5,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: 2012-05-18 16:22+0200\n" "POT-Creation-Date: 2012-06-17 19:45+0200\n"
"PO-Revision-Date: 2011-11-03 11:00+0000\n" "PO-Revision-Date: 2011-11-03 11:00+0000\n"
"Last-Translator: pplucky <pplucky@gmail.com>\n" "Last-Translator: pplucky <pplucky@gmail.com>\n"
"Language-Team: Sky8000, pplucky\n" "Language-Team: Sky8000, pplucky\n"
@ -620,7 +620,7 @@ msgstr ""
msgid "Do you want to delete a game on SD?" msgid "Do you want to delete a game on SD?"
msgstr "" msgstr ""
msgid "Do you want to discart changes?" msgid "Do you want to discard changes?"
msgstr "" msgstr ""
msgid "Do you want to download this theme?" msgid "Do you want to download this theme?"
@ -1568,8 +1568,8 @@ msgstr "Lembrar Desbloqueio"
msgid "Remove update" msgid "Remove update"
msgstr "Remover actualização" msgstr "Remover actualização"
msgid "Rename Game on WBFS" msgid "Rename Game Title"
msgstr "Renomear jogo (WBFS)" msgstr "Renomear jogo"
msgid "Rename category" msgid "Rename category"
msgstr "Renomear categ." msgstr "Renomear categ."
@ -2111,6 +2111,9 @@ msgstr "de"
msgid "seconds left" msgid "seconds left"
msgstr "segundos restantes" msgstr "segundos restantes"
#~ msgid "Rename Game on WBFS"
#~ msgstr "Renomear jogo (WBFS)"
#~ msgid "Successfully Updated thanks to www.techjawa.com" #~ msgid "Successfully Updated thanks to www.techjawa.com"
#~ msgstr "Actualizado com sucesso graças a www.techjawa.com" #~ msgstr "Actualizado com sucesso graças a www.techjawa.com"

View File

@ -5,7 +5,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: 2012-05-18 16:22+0200\n" "POT-Creation-Date: 2012-06-17 19:45+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: nikolai_ca\n" "Last-Translator: nikolai_ca\n"
"Language-Team: Kir, alendit, nikolai_ca\n" "Language-Team: Kir, alendit, nikolai_ca\n"
@ -620,7 +620,7 @@ msgstr ""
msgid "Do you want to delete a game on SD?" msgid "Do you want to delete a game on SD?"
msgstr "" msgstr ""
msgid "Do you want to discart changes?" msgid "Do you want to discard changes?"
msgstr "" msgstr ""
msgid "Do you want to download this theme?" msgid "Do you want to download this theme?"
@ -1568,8 +1568,8 @@ msgstr ""
msgid "Remove update" msgid "Remove update"
msgstr "" msgstr ""
msgid "Rename Game on WBFS" msgid "Rename Game Title"
msgstr "Переименовать игры в WBFS" msgstr ""
msgid "Rename category" msgid "Rename category"
msgstr "" msgstr ""
@ -2111,6 +2111,9 @@ msgstr "из"
msgid "seconds left" msgid "seconds left"
msgstr "секунд осталось" msgstr "секунд осталось"
#~ msgid "Rename Game on WBFS"
#~ msgstr "Переименовать игры в WBFS"
#~ msgid "for hosting the update files" #~ msgid "for hosting the update files"
#~ msgstr "за хостинг обновлений" #~ msgstr "за хостинг обновлений"

View File

@ -5,7 +5,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: 2012-05-18 16:22+0200\n" "POT-Creation-Date: 2012-06-17 19:45+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: knife.hu kavid emul8ion\n" "Last-Translator: knife.hu kavid emul8ion\n"
"Language-Team: kavid\n" "Language-Team: kavid\n"
@ -620,7 +620,7 @@ msgstr ""
msgid "Do you want to delete a game on SD?" msgid "Do you want to delete a game on SD?"
msgstr "" msgstr ""
msgid "Do you want to discart changes?" msgid "Do you want to discard changes?"
msgstr "" msgstr ""
msgid "Do you want to download this theme?" msgid "Do you want to download this theme?"
@ -1568,8 +1568,8 @@ msgstr ""
msgid "Remove update" msgid "Remove update"
msgstr "删除更新" msgstr "删除更新"
msgid "Rename Game on WBFS" msgid "Rename Game Title"
msgstr "改变 WBFS (硬盘)上的游戏名称" msgstr ""
msgid "Rename category" msgid "Rename category"
msgstr "" msgstr ""
@ -2111,6 +2111,9 @@ msgstr "的"
msgid "seconds left" msgid "seconds left"
msgstr "剩余秒数" msgstr "剩余秒数"
#~ msgid "Rename Game on WBFS"
#~ msgstr "改变 WBFS (硬盘)上的游戏名称"
#~ msgid "Successfully Updated thanks to www.techjawa.com" #~ msgid "Successfully Updated thanks to www.techjawa.com"
#~ msgstr "更新成功.感谢www.techjawa.com" #~ msgstr "更新成功.感谢www.techjawa.com"

View File

@ -5,7 +5,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: 2012-05-19 12:24+0200\n" "POT-Creation-Date: 2012-06-17 19:45+0200\n"
"PO-Revision-Date: 2011-07-25 16:40+0200\n" "PO-Revision-Date: 2011-07-25 16:40+0200\n"
"Last-Translator: Galen/xFede\n" "Last-Translator: Galen/xFede\n"
"Language-Team: Penn, SirPalax, hvy109\n" "Language-Team: Penn, SirPalax, hvy109\n"
@ -620,7 +620,7 @@ msgstr "¿Quieres copiar el juego a la tarjeta SD o borrar un juego en la tarjet
msgid "Do you want to delete a game on SD?" msgid "Do you want to delete a game on SD?"
msgstr "¿Quieres borrar un juego en la tarjeta SD?" msgstr "¿Quieres borrar un juego en la tarjeta SD?"
msgid "Do you want to discart changes?" msgid "Do you want to discard changes?"
msgstr "¿quieres descartar los cambios?" msgstr "¿quieres descartar los cambios?"
msgid "Do you want to download this theme?" msgid "Do you want to download this theme?"
@ -1568,8 +1568,8 @@ msgstr "Recordar bloqueo"
msgid "Remove update" msgid "Remove update"
msgstr "Quitar actualización" msgstr "Quitar actualización"
msgid "Rename Game on WBFS" msgid "Rename Game Title"
msgstr "Renombrar juego en WBFS" msgstr ""
msgid "Rename category" msgid "Rename category"
msgstr "Renombrar categoría" msgstr "Renombrar categoría"
@ -2111,6 +2111,12 @@ msgstr "de"
msgid "seconds left" msgid "seconds left"
msgstr "segundos restantes" msgstr "segundos restantes"
#~ msgid "Rename Game on WBFS"
#~ msgstr "Renombrar juego en WBFS"
#~ msgid "Do you want to discart changes?"
#~ msgstr "¿quieres descartar los cambios?"
#~ msgid "Successfully Updated thanks to www.techjawa.com" #~ msgid "Successfully Updated thanks to www.techjawa.com"
#~ msgstr "Actualización correcta gracias a www.techjawa.com" #~ msgstr "Actualización correcta gracias a www.techjawa.com"

View File

@ -5,7 +5,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: 2012-05-18 16:22+0200\n" "POT-Creation-Date: 2012-06-17 19:45+0200\n"
"PO-Revision-Date: 2010-01-19 17:39+0200\n" "PO-Revision-Date: 2010-01-19 17:39+0200\n"
"Last-Translator: Katsurou\n" "Last-Translator: Katsurou\n"
"Language-Team: Katsurou, pirateX\n" "Language-Team: Katsurou, pirateX\n"
@ -620,7 +620,7 @@ msgstr ""
msgid "Do you want to delete a game on SD?" msgid "Do you want to delete a game on SD?"
msgstr "" msgstr ""
msgid "Do you want to discart changes?" msgid "Do you want to discard changes?"
msgstr "" msgstr ""
msgid "Do you want to download this theme?" msgid "Do you want to download this theme?"
@ -1568,8 +1568,8 @@ msgstr ""
msgid "Remove update" msgid "Remove update"
msgstr "" msgstr ""
msgid "Rename Game on WBFS" msgid "Rename Game Title"
msgstr "Döp om spel på WBFS" msgstr ""
msgid "Rename category" msgid "Rename category"
msgstr "" msgstr ""
@ -2111,6 +2111,9 @@ msgstr "av"
msgid "seconds left" msgid "seconds left"
msgstr "sekunder kvar" msgstr "sekunder kvar"
#~ msgid "Rename Game on WBFS"
#~ msgstr "Döp om spel på WBFS"
#~ msgid "for hosting the update files" #~ msgid "for hosting the update files"
#~ msgstr "för lagring av uppdateringar" #~ msgstr "för lagring av uppdateringar"

View File

@ -5,7 +5,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: 2012-05-19 12:20+0200\n" "POT-Creation-Date: 2012-06-17 19:45+0200\n"
"PO-Revision-Date: 2010-02-15 21:00+0800\n" "PO-Revision-Date: 2010-02-15 21:00+0800\n"
"Last-Translator: Jane.H\n" "Last-Translator: Jane.H\n"
"Language-Team: kyogc, Miller, Mika Li, Jane.H\n" "Language-Team: kyogc, Miller, Mika Li, Jane.H\n"
@ -620,7 +620,7 @@ msgstr "是否要複製遊戲到SD卡或刪除SD卡上的遊戲"
msgid "Do you want to delete a game on SD?" msgid "Do you want to delete a game on SD?"
msgstr "是否要刪除SD卡上的遊戲" msgstr "是否要刪除SD卡上的遊戲"
msgid "Do you want to discart changes?" msgid "Do you want to discard changes?"
msgstr "是否要放棄變更?" msgstr "是否要放棄變更?"
msgid "Do you want to download this theme?" msgid "Do you want to download this theme?"
@ -1568,8 +1568,8 @@ msgstr "儲存解鎖"
msgid "Remove update" msgid "Remove update"
msgstr "移除更新" msgstr "移除更新"
msgid "Rename Game on WBFS" msgid "Rename Game Title"
msgstr "WBFS上的遊戲重新命名" msgstr ""
msgid "Rename category" msgid "Rename category"
msgstr "類別重新命名" msgstr "類別重新命名"
@ -2110,3 +2110,9 @@ msgstr "的"
msgid "seconds left" msgid "seconds left"
msgstr "剩餘秒數" msgstr "剩餘秒數"
#~ msgid "Rename Game on WBFS"
#~ msgstr "WBFS上的遊戲重新命名"
#~ msgid "Do you want to discart changes?"
#~ msgstr "是否要放棄變更?"

View File

@ -5,7 +5,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: 2012-05-18 16:22+0200\n" "POT-Creation-Date: 2012-06-17 19:45+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: Nitro_subzero \n" "Last-Translator: Nitro_subzero \n"
"Language-Team: Nitro_subzero\n" "Language-Team: Nitro_subzero\n"
@ -620,7 +620,7 @@ msgstr ""
msgid "Do you want to delete a game on SD?" msgid "Do you want to delete a game on SD?"
msgstr "" msgstr ""
msgid "Do you want to discart changes?" msgid "Do you want to discard changes?"
msgstr "" msgstr ""
msgid "Do you want to download this theme?" msgid "Do you want to download this theme?"
@ -1568,8 +1568,8 @@ msgstr ""
msgid "Remove update" msgid "Remove update"
msgstr "" msgstr ""
msgid "Rename Game on WBFS" msgid "Rename Game Title"
msgstr "เปลี่ยนชื่อเกมส์บน WBFS" msgstr ""
msgid "Rename category" msgid "Rename category"
msgstr "" msgstr ""
@ -2111,6 +2111,9 @@ msgstr "จาก"
msgid "seconds left" msgid "seconds left"
msgstr "วินาทีที่เหลือ" msgstr "วินาทีที่เหลือ"
#~ msgid "Rename Game on WBFS"
#~ msgstr "เปลี่ยนชื่อเกมส์บน WBFS"
#~ msgid "for hosting the update files" #~ msgid "for hosting the update files"
#~ msgstr "สำหรับที่เก็บไฟล์อัพเดท" #~ msgstr "สำหรับที่เก็บไฟล์อัพเดท"

View File

@ -5,7 +5,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: 2012-05-18 16:22+0200\n" "POT-Creation-Date: 2012-06-17 19:45+0200\n"
"PO-Revision-Date: 2009-10-01 01:00+0200\n" "PO-Revision-Date: 2009-10-01 01:00+0200\n"
"Last-Translator: omercigingelini\n" "Last-Translator: omercigingelini\n"
"Language-Team: omercigingelini\n" "Language-Team: omercigingelini\n"
@ -620,7 +620,7 @@ msgstr ""
msgid "Do you want to delete a game on SD?" msgid "Do you want to delete a game on SD?"
msgstr "" msgstr ""
msgid "Do you want to discart changes?" msgid "Do you want to discard changes?"
msgstr "" msgstr ""
msgid "Do you want to download this theme?" msgid "Do you want to download this theme?"
@ -1568,8 +1568,8 @@ msgstr ""
msgid "Remove update" msgid "Remove update"
msgstr "" msgstr ""
msgid "Rename Game on WBFS" msgid "Rename Game Title"
msgstr "WBFS'deki oyunu yeniden isimlendir" msgstr ""
msgid "Rename category" msgid "Rename category"
msgstr "" msgstr ""
@ -2111,6 +2111,9 @@ msgstr "./"
msgid "seconds left" msgid "seconds left"
msgstr "saniye kaldı" msgstr "saniye kaldı"
#~ msgid "Rename Game on WBFS"
#~ msgstr "WBFS'deki oyunu yeniden isimlendir"
#~ msgid "for hosting the update files" #~ msgid "for hosting the update files"
#~ msgstr "güncelleme dosyalarını sunduğu için" #~ msgstr "güncelleme dosyalarını sunduğu için"

View File

@ -357,6 +357,8 @@ extern "C" int CopyFile(const char * src, const char * dest)
} }
while (read > 0); while (read > 0);
ProgressStop();
free(buffer); free(buffer);
fclose(source); fclose(source);
fclose(destination); fclose(destination);

View File

@ -81,36 +81,7 @@ void GuiCheckboxBrowser::Clear()
checkBoxList.clear(); checkBoxList.clear();
} }
bool GuiCheckboxBrowser::AddEntrie(const string &text, bool checked) bool GuiCheckboxBrowser::AddEntrie(const string &text, bool checked, int style, bool multistates)
{
LOCK(this);
int currentSize = checkBoxList.size();
textLineList.resize(currentSize+1);
checkBoxList.resize(currentSize+1);
checkBoxList[currentSize] = new GuiCheckbox(30, 30);
checkBoxList[currentSize]->SetParent(this);
checkBoxList[currentSize]->SetChecked(checked);
checkBoxList[currentSize]->SetAlignment(ALIGN_RIGHT, ALIGN_TOP);
checkBoxList[currentSize]->SetTrigger(&trigA);
checkBoxList[currentSize]->SetClickSize(width-30-scrollBar.GetWidth(), 30);
checkBoxList[currentSize]->Clicked.connect(this, &GuiCheckboxBrowser::OnCheckboxClick);
textLineList[currentSize] = new GuiText(text.c_str(), 18, thColor("r=0 g=0 b=0 a=255 - checkbox browser text color"));
textLineList[currentSize]->SetParent(this);
textLineList[currentSize]->SetAlignment(ALIGN_LEFT, ALIGN_TOP);
textLineList[currentSize]->SetMaxWidth(maxTextWidth, DOTTED);
if(textLineDrawn.size() < (u32) maxSize)
{
textLineDrawn.push_back(textLineList[currentSize]);
checkBoxDrawn.push_back(checkBoxList[currentSize]);
}
return true;
}
bool GuiCheckboxBrowser::AddEntrieMultiStates(const string &text, bool checked, int style)
{ {
LOCK(this); LOCK(this);
int currentSize = checkBoxList.size(); int currentSize = checkBoxList.size();
@ -121,7 +92,7 @@ bool GuiCheckboxBrowser::AddEntrieMultiStates(const string &text, bool checked,
checkBoxList[currentSize]->SetParent(this); checkBoxList[currentSize]->SetParent(this);
checkBoxList[currentSize]->SetChecked(checked); checkBoxList[currentSize]->SetChecked(checked);
checkBoxList[currentSize]->SetStyle(style); checkBoxList[currentSize]->SetStyle(style);
checkBoxList[currentSize]->SetMultiStates(true); checkBoxList[currentSize]->SetMultiStates(multistates);
checkBoxList[currentSize]->SetAlignment(ALIGN_RIGHT, ALIGN_TOP); checkBoxList[currentSize]->SetAlignment(ALIGN_RIGHT, ALIGN_TOP);
checkBoxList[currentSize]->SetTrigger(&trigA); checkBoxList[currentSize]->SetTrigger(&trigA);
checkBoxList[currentSize]->SetClickSize(width-30-scrollBar.GetWidth(), 30); checkBoxList[currentSize]->SetClickSize(width-30-scrollBar.GetWidth(), 30);

View File

@ -36,8 +36,7 @@ class GuiCheckboxBrowser : public GuiElement, public sigslot::has_slots<>
public: public:
GuiCheckboxBrowser(int w, int h, int maxSize = 7); GuiCheckboxBrowser(int w, int h, int maxSize = 7);
virtual ~GuiCheckboxBrowser(); virtual ~GuiCheckboxBrowser();
bool AddEntrie(const string &text, bool checked = false); bool AddEntrie(const string &text, bool checked = false, int style = GuiCheckbox::CHECKSIGN, bool multistates = false);
bool AddEntrieMultiStates(const string &text, bool checked = false, int style = CHECKSIGN);
int GetSelected() const { return pageIndex+selectedItem; } int GetSelected() const { return pageIndex+selectedItem; }
bool IsChecked(u32 i) { if(i >= checkBoxList.size()) return false; else return checkBoxList[i]->IsChecked(); } bool IsChecked(u32 i) { if(i >= checkBoxList.size()) return false; else return checkBoxList[i]->IsChecked(); }
GuiCheckbox *GetCheckbox(u32 i) { if(i >= checkBoxList.size()) return NULL; else return checkBoxList[i]; } GuiCheckbox *GetCheckbox(u32 i) { if(i >= checkBoxList.size()) return NULL; else return checkBoxList[i]; }
@ -48,13 +47,6 @@ class GuiCheckboxBrowser : public GuiElement, public sigslot::has_slots<>
void Draw(); void Draw();
void Update(GuiTrigger *t); void Update(GuiTrigger *t);
sigslot::signal2<GuiCheckbox *, int> checkBoxClicked; sigslot::signal2<GuiCheckbox *, int> checkBoxClicked;
enum
{
CHECKSIGN,
CROSS,
PLUS,
MAX_CHECKBOX_STYLE
};
private: private:
void onListChange(int SelItem, int SelInd); void onListChange(int SelItem, int SelInd);
void OnCheckboxClick(GuiButton *sender, int chan, const POINT &pointer); void OnCheckboxClick(GuiButton *sender, int chan, const POINT &pointer);

View File

@ -52,7 +52,7 @@ void CategorySwitchPrompt::onBrowserRefresh()
do do
{ {
bool checked = false; bool checked = false;
int style = CHECKSIGN; int style = GuiCheckbox::CHECKSIGN;
// Verify the Enabled Categories [v] // Verify the Enabled Categories [v]
for(u32 i = 0; i < Settings.EnabledCategories.size(); ++i) for(u32 i = 0; i < Settings.EnabledCategories.size(); ++i)
@ -66,29 +66,33 @@ void CategorySwitchPrompt::onBrowserRefresh()
// Verify the Forbidden Categories [X] // Verify the Forbidden Categories [X]
if(!checked) if(!checked)
for(u32 i = 0; i < Settings.ForbiddenCategories.size(); ++i)
{ {
if(Settings.ForbiddenCategories[i] == GameCategories.CategoryList.getCurrentID()) for(u32 i = 0; i < Settings.ForbiddenCategories.size(); ++i)
{ {
checked = true; if(Settings.ForbiddenCategories[i] == GameCategories.CategoryList.getCurrentID())
style = CROSS; {
break; checked = true;
style = GuiCheckbox::CROSS;
break;
}
} }
} }
// Verify the Required Categories [+] // Verify the Required Categories [+]
if(!checked) if(!checked)
for(u32 i = 0; i < Settings.RequiredCategories.size(); ++i)
{ {
if(Settings.RequiredCategories[i] == GameCategories.CategoryList.getCurrentID()) for(u32 i = 0; i < Settings.RequiredCategories.size(); ++i)
{ {
checked = true; if(Settings.RequiredCategories[i] == GameCategories.CategoryList.getCurrentID())
style = PLUS; {
break; checked = true;
style = GuiCheckbox::PLUS;
break;
}
} }
} }
browser->AddEntrieMultiStates(tr(GameCategories.CategoryList.getCurrentName().c_str()), checked, style); browser->AddEntrie(tr(GameCategories.CategoryList.getCurrentName().c_str()), checked, style, true);
} }
while(GameCategories.CategoryList.goToNext()); while(GameCategories.CategoryList.goToNext());
@ -116,13 +120,13 @@ void CategorySwitchPrompt::OnCheckboxClick(GuiCheckbox *checkBox, int index)
} }
} }
} }
else if(checkBox->GetStyle() == CHECKSIGN) else if(checkBox->GetStyle() == GuiCheckbox::CHECKSIGN)
{ {
// Add to Enabled // Add to Enabled
Settings.EnabledCategories.push_back(GameCategories.CategoryList.getCurrentID()); Settings.EnabledCategories.push_back(GameCategories.CategoryList.getCurrentID());
markChanged(); markChanged();
} }
else if(checkBox->GetStyle() == CROSS) else if(checkBox->GetStyle() == GuiCheckbox::CROSS)
{ {
// Remove from Enabled // Remove from Enabled
for(i = 0; i < Settings.EnabledCategories.size(); ++i) for(i = 0; i < Settings.EnabledCategories.size(); ++i)
@ -137,7 +141,7 @@ void CategorySwitchPrompt::OnCheckboxClick(GuiCheckbox *checkBox, int index)
Settings.ForbiddenCategories.push_back(GameCategories.CategoryList.getCurrentID()); Settings.ForbiddenCategories.push_back(GameCategories.CategoryList.getCurrentID());
markChanged(); markChanged();
} }
else if(checkBox->GetStyle() == PLUS && index > 0) else if(checkBox->GetStyle() == GuiCheckbox::PLUS && index > 0)
{ {
// Remove from Forbidden // Remove from Forbidden
for(i = 0; i < Settings.ForbiddenCategories.size(); ++i) for(i = 0; i < Settings.ForbiddenCategories.size(); ++i)
@ -154,9 +158,9 @@ void CategorySwitchPrompt::OnCheckboxClick(GuiCheckbox *checkBox, int index)
} }
// Override Style cycling for category "All" // Override Style cycling for category "All"
if(index == 0 && checkBox->GetStyle() == PLUS) if(index == 0 && checkBox->GetStyle() == GuiCheckbox::PLUS)
{ {
checkBox->SetStyle(CHECKSIGN); checkBox->SetStyle(GuiCheckbox::CHECKSIGN);
checkBox->SetChecked(false); checkBox->SetChecked(false);
for(i = 0; i < Settings.ForbiddenCategories.size(); ++i) for(i = 0; i < Settings.ForbiddenCategories.size(); ++i)
{ {

View File

@ -40,11 +40,4 @@ class CategorySwitchPrompt : public CategoryPrompt
const std::vector<u32> oldSettingForbidden; const std::vector<u32> oldSettingForbidden;
}; };
enum
{
CHECKSIGN,
CROSS,
PLUS,
MAX_CHECKBOX_STYLE
};
#endif #endif

View File

@ -77,7 +77,7 @@ int GCDeleteMenu::Show()
else if(backBtn->GetState() == STATE_CLICKED) else if(backBtn->GetState() == STATE_CLICKED)
{ {
if(!changed || !WindowPrompt(tr("Do you want to discart changes?"), 0, tr("Yes"), tr("No"))) if(!changed || WindowPrompt(tr("Do you want to discard changes?"), 0, tr("Yes"), tr("No")))
break; break;
backBtn->ResetState(); backBtn->ResetState();

View File

@ -55,7 +55,7 @@ int GCMultiDiscMenu::ShowSelection()
else if(backBtn->GetState() == STATE_CLICKED) else if(backBtn->GetState() == STATE_CLICKED)
{ {
if(!changed || !WindowPrompt(tr("Do you want to discart changes?"), 0, tr("Yes"), tr("No"))) if(!changed || WindowPrompt(tr("Do you want to discard changes?"), 0, tr("Yes"), tr("No")))
break; break;
backBtn->ResetState(); backBtn->ResetState();

View File

@ -82,7 +82,7 @@ GameWindow::GameWindow(GameBrowseMenu *m, struct discHdr *header)
dialogBoxImg = new GuiImage(dialogBox); dialogBoxImg = new GuiImage(dialogBox);
nameBtnTT = new GuiTooltip(tr( "Rename Game on WBFS" )); nameBtnTT = new GuiTooltip(tr( "Rename Game Title" ));
if (Settings.wsprompt) nameBtnTT->SetWidescreen(Settings.widescreen); if (Settings.wsprompt) nameBtnTT->SetWidescreen(Settings.widescreen);
nameTxt = new GuiText("", 22, thColor("r=0 g=0 b=0 a=255 - game window name text color")); nameTxt = new GuiText("", 22, thColor("r=0 g=0 b=0 a=255 - game window name text color"));
if (Settings.wsprompt) nameTxt->SetWidescreen(Settings.widescreen); if (Settings.wsprompt) nameTxt->SetWidescreen(Settings.widescreen);

View File

@ -74,6 +74,8 @@ void AppCleanUp(void)
app_clean = true; app_clean = true;
BannerAsync::ThreadExit();
if(Settings.CacheTitles) if(Settings.CacheTitles)
GameTitles.WriteCachedTitles(Settings.titlestxt_path); GameTitles.WriteCachedTitles(Settings.titlestxt_path);
Settings.Save(); Settings.Save();
@ -94,7 +96,6 @@ void AppCleanUp(void)
gettextCleanUp(); gettextCleanUp();
Theme::CleanUp(); Theme::CleanUp();
BannerAsync::ThreadExit();
NewTitles::DestroyInstance(); NewTitles::DestroyInstance();
ThreadedTask::DestroyInstance(); ThreadedTask::DestroyInstance();
SoundHandler::DestroyInstance(); SoundHandler::DestroyInstance();

View File

@ -38,6 +38,8 @@
#include "memory/memory.h" #include "memory/memory.h"
#include "Channels/channels.h" #include "Channels/channels.h"
enum { DISABLED, ENABLED, HIDEFORBIDDEN };
GameList gameList; GameList gameList;
void GameList::clear() void GameList::clear()
@ -229,10 +231,9 @@ void GameList::InternalFilterList(std::vector<struct discHdr> &FullList)
//! Category filter //! Category filter
u32 n; u32 n;
enum { DISABLED, ENABLED, HIDEFORBIDDEN };
int allType = DISABLED; int allType = DISABLED;
// verify the display mode for category "All" // verify the display mode for category "All"
for(u32 n = 0; n < Settings.EnabledCategories.size(); ++n) for(n = 0; n < Settings.EnabledCategories.size(); ++n)
{ {
if(Settings.EnabledCategories[n] == 0) if(Settings.EnabledCategories[n] == 0)
{ {
@ -240,7 +241,7 @@ void GameList::InternalFilterList(std::vector<struct discHdr> &FullList)
break; break;
} }
} }
for(u32 n = 0; n < Settings.ForbiddenCategories.size(); ++n) for(n = 0; n < Settings.ForbiddenCategories.size(); ++n)
{ {
if(Settings.ForbiddenCategories[n] == 0) if(Settings.ForbiddenCategories[n] == 0)
{ {