*Fixed options clicking problem (didnt work sometimes)

*Added dummy star pngs which will be replaced later
*New languagefile
*Changed the cfg to treat all the files as Textfiles and not as binary.
This commit is contained in:
dimok321 2009-05-21 14:05:30 +00:00
parent e6daf212bd
commit f08ed3d245
7 changed files with 46 additions and 32 deletions

View File

@ -1,9 +1,12 @@
//French translation for USB Loader GX - [Version final 1.2] - [05.17.2009]
t3Covers = Jaquettes 3D
all = Nom
AppLanguage = Langue d'interface
Areyousure = Êtes-vous sûr ?
AutoPatch = AutoPatch
Back = Retour
Backgroundmusic = Musique de fond
Backgroundmusicpath = Dossier de Musique de fond changé.
BacktoHBCorWiiMenu = Retour loader / menu Wii
BacktoLoader = Loader
BacktoWiiMenu = Menu Wii
@ -23,6 +26,7 @@ CorrectPassword = Mot de passe correct
Couldnotinitializenetwork = Initialisation réseau impossible !
CouldnotopenDisc = Initialisation disque impossible
CouldnotinitializeDIPmodule = Initialisation DIP impossible !
count = Fréquence d'utilisation
CoverDownload = Téléchargement des jaquettes
CoverPath = Jaquettes
CoverpathChanged = Dossier des jaquettes modifié
@ -48,6 +52,7 @@ InitializingNetwork = Initialisation du r
InsertDisk = Insérez un disque
InsertaWiiDisc = Insérez un disque Wii !
InsertaSDCardtodownloadimages = Insérez une carte SD pour télécharger les jaquettes.
InsertaSDCardtousethatoption = Insérez une carte SD pour utiliser cette fonction.
InsertaSDCardtosave = Insérez une carte SD pour enregistrer.
InstallRenameandDeleteareunlocked = Toutes les fonctionnalités de l'USB Loader GX sont déverrouillées.
Installerror = Erreur à l'installation !
@ -57,6 +62,7 @@ Failedtoboot =
FailedtomountfrontSDcard = Échec à l'initialisation de la SD
FailedtosetUSB = Échec d'intialisation USB :
Failedformating = Échec du formatage
fave = Favoris
Filenotfound = Fichier introuvable.
filesnotfoundontheserver = fichiers introuvables sur le serveur !
filesleft = fichier(s) restant(s)
@ -76,14 +82,17 @@ GameRegion = R
GameSize = Taille du jeu
GoBack = Retour
//GotoPage = Aller à la page
hour = Heure
HowtoShutdown = Mode d'extinction de la Wii ?
keyboard = clavier
Language = Langue
Langchange = Changer la langue
Left = Gauche
LikeSysMenu = Menu système
ListSort = Tri des jeux
LoadingincIOS = Charger avec le cIOS249
Loadingstandardlanguage = Chargement de la langue par défaut.
Loadingstandardmusic = Chargement de la musique par défaut.
Lock = Verrouiller
LockConsole = Verrouiller la console
MP3Menu = Menu MP3
@ -103,7 +112,7 @@ Normal = Normal
NotaWiiDisc = Ce n'est pas un jeu Wii
NoUSBDevicefound = Aucun périphérique USB trouvé.
Notenoughfreespace = Espace libre insuffisant !
notset = non défini
notset = Non défini
of = sur
OFF = Désactivé
OfficialSite = Site officiel
@ -115,6 +124,7 @@ Password = Mot de passe
PasswordChanged = Mot de passe modifié
Passwordhasbeenchanged = Mot de passe modifié
Passwordchange = Changement de mot de passe
Plays = Utilisation Jeu
PowerofftheWii = Éteindre la Wii
Prev = Précédent
PromptsButtons = Interface
@ -133,6 +143,7 @@ For = pour
theUSBLoaderandreleasingthesourcecodethe = et pour avoir partagé le code source
secondsleft = secondes restantes
SelectthePartition = Choisissez la partition
Setasbackgroundmusic = Définir comme musique de fond?
youwanttoformat = que vous voulez formater
settings = Paramètres
ShutdowntoIdle = Veille

File diff suppressed because one or more lines are too long

View File

@ -913,7 +913,7 @@ bool cfg_parsefile(char *fname, void (*set_func)(char*, char*))
char line[200];
//printf("opening(%s)\n", fname);
f = fopen(fname, "rb");
f = fopen(fname, "rt");
if (!f) {
//printf("error opening(%s)\n", fname);
return false;
@ -933,7 +933,7 @@ bool cfg_parsetitlefile(char *fname, void (*set_func)(char*, char*, u8))
char line[200];
//printf("opening(%s)\n", fname);
f = fopen(fname, "rb");
f = fopen(fname, "rt");
if (!f) {
//printf("error opening(%s)\n", fname);
return false;
@ -1020,7 +1020,7 @@ bool cfg_save_global()// save global settings
mkdir("SD:/config", 0777);
}
FILE *f;
f = fopen("SD:/config/GXGlobal.cfg", "wb");
f = fopen("SD:/config/GXGlobal.cfg", "wt");
if (!f) {
printf("Error saving %s\n", "GXGlobal.cfg");
sleep(1);
@ -1186,7 +1186,7 @@ bool cfg_save_games()// save per game setings
FILE *f;
int i;
mkdir("SD:/config/", 0777);
f = fopen("SD:/config/GXGameSettings.cfg", "wb");
f = fopen("SD:/config/GXGameSettings.cfg", "wt");
if (!f) {
printf("Error saving %s\n", "GXGameSettings.cfg");
sleep(1);
@ -1217,7 +1217,7 @@ bool cfg_save_game_num()
FILE *f;
int i;
mkdir("SD:/config/", 0777);
f = fopen("SD:/config/GXGameFavorites.cfg", "wb");
f = fopen("SD:/config/GXGameFavorites.cfg", "wt");
if (!f) {
printf("Error saving %s\n", "GXGameFavorites.cfg");
sleep(1);

View File

@ -6,7 +6,7 @@
#include <ogc/usbstorage.h>
#include <sdcard/wiisd_io.h>
#define CACHE 4
#define CACHE 1
#define SECTORS 64

BIN
source/images/favorite.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -206,6 +206,7 @@ void GuiCustomOptionBrowser::SetFocus(int f)
optionBtn[i]->ResetState();
if(f == 1)
optionBtn[selectedItem]->ResetState();
optionBtn[selectedItem]->SetState(STATE_SELECTED);
}
@ -359,10 +360,11 @@ void GuiCustomOptionBrowser::Update(GuiTrigger * t)
if(focus)
{
if(i != selectedItem && optionBtn[i]->GetState() == STATE_SELECTED)
if(i != selectedItem && optionBtn[i]->GetState() == STATE_SELECTED) {
optionBtn[i]->ResetState();
else if(i == selectedItem && optionBtn[i]->GetState() == STATE_DEFAULT)
optionBtn[selectedItem]->SetState(STATE_SELECTED, t->chan);
} else if(i == selectedItem && optionBtn[i]->GetState() == STATE_DEFAULT) {
optionBtn[selectedItem]->SetState(STATE_SELECTED);
}
}
optionBtn[i]->Update(t);
@ -371,6 +373,7 @@ void GuiCustomOptionBrowser::Update(GuiTrigger * t)
{
selectedItem = i;
}
}
// pad/joystick navigation