2009-05-16 17:38:52 +02:00
# include <stdlib.h>
# include <stdio.h>
# include <string.h>
# include <unistd.h>
# include <sys/stat.h>
# include <ctype.h>
# include <ogcsys.h>
2009-06-13 02:24:36 +02:00
# include "usbloader/disc.h"
2009-05-16 17:38:52 +02:00
# include "language.h"
2009-06-13 02:24:36 +02:00
2009-05-16 17:38:52 +02:00
static char * cfg_name , * cfg_val ;
char * strcopy ( char * dest , char * src , int size )
{
strncpy ( dest , src , size ) ;
dest [ size - 1 ] = 0 ;
return dest ;
}
2009-05-17 10:40:47 +02:00
bool checkfile ( char * path )
{
FILE * f ;
f = fopen ( path , " r " ) ;
if ( f ) {
fclose ( f ) ;
return true ;
}
fclose ( f ) ;
return false ;
}
2009-05-16 17:38:52 +02:00
void lang_default ( )
{
snprintf ( LANGUAGE . ok , sizeof ( LANGUAGE . ok ) , " OK " ) ;
2009-05-20 10:31:47 +02:00
snprintf ( LANGUAGE . addToFavorite , sizeof ( LANGUAGE . addToFavorite ) , " Favorite " ) ;
2009-05-21 06:00:16 +02:00
snprintf ( LANGUAGE . all , sizeof ( LANGUAGE . all ) , " Alphabetical " ) ;
2009-06-19 22:20:03 +02:00
snprintf ( LANGUAGE . Anti002fix , sizeof ( LANGUAGE . Anti002fix ) , " Anti 002 fix " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . AppLanguage , sizeof ( LANGUAGE . AppLanguage ) , " App Language " ) ;
2009-06-16 13:29:07 +02:00
snprintf ( LANGUAGE . Alternatedol , sizeof ( LANGUAGE . Alternatedol ) , " Alternate DOL " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . t3Covers , sizeof ( LANGUAGE . t3Covers ) , " 3D Covers " ) ;
snprintf ( LANGUAGE . Areyousure , sizeof ( LANGUAGE . Areyousure ) , " Are you sure? " ) ;
2009-05-28 18:30:01 +02:00
snprintf ( LANGUAGE . available , sizeof ( LANGUAGE . available ) , " available " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . AutoPatch , sizeof ( LANGUAGE . AutoPatch ) , " AutoPatch " ) ;
2009-06-14 20:42:26 +02:00
snprintf ( LANGUAGE . Adultsonly , sizeof ( LANGUAGE . Adultsonly ) , " 4 (Adults Only 18+) " ) ;
2009-06-08 23:40:34 +02:00
snprintf ( LANGUAGE . awesometool , sizeof ( LANGUAGE . awesometool ) , " for his awesome tool " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . Back , sizeof ( LANGUAGE . Back ) , " Back " ) ;
2009-05-20 02:03:43 +02:00
snprintf ( LANGUAGE . Backgroundmusic , sizeof ( LANGUAGE . Backgroundmusic ) , " Backgroundmusic " ) ;
snprintf ( LANGUAGE . Backgroundmusicpath , sizeof ( LANGUAGE . Backgroundmusicpath ) , " Backgroundmusic Path changed. " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . BacktoHBCorWiiMenu , sizeof ( LANGUAGE . BacktoHBCorWiiMenu ) , " Back to HBC or Wii Menu " ) ;
snprintf ( LANGUAGE . BacktoLoader , sizeof ( LANGUAGE . BacktoLoader ) , " Back to Loader " ) ;
snprintf ( LANGUAGE . BacktoWiiMenu , sizeof ( LANGUAGE . BacktoWiiMenu ) , " Back to Wii Menu " ) ;
snprintf ( LANGUAGE . BootStandard , sizeof ( LANGUAGE . BootStandard ) , " Boot/Standard " ) ;
snprintf ( LANGUAGE . Both , sizeof ( LANGUAGE . Both ) , " Both " ) ;
2009-06-18 18:09:45 +02:00
snprintf ( LANGUAGE . Blockiosreload , sizeof ( LANGUAGE . Blockiosreload ) , " Block IOS Reload " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . Cantcreatedirectory , sizeof ( LANGUAGE . Cantcreatedirectory ) , " Can't create directory " ) ;
snprintf ( LANGUAGE . Cancel , sizeof ( LANGUAGE . Cancel ) , " Cancel " ) ;
snprintf ( LANGUAGE . Cantbeformated , sizeof ( LANGUAGE . Cantbeformated ) , " Can't be formated " ) ;
2009-05-28 18:30:01 +02:00
snprintf ( LANGUAGE . CheckingforUpdates , sizeof ( LANGUAGE . CheckingforUpdates ) , " Checking for Updates " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . Cantdelete , sizeof ( LANGUAGE . Cantdelete ) , " Can't delete: " ) ;
snprintf ( LANGUAGE . ClicktoDownloadCovers , sizeof ( LANGUAGE . ClicktoDownloadCovers ) , " Click to Download Covers " ) ;
2009-06-14 20:42:26 +02:00
snprintf ( LANGUAGE . Child , sizeof ( LANGUAGE . Child ) , " 1 (Child 7+) " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . Clock , sizeof ( LANGUAGE . Clock ) , " Clock " ) ;
2009-05-21 20:13:37 +02:00
snprintf ( LANGUAGE . Close , sizeof ( LANGUAGE . Close ) , " Close " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . Continueinstallgame , sizeof ( LANGUAGE . Continueinstallgame ) , " Continue to install game? " ) ;
2009-06-12 22:11:59 +02:00
snprintf ( LANGUAGE . Console , sizeof ( LANGUAGE . Console ) , " Console " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . ConsoleDefault , sizeof ( LANGUAGE . ConsoleDefault ) , " Console Default " ) ;
snprintf ( LANGUAGE . Consoleshouldbeunlockedtomodifyit , sizeof ( LANGUAGE . Consoleshouldbeunlockedtomodifyit ) , " Console should be unlocked to modify it. " ) ;
snprintf ( LANGUAGE . ConsoleLocked , sizeof ( LANGUAGE . ConsoleLocked ) , " Console Locked " ) ;
2009-06-06 19:26:52 +02:00
snprintf ( LANGUAGE . Controllevel , sizeof ( LANGUAGE . Controllevel ) , " Controllevel " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . CorrectPassword , sizeof ( LANGUAGE . CorrectPassword ) , " Correct Password " ) ;
snprintf ( LANGUAGE . Couldnotinitializenetwork , sizeof ( LANGUAGE . Couldnotinitializenetwork ) , " Could not initialize network! " ) ;
snprintf ( LANGUAGE . CouldnotopenDisc , sizeof ( LANGUAGE . CouldnotopenDisc ) , " Could not open Disc " ) ;
snprintf ( LANGUAGE . CouldnotinitializeDIPmodule , sizeof ( LANGUAGE . CouldnotinitializeDIPmodule ) , " Could not initialize DIP module! " ) ;
snprintf ( LANGUAGE . CoverDownload , sizeof ( LANGUAGE . CoverDownload ) , " Cover Download " ) ;
snprintf ( LANGUAGE . CoverPath , sizeof ( LANGUAGE . CoverPath ) , " Cover Path " ) ;
snprintf ( LANGUAGE . CoverpathChanged , sizeof ( LANGUAGE . CoverpathChanged ) , " Coverpath Changed " ) ;
snprintf ( LANGUAGE . Coverpathchange , sizeof ( LANGUAGE . Coverpathchange ) , " Coverpath change " ) ;
2009-06-16 15:42:52 +02:00
snprintf ( LANGUAGE . DolPath , sizeof ( LANGUAGE . DolPath ) , " Dol Path " ) ;
snprintf ( LANGUAGE . DolpathChanged , sizeof ( LANGUAGE . DolpathChanged ) , " Dolpath Changed " ) ;
snprintf ( LANGUAGE . Dolpathchange , sizeof ( LANGUAGE . Dolpathchange ) , " Dolpath change " ) ;
2009-06-10 13:27:19 +02:00
snprintf ( LANGUAGE . Cheatcodespathchanged , sizeof ( LANGUAGE . Cheatcodespathchanged ) , " Cheatcodes Path changed " ) ;
snprintf ( LANGUAGE . Cheatcodespath , sizeof ( LANGUAGE . Cheatcodespath ) , " Cheatcodes Path " ) ;
2009-05-21 06:00:16 +02:00
snprintf ( LANGUAGE . count , sizeof ( LANGUAGE . count ) , " Play Count " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . Credits , sizeof ( LANGUAGE . Credits ) , " Credits " ) ;
2009-06-06 19:26:52 +02:00
snprintf ( LANGUAGE . Custompaths , sizeof ( LANGUAGE . Custompaths ) , " Custom Paths " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . DiscImages , sizeof ( LANGUAGE . DiscImages ) , " Disc Images " ) ;
snprintf ( LANGUAGE . DiscimagePath , sizeof ( LANGUAGE . DiscimagePath ) , " Discimage Path " ) ;
snprintf ( LANGUAGE . DiscpathChanged , sizeof ( LANGUAGE . DiscpathChanged ) , " Discpath Changed " ) ;
snprintf ( LANGUAGE . Discpathchange , sizeof ( LANGUAGE . Discpathchange ) , " Discpath change " ) ;
snprintf ( LANGUAGE . DiscDefault , sizeof ( LANGUAGE . DiscDefault ) , " Disc Default " ) ;
snprintf ( LANGUAGE . Display , sizeof ( LANGUAGE . Display ) , " Display " ) ;
snprintf ( LANGUAGE . Doyouwanttoformat , sizeof ( LANGUAGE . Doyouwanttoformat ) , " Do you want to format: " ) ;
snprintf ( LANGUAGE . Doyoureallywanttodelete , sizeof ( LANGUAGE . Doyoureallywanttodelete ) , " Do you really want to delete: " ) ;
snprintf ( LANGUAGE . Doyouwanttoretryfor30secs , sizeof ( LANGUAGE . Doyouwanttoretryfor30secs ) , " Do you want to retry for 30 secs? " ) ;
2009-05-29 18:23:58 +02:00
snprintf ( LANGUAGE . Doyouwanttoupdate , sizeof ( LANGUAGE . Doyouwanttoupdate ) , " How do you want to update? " ) ;
2009-06-06 19:26:52 +02:00
snprintf ( LANGUAGE . Doyouwanttochangelanguage , sizeof ( LANGUAGE . Doyouwanttochangelanguage ) , " Do you want to change language? " ) ;
2009-05-28 14:12:52 +02:00
snprintf ( LANGUAGE . Downloadingfile , sizeof ( LANGUAGE . Downloadingfile ) , " Downloading file " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . DownloadBoxartimage , sizeof ( LANGUAGE . DownloadBoxartimage ) , " Download Boxart image? " ) ;
snprintf ( LANGUAGE . Downloadfinished , sizeof ( LANGUAGE . Downloadfinished ) , " Download finished " ) ;
2009-05-24 00:23:24 +02:00
snprintf ( LANGUAGE . Defaultgamesettings , sizeof ( LANGUAGE . Defaultgamesettings ) , " Default Gamesettings " ) ;
snprintf ( LANGUAGE . Defaultsettings , sizeof ( LANGUAGE . Defaultsettings ) , " Default Settings " ) ;
2009-06-06 19:26:52 +02:00
snprintf ( LANGUAGE . Default , sizeof ( LANGUAGE . Default ) , " Default " ) ;
2009-06-08 23:40:34 +02:00
snprintf ( LANGUAGE . diversepatches , sizeof ( LANGUAGE . diversepatches ) , " for diverse patches " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . Error , sizeof ( LANGUAGE . Error ) , " Error ! " ) ;
2009-06-12 22:11:59 +02:00
snprintf ( LANGUAGE . Error002fix , sizeof ( LANGUAGE . Error002fix ) , " Error 002 fix " ) ;
2009-05-20 10:31:47 +02:00
snprintf ( LANGUAGE . hour , sizeof ( LANGUAGE . hour ) , " Hour " ) ;
2009-05-21 20:13:37 +02:00
snprintf ( LANGUAGE . Homemenu , sizeof ( LANGUAGE . Homemenu ) , " HOME Menu " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . BOOTERROR , sizeof ( LANGUAGE . BOOTERROR ) , " BOOT ERROR " ) ;
snprintf ( LANGUAGE . ErrorreadingDisc , sizeof ( LANGUAGE . ErrorreadingDisc ) , " Error reading Disc " ) ;
snprintf ( LANGUAGE . ExitUSBISOLoader , sizeof ( LANGUAGE . ExitUSBISOLoader ) , " Exit USB Loader GX? " ) ;
2009-06-14 20:42:26 +02:00
snprintf ( LANGUAGE . Everyone , sizeof ( LANGUAGE . Everyone ) , " 0 (Everyone) " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . InitializingNetwork , sizeof ( LANGUAGE . InitializingNetwork ) , " Initializing Network " ) ;
snprintf ( LANGUAGE . InsertDisk , sizeof ( LANGUAGE . InsertDisk ) , " Insert Disk " ) ;
snprintf ( LANGUAGE . InsertaWiiDisc , sizeof ( LANGUAGE . InsertaWiiDisc ) , " Insert a Wii Disc! " ) ;
snprintf ( LANGUAGE . InsertaSDCardtodownloadimages , sizeof ( LANGUAGE . InsertaSDCardtodownloadimages ) , " Insert an SD-Card to download images. " ) ;
snprintf ( LANGUAGE . InsertaSDCardtosave , sizeof ( LANGUAGE . InsertaSDCardtosave ) , " Insert an SD-Card to save. " ) ;
2009-05-20 15:14:52 +02:00
snprintf ( LANGUAGE . InsertaSDCardtousethatoption , sizeof ( LANGUAGE . InsertaSDCardtousethatoption ) , " Insert an SD-Card to use this option. " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . InstallRenameandDeleteareunlocked , sizeof ( LANGUAGE . InstallRenameandDeleteareunlocked ) , " All the features of USB Loader GX are unlocked. " ) ;
snprintf ( LANGUAGE . Installerror , sizeof ( LANGUAGE . Installerror ) , " Install Error! " ) ;
snprintf ( LANGUAGE . Installagame , sizeof ( LANGUAGE . Installagame ) , " Install a game " ) ;
snprintf ( LANGUAGE . Installinggame , sizeof ( LANGUAGE . Installinggame ) , " Installing game: " ) ;
snprintf ( LANGUAGE . Failedtoboot , sizeof ( LANGUAGE . Failedtoboot ) , " Failed to boot: " ) ;
snprintf ( LANGUAGE . FailedtomountfrontSDcard , sizeof ( LANGUAGE . FailedtomountfrontSDcard ) , " Failed to mount front SD-card " ) ;
snprintf ( LANGUAGE . FailedtosetUSB , sizeof ( LANGUAGE . FailedtosetUSB ) , " Failed to set USB: " ) ;
snprintf ( LANGUAGE . Failedformating , sizeof ( LANGUAGE . Failedformating ) , " Failed formating " ) ;
2009-05-21 06:00:16 +02:00
snprintf ( LANGUAGE . fave , sizeof ( LANGUAGE . fave ) , " Favorites " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . filesnotfoundontheserver , sizeof ( LANGUAGE . filesnotfoundontheserver ) , " files not found on the server! " ) ;
2009-05-17 10:40:47 +02:00
snprintf ( LANGUAGE . Filenotfound , sizeof ( LANGUAGE . Filenotfound ) , " File not found. " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . filesleft , sizeof ( LANGUAGE . filesleft ) , " file(s) left " ) ;
snprintf ( LANGUAGE . FlipX , sizeof ( LANGUAGE . FlipX ) , " Flip-X " ) ;
snprintf ( LANGUAGE . Force , sizeof ( LANGUAGE . Force ) , " Force " ) ;
snprintf ( LANGUAGE . Youneedtoformatapartition , sizeof ( LANGUAGE . Youneedtoformatapartition ) , " You need to format a partition " ) ;
snprintf ( LANGUAGE . Format , sizeof ( LANGUAGE . Format ) , " Format " ) ;
2009-05-17 06:02:52 +02:00
snprintf ( LANGUAGE . keyboard , sizeof ( LANGUAGE . keyboard ) , " Keyboard " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . Formattingpleasewait , sizeof ( LANGUAGE . Formattingpleasewait ) , " Formatting, please wait... " ) ;
snprintf ( LANGUAGE . formated , sizeof ( LANGUAGE . formated ) , " formatted! " ) ;
2009-06-08 23:40:34 +02:00
snprintf ( LANGUAGE . Forhostingcovers , sizeof ( LANGUAGE . Forhostingcovers ) , " for hosting the covers/discarts " ) ;
snprintf ( LANGUAGE . Forhostingupdatefiles , sizeof ( LANGUAGE . Forhostingupdatefiles ) , " for hosting the update files " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . free , sizeof ( LANGUAGE . free ) , " free " ) ;
snprintf ( LANGUAGE . FreeSpace , sizeof ( LANGUAGE . FreeSpace ) , " Free Space " ) ;
snprintf ( LANGUAGE . FullShutdown , sizeof ( LANGUAGE . FullShutdown ) , " Full Shutdown " ) ;
snprintf ( LANGUAGE . GameID , sizeof ( LANGUAGE . GameID ) , " Game ID " ) ;
snprintf ( LANGUAGE . Games , sizeof ( LANGUAGE . Games ) , " Games " ) ;
snprintf ( LANGUAGE . Gameisalreadyinstalled , sizeof ( LANGUAGE . Gameisalreadyinstalled ) , " Game is already installed: " ) ;
snprintf ( LANGUAGE . GameRegion , sizeof ( LANGUAGE . GameRegion ) , " Game Region " ) ;
snprintf ( LANGUAGE . GameSize , sizeof ( LANGUAGE . GameSize ) , " Game Size " ) ;
snprintf ( LANGUAGE . GoBack , sizeof ( LANGUAGE . GoBack ) , " Go Back " ) ;
2009-06-06 19:26:52 +02:00
snprintf ( LANGUAGE . GUISettings , sizeof ( LANGUAGE . GUISettings ) , " GUI Settings " ) ;
snprintf ( LANGUAGE . Gameload , sizeof ( LANGUAGE . Gameload ) , " Game Load " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . HowtoShutdown , sizeof ( LANGUAGE . HowtoShutdown ) , " How to Shutdown? " ) ;
snprintf ( LANGUAGE . Language , sizeof ( LANGUAGE . Language ) , " Game Language " ) ;
2009-06-06 19:26:52 +02:00
snprintf ( LANGUAGE . Languagepathchanged , sizeof ( LANGUAGE . Languagepathchanged ) , " Languagepath changed. " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . Left , sizeof ( LANGUAGE . Left ) , " Left " ) ;
snprintf ( LANGUAGE . LikeSysMenu , sizeof ( LANGUAGE . LikeSysMenu ) , " Like SysMenu " ) ;
snprintf ( LANGUAGE . LoadingincIOS , sizeof ( LANGUAGE . LoadingincIOS ) , " Loading in cIOS249 " ) ;
2009-05-21 06:00:16 +02:00
snprintf ( LANGUAGE . ListSort , sizeof ( LANGUAGE . ListSort ) , " Sort Game List " ) ;
2009-05-17 10:40:47 +02:00
snprintf ( LANGUAGE . Loadingstandardlanguage , sizeof ( LANGUAGE . Loadingstandardlanguage ) , " Loading standard language. " ) ;
2009-05-20 02:03:43 +02:00
snprintf ( LANGUAGE . Loadingstandardmusic , sizeof ( LANGUAGE . Loadingstandardmusic ) , " Loading standard music. " ) ;
2009-06-07 13:03:39 +02:00
snprintf ( LANGUAGE . Locked , sizeof ( LANGUAGE . Locked ) , " Locked " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . LockConsole , sizeof ( LANGUAGE . LockConsole ) , " Lock Console " ) ;
2009-05-30 18:58:34 +02:00
snprintf ( LANGUAGE . Patchcountrystrings , sizeof ( LANGUAGE . Patchcountrystrings ) , " Patch Country Strings " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . Missingfiles , sizeof ( LANGUAGE . Missingfiles ) , " Missing files " ) ;
2009-06-14 20:42:26 +02:00
snprintf ( LANGUAGE . Mature , sizeof ( LANGUAGE . Mature ) , " 3 (Mature 16+) " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . Networkiniterror , sizeof ( LANGUAGE . Networkiniterror ) , " Network init error " ) ;
snprintf ( LANGUAGE . Neither , sizeof ( LANGUAGE . Neither ) , " Neither " ) ;
snprintf ( LANGUAGE . Next , sizeof ( LANGUAGE . Next ) , " Next " ) ;
2009-05-28 18:30:01 +02:00
snprintf ( LANGUAGE . Nonewupdates , sizeof ( LANGUAGE . Nonewupdates ) , " No new updates. " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . No , sizeof ( LANGUAGE . No ) , " No " ) ;
snprintf ( LANGUAGE . Nofilemissing , sizeof ( LANGUAGE . Nofilemissing ) , " No file missing! " ) ;
snprintf ( LANGUAGE . NoHDDfound , sizeof ( LANGUAGE . NoHDDfound ) , " No HDD found! " ) ;
snprintf ( LANGUAGE . NoSDcardinserted , sizeof ( LANGUAGE . NoSDcardinserted ) , " No SD-Card inserted! " ) ;
snprintf ( LANGUAGE . Nopartitionsfound , sizeof ( LANGUAGE . Nopartitionsfound ) , " No partitions found " ) ;
snprintf ( LANGUAGE . NoUSBDevice , sizeof ( LANGUAGE . NoUSBDevice ) , " No USB Device " ) ;
snprintf ( LANGUAGE . NoWBFSpartitionfound , sizeof ( LANGUAGE . NoWBFSpartitionfound ) , " No WBFS partition found " ) ;
snprintf ( LANGUAGE . NormalCovers , sizeof ( LANGUAGE . NormalCovers ) , " Normal Covers " ) ;
snprintf ( LANGUAGE . Normal , sizeof ( LANGUAGE . Normal ) , " Normal " ) ;
snprintf ( LANGUAGE . NotaWiiDisc , sizeof ( LANGUAGE . NotaWiiDisc ) , " Not a Wii Disc " ) ;
snprintf ( LANGUAGE . NoUSBDevicefound , sizeof ( LANGUAGE . NoUSBDevicefound ) , " No USB Device found. " ) ;
snprintf ( LANGUAGE . Notenoughfreespace , sizeof ( LANGUAGE . Notenoughfreespace ) , " Not enough free space! " ) ;
2009-05-20 02:03:43 +02:00
snprintf ( LANGUAGE . Notasupportedformat , sizeof ( LANGUAGE . Notasupportedformat ) , " Not supported format! " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . notset , sizeof ( LANGUAGE . notset ) , " not set " ) ;
snprintf ( LANGUAGE . of , sizeof ( LANGUAGE . of ) , " of " ) ;
snprintf ( LANGUAGE . OFF , sizeof ( LANGUAGE . OFF ) , " OFF " ) ;
snprintf ( LANGUAGE . OfficialSite , sizeof ( LANGUAGE . OfficialSite ) , " Official Site " ) ;
snprintf ( LANGUAGE . ON , sizeof ( LANGUAGE . ON ) , " ON " ) ;
2009-05-24 00:23:24 +02:00
snprintf ( LANGUAGE . OnlyInstall , sizeof ( LANGUAGE . OnlyInstall ) , " Only for Install " ) ;
2009-06-06 19:26:52 +02:00
snprintf ( LANGUAGE . Parentalcontrol , sizeof ( LANGUAGE . Parentalcontrol ) , " Parental Control " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . Partition , sizeof ( LANGUAGE . Partition ) , " Partition " ) ;
snprintf ( LANGUAGE . Password , sizeof ( LANGUAGE . Password ) , " Password " ) ;
snprintf ( LANGUAGE . PasswordChanged , sizeof ( LANGUAGE . PasswordChanged ) , " Password Changed " ) ;
snprintf ( LANGUAGE . Passwordhasbeenchanged , sizeof ( LANGUAGE . Passwordhasbeenchanged ) , " Password has been changed " ) ;
2009-06-16 15:42:52 +02:00
snprintf ( LANGUAGE . Passwordchange , sizeof ( LANGUAGE . Passwordchange ) , " Password change " ) ;
2009-05-21 10:56:23 +02:00
snprintf ( LANGUAGE . Plays , sizeof ( LANGUAGE . Plays ) , " Play Count " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . PowerofftheWii , sizeof ( LANGUAGE . PowerofftheWii ) , " Power off the Wii " ) ;
snprintf ( LANGUAGE . Prev , sizeof ( LANGUAGE . Prev ) , " Prev " ) ;
snprintf ( LANGUAGE . PromptsButtons , sizeof ( LANGUAGE . PromptsButtons ) , " Prompts Buttons " ) ;
snprintf ( LANGUAGE . ReloadSD , sizeof ( LANGUAGE . ReloadSD ) , " Reload SD " ) ;
snprintf ( LANGUAGE . RenameGameonWBFS , sizeof ( LANGUAGE . RenameGameonWBFS ) , " Rename Game on WBFS " ) ;
snprintf ( LANGUAGE . Restart , sizeof ( LANGUAGE . Restart ) , " Restart " ) ;
2009-05-28 18:30:01 +02:00
snprintf ( LANGUAGE . Restarting , sizeof ( LANGUAGE . Restarting ) , " Restarting... " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . Return , sizeof ( LANGUAGE . Return ) , " Return " ) ;
2009-06-09 07:20:49 +02:00
snprintf ( LANGUAGE . released , sizeof ( LANGUAGE . released ) , " Released " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . ReturntoWiiMenu , sizeof ( LANGUAGE . ReturntoWiiMenu ) , " Return to Wii Menu " ) ;
snprintf ( LANGUAGE . Right , sizeof ( LANGUAGE . Right ) , " Right " ) ;
snprintf ( LANGUAGE . Rumble , sizeof ( LANGUAGE . Rumble ) , " Rumble " ) ;
snprintf ( LANGUAGE . QuickBoot , sizeof ( LANGUAGE . QuickBoot ) , " Quick Boot " ) ;
snprintf ( LANGUAGE . Save , sizeof ( LANGUAGE . Save ) , " Save " ) ;
snprintf ( LANGUAGE . SaveFailed , sizeof ( LANGUAGE . SaveFailed ) , " Save Failed " ) ;
2009-06-08 23:40:34 +02:00
snprintf ( LANGUAGE . Specialthanksto , sizeof ( LANGUAGE . Specialthanksto ) , " Special thanks to: " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . For , sizeof ( LANGUAGE . For ) , " for " ) ;
2009-06-12 13:50:14 +02:00
snprintf ( LANGUAGE . theUSBLoaderandreleasingthesourcecode , sizeof ( LANGUAGE . theUSBLoaderandreleasingthesourcecode ) , " for the USB Loader source " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . secondsleft , sizeof ( LANGUAGE . secondsleft ) , " seconds left " ) ;
2009-05-20 02:03:43 +02:00
snprintf ( LANGUAGE . Setasbackgroundmusic , sizeof ( LANGUAGE . Setasbackgroundmusic ) , " Set as backgroundmusic? " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . SelectthePartition , sizeof ( LANGUAGE . SelectthePartition ) , " Select the Partition " ) ;
snprintf ( LANGUAGE . youwanttoformat , sizeof ( LANGUAGE . youwanttoformat ) , " you want to format " ) ;
2009-05-20 02:03:43 +02:00
snprintf ( LANGUAGE . Standard , sizeof ( LANGUAGE . Standard ) , " Standard " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . settings , sizeof ( LANGUAGE . settings ) , " Settings " ) ;
2009-06-06 19:26:52 +02:00
snprintf ( LANGUAGE . Sound , sizeof ( LANGUAGE . Sound ) , " Sound " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . ShutdowntoIdle , sizeof ( LANGUAGE . ShutdowntoIdle ) , " Shutdown to Idle " ) ;
snprintf ( LANGUAGE . ShutdownSystem , sizeof ( LANGUAGE . ShutdownSystem ) , " Shutdown System " ) ;
snprintf ( LANGUAGE . Success , sizeof ( LANGUAGE . Success ) , " Success: " ) ;
snprintf ( LANGUAGE . Successfullyinstalled , sizeof ( LANGUAGE . Successfullyinstalled ) , " Successfully installed: " ) ;
2009-05-28 18:30:01 +02:00
snprintf ( LANGUAGE . Successfullyupdated , sizeof ( LANGUAGE . Successfullyupdated ) , " Successfully Updated " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . Successfullydeleted , sizeof ( LANGUAGE . Successfullydeleted ) , " Successfully deleted: " ) ;
snprintf ( LANGUAGE . SuccessfullySaved , sizeof ( LANGUAGE . SuccessfullySaved ) , " Successfully Saved " ) ;
snprintf ( LANGUAGE . SystemDefault , sizeof ( LANGUAGE . SystemDefault ) , " System Default " ) ;
2009-06-14 20:42:26 +02:00
snprintf ( LANGUAGE . Teen , sizeof ( LANGUAGE . Teen ) , " 2 (Teen 12+) " ) ;
2009-06-08 23:40:34 +02:00
snprintf ( LANGUAGE . Thanksto , sizeof ( LANGUAGE . Thanksto ) , " Big thanks to: " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . ThemePath , sizeof ( LANGUAGE . ThemePath ) , " ThemePath " ) ;
snprintf ( LANGUAGE . ThemepathChanged , sizeof ( LANGUAGE . ThemepathChanged ) , " Themepath Changed " ) ;
snprintf ( LANGUAGE . Themepathchange , sizeof ( LANGUAGE . Themepathchange ) , " Themepath change " ) ;
2009-05-17 10:40:47 +02:00
snprintf ( LANGUAGE . Titlestxtpath , sizeof ( LANGUAGE . Titlestxtpath ) , " titles.txt Path " ) ;
snprintf ( LANGUAGE . Titlestxtpathchange , sizeof ( LANGUAGE . Titlestxtpathchange ) , " Path of titles.txt change " ) ;
snprintf ( LANGUAGE . TitlestxtpathChanged , sizeof ( LANGUAGE . TitlestxtpathChanged ) , " Path of titles.txt changed. " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . Try , sizeof ( LANGUAGE . Try ) , " Try " ) ;
snprintf ( LANGUAGE . Tooltips , sizeof ( LANGUAGE . Tooltips ) , " Tooltips " ) ;
snprintf ( LANGUAGE . Timeleft , sizeof ( LANGUAGE . Timeleft ) , " Time left: " ) ;
2009-05-28 18:30:01 +02:00
snprintf ( LANGUAGE . updating , sizeof ( LANGUAGE . updating ) , " Updating " ) ;
2009-06-07 13:03:39 +02:00
snprintf ( LANGUAGE . Unlocked , sizeof ( LANGUAGE . Unlocked ) , " Unlocked " ) ;
2009-06-06 19:26:52 +02:00
snprintf ( LANGUAGE . UnlockConsoletousethisOption , sizeof ( LANGUAGE . UnlockConsoletousethisOption ) , " Unlock console to use this option. " ) ;
2009-05-17 10:40:47 +02:00
snprintf ( LANGUAGE . Unicodefix , sizeof ( LANGUAGE . Unicodefix ) , " Unicode Fix " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . Uninstall , sizeof ( LANGUAGE . Uninstall ) , " Uninstall " ) ;
2009-05-28 14:12:52 +02:00
snprintf ( LANGUAGE . Updatepath , sizeof ( LANGUAGE . Updatepath ) , " Updatepath " ) ;
snprintf ( LANGUAGE . Updatepathchanged , sizeof ( LANGUAGE . Updatepathchanged ) , " Updatepath changed. " ) ;
snprintf ( LANGUAGE . Updatefailed , sizeof ( LANGUAGE . Updatefailed ) , " Update failed " ) ;
2009-05-29 18:23:58 +02:00
snprintf ( LANGUAGE . Updatedol , sizeof ( LANGUAGE . Updatedol ) , " Update DOL " ) ;
snprintf ( LANGUAGE . Updateall , sizeof ( LANGUAGE . Updateall ) , " Update All " ) ;
2009-06-02 08:55:21 +02:00
snprintf ( LANGUAGE . Updateto , sizeof ( LANGUAGE . Updateto ) , " Update to " ) ;
2009-06-06 19:26:52 +02:00
snprintf ( LANGUAGE . Update , sizeof ( LANGUAGE . Update ) , " Update " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . USBLoaderisprotected , sizeof ( LANGUAGE . USBLoaderisprotected ) , " USB Loader GX is protected " ) ;
snprintf ( LANGUAGE . USBDevicenotfound , sizeof ( LANGUAGE . USBDevicenotfound ) , " USB Device not found " ) ;
snprintf ( LANGUAGE . VideoMode , sizeof ( LANGUAGE . VideoMode ) , " Video Mode " ) ;
snprintf ( LANGUAGE . VIDTVPatch , sizeof ( LANGUAGE . VIDTVPatch ) , " VIDTV Patch " ) ;
2009-06-06 19:26:52 +02:00
snprintf ( LANGUAGE . Volume , sizeof ( LANGUAGE . Volume ) , " Music Volume " ) ;
snprintf ( LANGUAGE . SFXVolume , sizeof ( LANGUAGE . SFXVolume ) , " SFX Volume " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . Waiting , sizeof ( LANGUAGE . Waiting ) , " Waiting... " ) ;
snprintf ( LANGUAGE . WaitingforUSBDevice , sizeof ( LANGUAGE . WaitingforUSBDevice ) , " Waiting for USB Device " ) ;
snprintf ( LANGUAGE . WidescreenFix , sizeof ( LANGUAGE . WidescreenFix ) , " Widescreen Fix " ) ;
snprintf ( LANGUAGE . WiiMenu , sizeof ( LANGUAGE . WiiMenu ) , " Wii Menu " ) ;
2009-05-24 00:23:24 +02:00
snprintf ( LANGUAGE . Wiilight , sizeof ( LANGUAGE . Wiilight ) , " Wiilight " ) ;
2009-05-16 17:38:52 +02:00
snprintf ( LANGUAGE . WrongPassword , sizeof ( LANGUAGE . WrongPassword ) , " Wrong Password " ) ;
snprintf ( LANGUAGE . Yes , sizeof ( LANGUAGE . Yes ) , " Yes " ) ;
snprintf ( LANGUAGE . YoudonthavecIOS , sizeof ( LANGUAGE . YoudonthavecIOS ) , " You don't have cIOS222 " ) ;
snprintf ( LANGUAGE . Japanese , sizeof ( LANGUAGE . Japanese ) , " Japanese " ) ;
snprintf ( LANGUAGE . German , sizeof ( LANGUAGE . German ) , " German " ) ;
snprintf ( LANGUAGE . English , sizeof ( LANGUAGE . English ) , " English " ) ;
snprintf ( LANGUAGE . French , sizeof ( LANGUAGE . French ) , " French " ) ;
snprintf ( LANGUAGE . Spanish , sizeof ( LANGUAGE . Spanish ) , " Spanish " ) ;
snprintf ( LANGUAGE . Italian , sizeof ( LANGUAGE . Italian ) , " Italian " ) ;
snprintf ( LANGUAGE . Dutch , sizeof ( LANGUAGE . Dutch ) , " Dutch " ) ;
snprintf ( LANGUAGE . SChinese , sizeof ( LANGUAGE . SChinese ) , " SChinese " ) ;
snprintf ( LANGUAGE . TChinese , sizeof ( LANGUAGE . TChinese ) , " TChinese " ) ;
snprintf ( LANGUAGE . Korean , sizeof ( LANGUAGE . Korean ) , " Korean " ) ;
2009-06-09 07:20:49 +02:00
snprintf ( LANGUAGE . january , sizeof ( LANGUAGE . january ) , " Jan " ) ;
snprintf ( LANGUAGE . february , sizeof ( LANGUAGE . february ) , " Feb " ) ;
snprintf ( LANGUAGE . march , sizeof ( LANGUAGE . march ) , " Mar " ) ;
snprintf ( LANGUAGE . april , sizeof ( LANGUAGE . april ) , " Apr " ) ;
snprintf ( LANGUAGE . may , sizeof ( LANGUAGE . may ) , " May " ) ;
snprintf ( LANGUAGE . june , sizeof ( LANGUAGE . june ) , " June " ) ;
snprintf ( LANGUAGE . july , sizeof ( LANGUAGE . july ) , " July " ) ;
snprintf ( LANGUAGE . august , sizeof ( LANGUAGE . august ) , " Aug " ) ;
snprintf ( LANGUAGE . september , sizeof ( LANGUAGE . september ) , " Sept " ) ;
snprintf ( LANGUAGE . october , sizeof ( LANGUAGE . october ) , " Oct " ) ;
snprintf ( LANGUAGE . november , sizeof ( LANGUAGE . november ) , " Nov " ) ;
snprintf ( LANGUAGE . december , sizeof ( LANGUAGE . december ) , " Dec " ) ;
snprintf ( LANGUAGE . developedby , sizeof ( LANGUAGE . developedby ) , " Developed by " ) ;
snprintf ( LANGUAGE . publishedby , sizeof ( LANGUAGE . publishedby ) , " Published by " ) ;
snprintf ( LANGUAGE . wififeatures , sizeof ( LANGUAGE . wififeatures ) , " WiFi Features " ) ;
2009-06-11 10:13:08 +02:00
snprintf ( LANGUAGE . XMLTitles , sizeof ( LANGUAGE . XMLTitles ) , " Titles from XML " ) ;
2009-06-12 13:50:14 +02:00
2009-05-16 17:38:52 +02:00
} ;
struct LANGUAGE LANGUAGE ;
void language_set ( char * name , char * val )
{
cfg_name = name ;
cfg_val = val ;
2009-05-16 23:04:43 +02:00
if ( strcmp ( name , " t3Covers " ) = = 0 ) {
strcopy ( LANGUAGE . t3Covers , val , sizeof ( LANGUAGE . t3Covers ) ) ;
return ;
}
2009-05-20 10:31:47 +02:00
if ( strcmp ( name , " addToFavorite " ) = = 0 ) {
strcopy ( LANGUAGE . addToFavorite , val , sizeof ( LANGUAGE . addToFavorite ) ) ;
return ;
}
2009-05-21 06:00:16 +02:00
if ( strcmp ( name , " all " ) = = 0 ) {
strcopy ( LANGUAGE . all , val , sizeof ( LANGUAGE . all ) ) ;
return ;
}
2009-06-14 20:42:26 +02:00
if ( strcmp ( name , " Teen " ) = = 0 ) {
strcopy ( LANGUAGE . Teen , val , sizeof ( LANGUAGE . Teen ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " Specialthanksto " ) = = 0 ) {
strcopy ( LANGUAGE . Specialthanksto , val , sizeof ( LANGUAGE . Specialthanksto ) ) ;
return ;
}
if ( strcmp ( name , " ok " ) = = 0 ) {
strcopy ( LANGUAGE . ok , val , sizeof ( LANGUAGE . ok ) ) ;
return ;
}
2009-06-19 22:20:03 +02:00
if ( strcmp ( name , " Anti002fix " ) = = 0 ) {
strcopy ( LANGUAGE . Anti002fix , val , sizeof ( LANGUAGE . Anti002fix ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " AppLanguage " ) = = 0 ) {
strcopy ( LANGUAGE . AppLanguage , val , sizeof ( LANGUAGE . AppLanguage ) ) ;
return ;
}
2009-06-16 13:29:07 +02:00
if ( strcmp ( name , " Alternatedol " ) = = 0 ) {
strcopy ( LANGUAGE . Alternatedol , val , sizeof ( LANGUAGE . Alternatedol ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " Areyousure " ) = = 0 ) {
strcopy ( LANGUAGE . Areyousure , val , sizeof ( LANGUAGE . Areyousure ) ) ;
return ;
}
if ( strcmp ( name , " AutoPatch " ) = = 0 ) {
strcopy ( LANGUAGE . AutoPatch , val , sizeof ( LANGUAGE . AutoPatch ) ) ;
return ;
}
2009-06-14 20:42:26 +02:00
if ( strcmp ( name , " Adultsonly " ) = = 0 ) {
strcopy ( LANGUAGE . Adultsonly , val , sizeof ( LANGUAGE . Adultsonly ) ) ;
2009-06-07 13:03:39 +02:00
return ;
}
2009-06-08 23:40:34 +02:00
if ( strcmp ( name , " awesometool " ) = = 0 ) {
strcopy ( LANGUAGE . awesometool , val , sizeof ( LANGUAGE . awesometool ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " Back " ) = = 0 ) {
strcopy ( LANGUAGE . Back , val , sizeof ( LANGUAGE . Back ) ) ;
return ;
}
2009-05-20 02:03:43 +02:00
if ( strcmp ( name , " Backgroundmusic " ) = = 0 ) {
strcopy ( LANGUAGE . Backgroundmusic , val , sizeof ( LANGUAGE . Backgroundmusic ) ) ;
return ;
}
if ( strcmp ( name , " Backgroundmusicpath " ) = = 0 ) {
strcopy ( LANGUAGE . Backgroundmusicpath , val , sizeof ( LANGUAGE . Backgroundmusicpath ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " BacktoHBCorWiiMenu " ) = = 0 ) {
strcopy ( LANGUAGE . BacktoHBCorWiiMenu , val , sizeof ( LANGUAGE . BacktoHBCorWiiMenu ) ) ;
return ;
}
if ( strcmp ( name , " BacktoLoader " ) = = 0 ) {
strcopy ( LANGUAGE . BacktoLoader , val , sizeof ( LANGUAGE . BacktoLoader ) ) ;
return ;
}
if ( strcmp ( name , " BacktoWiiMenu " ) = = 0 ) {
strcopy ( LANGUAGE . BacktoWiiMenu , val , sizeof ( LANGUAGE . BacktoWiiMenu ) ) ;
return ;
}
if ( strcmp ( name , " BootStandard " ) = = 0 ) {
strcopy ( LANGUAGE . BootStandard , val , sizeof ( LANGUAGE . BootStandard ) ) ;
return ;
}
2009-06-18 18:09:45 +02:00
if ( strcmp ( name , " Blockiosreload " ) = = 0 ) {
strcopy ( LANGUAGE . Blockiosreload , val , sizeof ( LANGUAGE . Blockiosreload ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " Both " ) = = 0 ) {
strcopy ( LANGUAGE . Both , val , sizeof ( LANGUAGE . Both ) ) ;
return ;
}
if ( strcmp ( name , " Cantcreatedirectory " ) = = 0 ) {
strcopy ( LANGUAGE . Cantcreatedirectory , val , sizeof ( LANGUAGE . Cantcreatedirectory ) ) ;
return ;
}
if ( strcmp ( name , " Cancel " ) = = 0 ) {
strcopy ( LANGUAGE . Cancel , val , sizeof ( LANGUAGE . Cancel ) ) ;
return ;
}
if ( strcmp ( name , " Cantbeformated " ) = = 0 ) {
strcopy ( LANGUAGE . Cantbeformated , val , sizeof ( LANGUAGE . Cantbeformated ) ) ;
return ;
}
if ( strcmp ( name , " Cantdelete " ) = = 0 ) {
strcopy ( LANGUAGE . Cantdelete , val , sizeof ( LANGUAGE . Cantdelete ) ) ;
return ;
}
2009-06-15 18:31:56 +02:00
if ( strcmp ( name , " Child " ) = = 0 ) {
strcopy ( LANGUAGE . Child , val , sizeof ( LANGUAGE . Child ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " ClicktoDownloadCovers " ) = = 0 ) {
strcopy ( LANGUAGE . ClicktoDownloadCovers , val , sizeof ( LANGUAGE . ClicktoDownloadCovers ) ) ;
return ;
}
if ( strcmp ( name , " Clock " ) = = 0 ) {
strcopy ( LANGUAGE . Clock , val , sizeof ( LANGUAGE . Clock ) ) ;
return ;
}
2009-05-21 20:13:37 +02:00
if ( strcmp ( name , " Close " ) = = 0 ) {
strcopy ( LANGUAGE . Close , val , sizeof ( LANGUAGE . Close ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " Continueinstallgame " ) = = 0 ) {
strcopy ( LANGUAGE . Continueinstallgame , val , sizeof ( LANGUAGE . Continueinstallgame ) ) ;
return ;
}
2009-06-12 22:11:59 +02:00
if ( strcmp ( name , " Console " ) = = 0 ) {
strcopy ( LANGUAGE . Console , val , sizeof ( LANGUAGE . Console ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " ConsoleDefault " ) = = 0 ) {
strcopy ( LANGUAGE . ConsoleDefault , val , sizeof ( LANGUAGE . ConsoleDefault ) ) ;
return ;
}
if ( strcmp ( name , " Consoleshouldbeunlockedtomodifyit " ) = = 0 ) {
strcopy ( LANGUAGE . Consoleshouldbeunlockedtomodifyit , val , sizeof ( LANGUAGE . Consoleshouldbeunlockedtomodifyit ) ) ;
return ;
}
if ( strcmp ( name , " ConsoleLocked " ) = = 0 ) {
strcopy ( LANGUAGE . ConsoleLocked , val , sizeof ( LANGUAGE . ConsoleLocked ) ) ;
return ;
}
2009-06-06 19:26:52 +02:00
if ( strcmp ( name , " Controllevel " ) = = 0 ) {
strcopy ( LANGUAGE . Controllevel , val , sizeof ( LANGUAGE . Controllevel ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " CorrectPassword " ) = = 0 ) {
strcopy ( LANGUAGE . CorrectPassword , val , sizeof ( LANGUAGE . CorrectPassword ) ) ;
return ;
}
if ( strcmp ( name , " Couldnotinitializenetwork " ) = = 0 ) {
strcopy ( LANGUAGE . Couldnotinitializenetwork , val , sizeof ( LANGUAGE . Couldnotinitializenetwork ) ) ;
return ;
}
if ( strcmp ( name , " CouldnotopenDisc " ) = = 0 ) {
strcopy ( LANGUAGE . CouldnotopenDisc , val , sizeof ( LANGUAGE . CouldnotopenDisc ) ) ;
return ;
}
if ( strcmp ( name , " CouldnotinitializeDIPmodule " ) = = 0 ) {
strcopy ( LANGUAGE . CouldnotinitializeDIPmodule , val , sizeof ( LANGUAGE . CouldnotinitializeDIPmodule ) ) ;
return ;
}
2009-05-21 06:00:16 +02:00
if ( strcmp ( name , " count " ) = = 0 ) {
strcopy ( LANGUAGE . count , val , sizeof ( LANGUAGE . count ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " CoverDownload " ) = = 0 ) {
strcopy ( LANGUAGE . CoverDownload , val , sizeof ( LANGUAGE . CoverDownload ) ) ;
return ;
}
if ( strcmp ( name , " CoverPath " ) = = 0 ) {
strcopy ( LANGUAGE . CoverPath , val , sizeof ( LANGUAGE . CoverPath ) ) ;
return ;
}
if ( strcmp ( name , " CoverpathChanged " ) = = 0 ) {
strcopy ( LANGUAGE . CoverpathChanged , val , sizeof ( LANGUAGE . CoverpathChanged ) ) ;
return ;
}
if ( strcmp ( name , " Coverpathchange " ) = = 0 ) {
strcopy ( LANGUAGE . Coverpathchange , val , sizeof ( LANGUAGE . Coverpathchange ) ) ;
return ;
}
2009-06-16 15:42:52 +02:00
if ( strcmp ( name , " DolPath " ) = = 0 ) {
strcopy ( LANGUAGE . DolPath , val , sizeof ( LANGUAGE . DolPath ) ) ;
return ;
}
if ( strcmp ( name , " DolpathChanged " ) = = 0 ) {
strcopy ( LANGUAGE . DolpathChanged , val , sizeof ( LANGUAGE . DolpathChanged ) ) ;
return ;
}
if ( strcmp ( name , " Dolpathchange " ) = = 0 ) {
strcopy ( LANGUAGE . Dolpathchange , val , sizeof ( LANGUAGE . Dolpathchange ) ) ;
return ;
}
2009-06-10 13:27:19 +02:00
if ( strcmp ( name , " Cheatcodespath " ) = = 0 ) {
strcopy ( LANGUAGE . Cheatcodespath , val , sizeof ( LANGUAGE . Cheatcodespath ) ) ;
return ;
}
if ( strcmp ( name , " Cheatcodespathchanged " ) = = 0 ) {
strcopy ( LANGUAGE . Cheatcodespathchanged , val , sizeof ( LANGUAGE . Cheatcodespathchanged ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " Credits " ) = = 0 ) {
strcopy ( LANGUAGE . Credits , val , sizeof ( LANGUAGE . Credits ) ) ;
return ;
}
2009-06-06 19:26:52 +02:00
if ( strcmp ( name , " Custompaths " ) = = 0 ) {
strcopy ( LANGUAGE . Custompaths , val , sizeof ( LANGUAGE . Custompaths ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " DiscImages " ) = = 0 ) {
strcopy ( LANGUAGE . DiscImages , val , sizeof ( LANGUAGE . DiscImages ) ) ;
return ;
}
if ( strcmp ( name , " DiscimagePath " ) = = 0 ) {
strcopy ( LANGUAGE . DiscimagePath , val , sizeof ( LANGUAGE . DiscimagePath ) ) ;
return ;
}
if ( strcmp ( name , " DiscpathChanged " ) = = 0 ) {
strcopy ( LANGUAGE . DiscpathChanged , val , sizeof ( LANGUAGE . DiscpathChanged ) ) ;
return ;
}
if ( strcmp ( name , " Discpathchange " ) = = 0 ) {
strcopy ( LANGUAGE . Discpathchange , val , sizeof ( LANGUAGE . Discpathchange ) ) ;
return ;
}
if ( strcmp ( name , " DiscDefault " ) = = 0 ) {
strcopy ( LANGUAGE . DiscDefault , val , sizeof ( LANGUAGE . DiscDefault ) ) ;
return ;
}
if ( strcmp ( name , " Display " ) = = 0 ) {
strcopy ( LANGUAGE . Display , val , sizeof ( LANGUAGE . Display ) ) ;
return ;
}
if ( strcmp ( name , " Doyouwanttoformat " ) = = 0 ) {
strcopy ( LANGUAGE . Doyouwanttoformat , val , sizeof ( LANGUAGE . Doyouwanttoformat ) ) ;
return ;
}
if ( strcmp ( name , " Doyoureallywanttodelete " ) = = 0 ) {
strcopy ( LANGUAGE . Doyoureallywanttodelete , val , sizeof ( LANGUAGE . Doyoureallywanttodelete ) ) ;
return ;
}
if ( strcmp ( name , " Doyouwanttoretryfor30secs " ) = = 0 ) {
strcopy ( LANGUAGE . Doyouwanttoretryfor30secs , val , sizeof ( LANGUAGE . Doyouwanttoretryfor30secs ) ) ;
return ;
}
2009-06-06 19:26:52 +02:00
if ( strcmp ( name , " Doyouwanttochangelanguage " ) = = 0 ) {
strcopy ( LANGUAGE . Doyouwanttochangelanguage , val , sizeof ( LANGUAGE . Doyouwanttochangelanguage ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " Downloadingfile " ) = = 0 ) {
strcopy ( LANGUAGE . Downloadingfile , val , sizeof ( LANGUAGE . Downloadingfile ) ) ;
return ;
}
if ( strcmp ( name , " DownloadBoxartimage " ) = = 0 ) {
strcopy ( LANGUAGE . DownloadBoxartimage , val , sizeof ( LANGUAGE . DownloadBoxartimage ) ) ;
return ;
}
if ( strcmp ( name , " Downloadfinished " ) = = 0 ) {
strcopy ( LANGUAGE . Downloadfinished , val , sizeof ( LANGUAGE . Downloadfinished ) ) ;
return ;
}
2009-05-24 00:23:24 +02:00
if ( strcmp ( name , " Defaultgamesettings " ) = = 0 ) {
strcopy ( LANGUAGE . Defaultgamesettings , val , sizeof ( LANGUAGE . Defaultgamesettings ) ) ;
return ;
}
if ( strcmp ( name , " Defaultsettings " ) = = 0 ) {
strcopy ( LANGUAGE . Defaultsettings , val , sizeof ( LANGUAGE . Defaultsettings ) ) ;
return ;
}
2009-06-06 19:26:52 +02:00
if ( strcmp ( name , " Default " ) = = 0 ) {
strcopy ( LANGUAGE . Default , val , sizeof ( LANGUAGE . Default ) ) ;
return ;
}
2009-06-08 23:40:34 +02:00
if ( strcmp ( name , " diversepatches " ) = = 0 ) {
strcopy ( LANGUAGE . diversepatches , val , sizeof ( LANGUAGE . diversepatches ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " Error " ) = = 0 ) {
strcopy ( LANGUAGE . Error , val , sizeof ( LANGUAGE . Error ) ) ;
return ;
}
2009-06-12 22:11:59 +02:00
if ( strcmp ( name , " Error002fix " ) = = 0 ) {
strcopy ( LANGUAGE . Error002fix , val , sizeof ( LANGUAGE . Error002fix ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " BOOTERROR " ) = = 0 ) {
strcopy ( LANGUAGE . BOOTERROR , val , sizeof ( LANGUAGE . BOOTERROR ) ) ;
return ;
}
if ( strcmp ( name , " ErrorreadingDisc " ) = = 0 ) {
strcopy ( LANGUAGE . ErrorreadingDisc , val , sizeof ( LANGUAGE . ErrorreadingDisc ) ) ;
return ;
}
if ( strcmp ( name , " ExitUSBISOLoader " ) = = 0 ) {
strcopy ( LANGUAGE . ExitUSBISOLoader , val , sizeof ( LANGUAGE . ExitUSBISOLoader ) ) ;
return ;
}
2009-06-14 20:42:26 +02:00
if ( strcmp ( name , " Everyone " ) = = 0 ) {
strcopy ( LANGUAGE . Everyone , val , sizeof ( LANGUAGE . Everyone ) ) ;
return ;
}
2009-05-21 06:00:16 +02:00
if ( strcmp ( name , " fave " ) = = 0 ) {
strcopy ( LANGUAGE . fave , val , sizeof ( LANGUAGE . fave ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " InitializingNetwork " ) = = 0 ) {
strcopy ( LANGUAGE . InitializingNetwork , val , sizeof ( LANGUAGE . InitializingNetwork ) ) ;
return ;
}
if ( strcmp ( name , " InsertDisk " ) = = 0 ) {
strcopy ( LANGUAGE . InsertDisk , val , sizeof ( LANGUAGE . InsertDisk ) ) ;
return ;
}
if ( strcmp ( name , " InsertaWiiDisc " ) = = 0 ) {
strcopy ( LANGUAGE . InsertaWiiDisc , val , sizeof ( LANGUAGE . InsertaWiiDisc ) ) ;
return ;
}
if ( strcmp ( name , " InsertaSDCardtodownloadimages " ) = = 0 ) {
strcopy ( LANGUAGE . InsertaSDCardtodownloadimages , val , sizeof ( LANGUAGE . InsertaSDCardtodownloadimages ) ) ;
return ;
}
2009-05-20 15:14:52 +02:00
if ( strcmp ( name , " InsertaSDCardtousethatoption " ) = = 0 ) {
strcopy ( LANGUAGE . InsertaSDCardtousethatoption , val , sizeof ( LANGUAGE . InsertaSDCardtousethatoption ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " InsertaSDCardtosave " ) = = 0 ) {
strcopy ( LANGUAGE . InsertaSDCardtosave , val , sizeof ( LANGUAGE . InsertaSDCardtosave ) ) ;
return ;
}
if ( strcmp ( name , " InstallRenameandDeleteareunlocked " ) = = 0 ) {
strcopy ( LANGUAGE . InstallRenameandDeleteareunlocked , val , sizeof ( LANGUAGE . InstallRenameandDeleteareunlocked ) ) ;
return ;
}
if ( strcmp ( name , " Installerror " ) = = 0 ) {
strcopy ( LANGUAGE . Installerror , val , sizeof ( LANGUAGE . Installerror ) ) ;
return ;
}
if ( strcmp ( name , " Installagame " ) = = 0 ) {
strcopy ( LANGUAGE . Installagame , val , sizeof ( LANGUAGE . Installagame ) ) ;
return ;
}
if ( strcmp ( name , " Installinggame " ) = = 0 ) {
strcopy ( LANGUAGE . Installinggame , val , sizeof ( LANGUAGE . Installinggame ) ) ;
return ;
}
if ( strcmp ( name , " Failedtoboot " ) = = 0 ) {
strcopy ( LANGUAGE . Failedtoboot , val , sizeof ( LANGUAGE . Failedtoboot ) ) ;
return ;
}
if ( strcmp ( name , " FailedtomountfrontSDcard " ) = = 0 ) {
strcopy ( LANGUAGE . FailedtomountfrontSDcard , val , sizeof ( LANGUAGE . FailedtomountfrontSDcard ) ) ;
return ;
}
if ( strcmp ( name , " FailedtosetUSB " ) = = 0 ) {
strcopy ( LANGUAGE . FailedtosetUSB , val , sizeof ( LANGUAGE . FailedtosetUSB ) ) ;
return ;
}
if ( strcmp ( name , " Failedformating " ) = = 0 ) {
strcopy ( LANGUAGE . Failedformating , val , sizeof ( LANGUAGE . Failedformating ) ) ;
return ;
}
if ( strcmp ( name , " filesnotfoundontheserver " ) = = 0 ) {
strcopy ( LANGUAGE . filesnotfoundontheserver , val , sizeof ( LANGUAGE . filesnotfoundontheserver ) ) ;
return ;
}
2009-05-17 10:40:47 +02:00
if ( strcmp ( name , " Filenotfound " ) = = 0 ) {
strcopy ( LANGUAGE . Filenotfound , val , sizeof ( LANGUAGE . Filenotfound ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " filesleft " ) = = 0 ) {
strcopy ( LANGUAGE . filesleft , val , sizeof ( LANGUAGE . filesleft ) ) ;
return ;
}
if ( strcmp ( name , " FlipX " ) = = 0 ) {
strcopy ( LANGUAGE . FlipX , val , sizeof ( LANGUAGE . FlipX ) ) ;
return ;
}
2009-05-16 23:04:43 +02:00
if ( strcmp ( name , " For " ) = = 0 ) {
2009-05-16 17:38:52 +02:00
strcopy ( LANGUAGE . For , val , sizeof ( LANGUAGE . For ) ) ;
return ;
}
if ( strcmp ( name , " Force " ) = = 0 ) {
strcopy ( LANGUAGE . Force , val , sizeof ( LANGUAGE . Force ) ) ;
return ;
}
2009-05-20 10:31:47 +02:00
if ( strcmp ( name , " hour " ) = = 0 ) {
strcopy ( LANGUAGE . hour , val , sizeof ( LANGUAGE . hour ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " Youneedtoformatapartition " ) = = 0 ) {
strcopy ( LANGUAGE . Youneedtoformatapartition , val , sizeof ( LANGUAGE . Youneedtoformatapartition ) ) ;
return ;
}
if ( strcmp ( name , " Format " ) = = 0 ) {
strcopy ( LANGUAGE . Format , val , sizeof ( LANGUAGE . Format ) ) ;
return ;
}
if ( strcmp ( name , " Formattingpleasewait " ) = = 0 ) {
strcopy ( LANGUAGE . Formattingpleasewait , val , sizeof ( LANGUAGE . Formattingpleasewait ) ) ;
return ;
}
if ( strcmp ( name , " formated " ) = = 0 ) {
strcopy ( LANGUAGE . formated , val , sizeof ( LANGUAGE . formated ) ) ;
return ;
}
2009-06-08 23:40:34 +02:00
if ( strcmp ( name , " Forhostingcovers " ) = = 0 ) {
strcopy ( LANGUAGE . Forhostingcovers , val , sizeof ( LANGUAGE . Forhostingcovers ) ) ;
return ;
}
if ( strcmp ( name , " Forhostingupdatefiles " ) = = 0 ) {
strcopy ( LANGUAGE . Forhostingupdatefiles , val , sizeof ( LANGUAGE . Forhostingupdatefiles ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " free " ) = = 0 ) {
strcopy ( LANGUAGE . free , val , sizeof ( LANGUAGE . free ) ) ;
return ;
}
if ( strcmp ( name , " FreeSpace " ) = = 0 ) {
strcopy ( LANGUAGE . FreeSpace , val , sizeof ( LANGUAGE . FreeSpace ) ) ;
return ;
}
if ( strcmp ( name , " FullShutdown " ) = = 0 ) {
strcopy ( LANGUAGE . FullShutdown , val , sizeof ( LANGUAGE . FullShutdown ) ) ;
return ;
}
if ( strcmp ( name , " GameID " ) = = 0 ) {
strcopy ( LANGUAGE . GameID , val , sizeof ( LANGUAGE . GameID ) ) ;
return ;
}
if ( strcmp ( name , " Games " ) = = 0 ) {
strcopy ( LANGUAGE . Games , val , sizeof ( LANGUAGE . Games ) ) ;
return ;
}
if ( strcmp ( name , " Gameisalreadyinstalled " ) = = 0 ) {
strcopy ( LANGUAGE . Gameisalreadyinstalled , val , sizeof ( LANGUAGE . Gameisalreadyinstalled ) ) ;
return ;
}
if ( strcmp ( name , " GameRegion " ) = = 0 ) {
strcopy ( LANGUAGE . GameRegion , val , sizeof ( LANGUAGE . GameRegion ) ) ;
return ;
}
if ( strcmp ( name , " GameSize " ) = = 0 ) {
strcopy ( LANGUAGE . GameSize , val , sizeof ( LANGUAGE . GameSize ) ) ;
return ;
}
if ( strcmp ( name , " GoBack " ) = = 0 ) {
strcopy ( LANGUAGE . GoBack , val , sizeof ( LANGUAGE . GoBack ) ) ;
return ;
}
2009-06-06 19:26:52 +02:00
if ( strcmp ( name , " GUISettings " ) = = 0 ) {
strcopy ( LANGUAGE . GUISettings , val , sizeof ( LANGUAGE . GUISettings ) ) ;
return ;
}
if ( strcmp ( name , " Gameload " ) = = 0 ) {
strcopy ( LANGUAGE . Gameload , val , sizeof ( LANGUAGE . Gameload ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " GotoPage " ) = = 0 ) {
strcopy ( LANGUAGE . GotoPage , val , sizeof ( LANGUAGE . GotoPage ) ) ;
return ;
}
2009-05-21 20:13:37 +02:00
if ( strcmp ( name , " Homemenu " ) = = 0 ) {
strcopy ( LANGUAGE . Homemenu , val , sizeof ( LANGUAGE . Homemenu ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " HowtoShutdown " ) = = 0 ) {
strcopy ( LANGUAGE . HowtoShutdown , val , sizeof ( LANGUAGE . HowtoShutdown ) ) ;
return ;
}
2009-05-17 19:40:19 +02:00
if ( strcmp ( name , " Keyboard " ) = = 0 ) {
strcopy ( LANGUAGE . keyboard , val , sizeof ( LANGUAGE . keyboard ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " Language " ) = = 0 ) {
strcopy ( LANGUAGE . Language , val , sizeof ( LANGUAGE . Language ) ) ;
return ;
}
2009-06-06 19:26:52 +02:00
if ( strcmp ( name , " Languagepathchanged " ) = = 0 ) {
strcopy ( LANGUAGE . Languagepathchanged , val , sizeof ( LANGUAGE . Languagepathchanged ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " Langchange " ) = = 0 ) {
strcopy ( LANGUAGE . Langchange , val , sizeof ( LANGUAGE . Langchange ) ) ;
return ;
}
if ( strcmp ( name , " Left " ) = = 0 ) {
strcopy ( LANGUAGE . Left , val , sizeof ( LANGUAGE . Left ) ) ;
return ;
}
if ( strcmp ( name , " LikeSysMenu " ) = = 0 ) {
strcopy ( LANGUAGE . LikeSysMenu , val , sizeof ( LANGUAGE . LikeSysMenu ) ) ;
return ;
}
2009-05-21 06:00:16 +02:00
if ( strcmp ( name , " ListSort " ) = = 0 ) {
strcopy ( LANGUAGE . ListSort , val , sizeof ( LANGUAGE . ListSort ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " LoadingincIOS " ) = = 0 ) {
strcopy ( LANGUAGE . LoadingincIOS , val , sizeof ( LANGUAGE . LoadingincIOS ) ) ;
return ;
}
2009-05-17 10:40:47 +02:00
if ( strcmp ( name , " Loadingstandardlanguage " ) = = 0 ) {
strcopy ( LANGUAGE . Loadingstandardlanguage , val , sizeof ( LANGUAGE . Loadingstandardlanguage ) ) ;
return ;
}
2009-05-20 02:03:43 +02:00
if ( strcmp ( name , " Loadingstandardmusic " ) = = 0 ) {
strcopy ( LANGUAGE . Loadingstandardmusic , val , sizeof ( LANGUAGE . Loadingstandardmusic ) ) ;
return ;
}
2009-06-07 13:03:39 +02:00
if ( strcmp ( name , " Locked " ) = = 0 ) {
strcopy ( LANGUAGE . Locked , val , sizeof ( LANGUAGE . Locked ) ) ;
2009-05-16 17:38:52 +02:00
return ;
}
if ( strcmp ( name , " LockConsole " ) = = 0 ) {
strcopy ( LANGUAGE . LockConsole , val , sizeof ( LANGUAGE . LockConsole ) ) ;
return ;
}
2009-05-30 18:58:34 +02:00
if ( strcmp ( name , " Patchcountrystrings " ) = = 0 ) {
strcopy ( LANGUAGE . Patchcountrystrings , val , sizeof ( LANGUAGE . Patchcountrystrings ) ) ;
2009-05-16 17:38:52 +02:00
return ;
}
if ( strcmp ( name , " Missingfiles " ) = = 0 ) {
strcopy ( LANGUAGE . Missingfiles , val , sizeof ( LANGUAGE . Missingfiles ) ) ;
return ;
}
2009-06-07 13:03:39 +02:00
if ( strcmp ( name , " Mature " ) = = 0 ) {
strcopy ( LANGUAGE . Mature , val , sizeof ( LANGUAGE . Mature ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " Networkiniterror " ) = = 0 ) {
strcopy ( LANGUAGE . Networkiniterror , val , sizeof ( LANGUAGE . Networkiniterror ) ) ;
return ;
}
if ( strcmp ( name , " Neither " ) = = 0 ) {
strcopy ( LANGUAGE . Neither , val , sizeof ( LANGUAGE . Neither ) ) ;
return ;
}
if ( strcmp ( name , " Next " ) = = 0 ) {
strcopy ( LANGUAGE . Next , val , sizeof ( LANGUAGE . Next ) ) ;
return ;
}
if ( strcmp ( name , " No " ) = = 0 ) {
strcopy ( LANGUAGE . No , val , sizeof ( LANGUAGE . No ) ) ;
return ;
}
if ( strcmp ( name , " Nofilemissing " ) = = 0 ) {
strcopy ( LANGUAGE . Nofilemissing , val , sizeof ( LANGUAGE . Nofilemissing ) ) ;
return ;
}
if ( strcmp ( name , " NoHDDfound " ) = = 0 ) {
strcopy ( LANGUAGE . NoHDDfound , val , sizeof ( LANGUAGE . NoHDDfound ) ) ;
return ;
}
if ( strcmp ( name , " NoSDcardinserted " ) = = 0 ) {
strcopy ( LANGUAGE . NoSDcardinserted , val , sizeof ( LANGUAGE . NoSDcardinserted ) ) ;
return ;
}
if ( strcmp ( name , " Nopartitionsfound " ) = = 0 ) {
strcopy ( LANGUAGE . Nopartitionsfound , val , sizeof ( LANGUAGE . Nopartitionsfound ) ) ;
return ;
}
if ( strcmp ( name , " NoUSBDevice " ) = = 0 ) {
strcopy ( LANGUAGE . NoUSBDevice , val , sizeof ( LANGUAGE . NoUSBDevice ) ) ;
return ;
}
if ( strcmp ( name , " NoWBFSpartitionfound " ) = = 0 ) {
strcopy ( LANGUAGE . NoWBFSpartitionfound , val , sizeof ( LANGUAGE . NoWBFSpartitionfound ) ) ;
return ;
}
if ( strcmp ( name , " NormalCovers " ) = = 0 ) {
strcopy ( LANGUAGE . NormalCovers , val , sizeof ( LANGUAGE . NormalCovers ) ) ;
return ;
}
if ( strcmp ( name , " Normal " ) = = 0 ) {
strcopy ( LANGUAGE . Normal , val , sizeof ( LANGUAGE . Normal ) ) ;
return ;
}
if ( strcmp ( name , " NotaWiiDisc " ) = = 0 ) {
strcopy ( LANGUAGE . NotaWiiDisc , val , sizeof ( LANGUAGE . NotaWiiDisc ) ) ;
return ;
}
if ( strcmp ( name , " NoUSBDevicefound " ) = = 0 ) {
strcopy ( LANGUAGE . NoUSBDevicefound , val , sizeof ( LANGUAGE . NoUSBDevicefound ) ) ;
return ;
}
if ( strcmp ( name , " Notenoughfreespace " ) = = 0 ) {
strcopy ( LANGUAGE . Notenoughfreespace , val , sizeof ( LANGUAGE . Notenoughfreespace ) ) ;
return ;
}
2009-05-20 02:03:43 +02:00
if ( strcmp ( name , " Notasupportedformat " ) = = 0 ) {
strcopy ( LANGUAGE . Notasupportedformat , val , sizeof ( LANGUAGE . Notasupportedformat ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " notset " ) = = 0 ) {
strcopy ( LANGUAGE . notset , val , sizeof ( LANGUAGE . notset ) ) ;
return ;
}
if ( strcmp ( name , " of " ) = = 0 ) {
strcopy ( LANGUAGE . of , val , sizeof ( LANGUAGE . of ) ) ;
return ;
}
if ( strcmp ( name , " OFF " ) = = 0 ) {
strcopy ( LANGUAGE . OFF , val , sizeof ( LANGUAGE . OFF ) ) ;
return ;
}
if ( strcmp ( name , " OfficialSite " ) = = 0 ) {
strcopy ( LANGUAGE . OfficialSite , val , sizeof ( LANGUAGE . OfficialSite ) ) ;
return ;
}
2009-05-24 00:23:24 +02:00
if ( strcmp ( name , " OnlyInstall " ) = = 0 ) {
strcopy ( LANGUAGE . OnlyInstall , val , sizeof ( LANGUAGE . OnlyInstall ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " ON " ) = = 0 ) {
strcopy ( LANGUAGE . ON , val , sizeof ( LANGUAGE . ON ) ) ;
return ;
}
if ( strcmp ( name , " Parentalcontrol " ) = = 0 ) {
strcopy ( LANGUAGE . Parentalcontrol , val , sizeof ( LANGUAGE . Parentalcontrol ) ) ;
return ;
}
if ( strcmp ( name , " Partition " ) = = 0 ) {
strcopy ( LANGUAGE . Partition , val , sizeof ( LANGUAGE . Partition ) ) ;
return ;
}
if ( strcmp ( name , " Password " ) = = 0 ) {
strcopy ( LANGUAGE . Password , val , sizeof ( LANGUAGE . Password ) ) ;
return ;
}
if ( strcmp ( name , " PasswordChanged " ) = = 0 ) {
strcopy ( LANGUAGE . PasswordChanged , val , sizeof ( LANGUAGE . PasswordChanged ) ) ;
return ;
}
if ( strcmp ( name , " Passwordhasbeenchanged " ) = = 0 ) {
strcopy ( LANGUAGE . Passwordhasbeenchanged , val , sizeof ( LANGUAGE . Passwordhasbeenchanged ) ) ;
return ;
}
if ( strcmp ( name , " Passwordchange " ) = = 0 ) {
strcopy ( LANGUAGE . Passwordchange , val , sizeof ( LANGUAGE . Passwordchange ) ) ;
return ;
}
2009-06-16 15:42:52 +02:00
if ( strcmp ( name , " Plays " ) = = 0 ) {
strcopy ( LANGUAGE . Plays , val , sizeof ( LANGUAGE . Plays ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " PowerofftheWii " ) = = 0 ) {
strcopy ( LANGUAGE . PowerofftheWii , val , sizeof ( LANGUAGE . PowerofftheWii ) ) ;
return ;
}
if ( strcmp ( name , " Prev " ) = = 0 ) {
strcopy ( LANGUAGE . Prev , val , sizeof ( LANGUAGE . Prev ) ) ;
return ;
}
if ( strcmp ( name , " PromptsButtons " ) = = 0 ) {
strcopy ( LANGUAGE . PromptsButtons , val , sizeof ( LANGUAGE . PromptsButtons ) ) ;
return ;
}
if ( strcmp ( name , " ReloadSD " ) = = 0 ) {
strcopy ( LANGUAGE . ReloadSD , val , sizeof ( LANGUAGE . ReloadSD ) ) ;
return ;
}
if ( strcmp ( name , " RenameGameonWBFS " ) = = 0 ) {
strcopy ( LANGUAGE . RenameGameonWBFS , val , sizeof ( LANGUAGE . RenameGameonWBFS ) ) ;
return ;
}
if ( strcmp ( name , " Restart " ) = = 0 ) {
strcopy ( LANGUAGE . Restart , val , sizeof ( LANGUAGE . Restart ) ) ;
return ;
}
if ( strcmp ( name , " Return " ) = = 0 ) {
strcopy ( LANGUAGE . Return , val , sizeof ( LANGUAGE . Return ) ) ;
return ;
}
if ( strcmp ( name , " ReturntoWiiMenu " ) = = 0 ) {
strcopy ( LANGUAGE . ReturntoWiiMenu , val , sizeof ( LANGUAGE . ReturntoWiiMenu ) ) ;
return ;
}
if ( strcmp ( name , " Right " ) = = 0 ) {
strcopy ( LANGUAGE . Right , val , sizeof ( LANGUAGE . Right ) ) ;
return ;
}
if ( strcmp ( name , " Rumble " ) = = 0 ) {
strcopy ( LANGUAGE . Rumble , val , sizeof ( LANGUAGE . Rumble ) ) ;
return ;
}
if ( strcmp ( name , " QuickBoot " ) = = 0 ) {
strcopy ( LANGUAGE . QuickBoot , val , sizeof ( LANGUAGE . QuickBoot ) ) ;
return ;
}
if ( strcmp ( name , " Save " ) = = 0 ) {
strcopy ( LANGUAGE . Save , val , sizeof ( LANGUAGE . Save ) ) ;
return ;
}
if ( strcmp ( name , " SaveFailed " ) = = 0 ) {
strcopy ( LANGUAGE . SaveFailed , val , sizeof ( LANGUAGE . SaveFailed ) ) ;
return ;
}
2009-05-16 23:04:43 +02:00
if ( strcmp ( name , " theUSBLoaderandreleasingthesourcecodethe " ) = = 0 ) {
2009-05-16 17:38:52 +02:00
strcopy ( LANGUAGE . theUSBLoaderandreleasingthesourcecode , val , sizeof ( LANGUAGE . theUSBLoaderandreleasingthesourcecode ) ) ;
return ;
}
if ( strcmp ( name , " secondsleft " ) = = 0 ) {
strcopy ( LANGUAGE . secondsleft , val , sizeof ( LANGUAGE . secondsleft ) ) ;
return ;
}
if ( strcmp ( name , " SelectthePartition " ) = = 0 ) {
strcopy ( LANGUAGE . SelectthePartition , val , sizeof ( LANGUAGE . SelectthePartition ) ) ;
return ;
}
if ( strcmp ( name , " youwanttoformat " ) = = 0 ) {
strcopy ( LANGUAGE . youwanttoformat , val , sizeof ( LANGUAGE . youwanttoformat ) ) ;
return ;
}
if ( strcmp ( name , " settings " ) = = 0 ) {
strcopy ( LANGUAGE . settings , val , sizeof ( LANGUAGE . settings ) ) ;
return ;
}
2009-05-20 02:03:43 +02:00
if ( strcmp ( name , " Setasbackgroundmusic " ) = = 0 ) {
strcopy ( LANGUAGE . Setasbackgroundmusic , val , sizeof ( LANGUAGE . Setasbackgroundmusic ) ) ;
return ;
}
2009-06-06 19:26:52 +02:00
if ( strcmp ( name , " Sound " ) = = 0 ) {
strcopy ( LANGUAGE . Sound , val , sizeof ( LANGUAGE . Sound ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " ShutdowntoIdle " ) = = 0 ) {
strcopy ( LANGUAGE . ShutdowntoIdle , val , sizeof ( LANGUAGE . ShutdowntoIdle ) ) ;
return ;
}
if ( strcmp ( name , " ShutdownSystem " ) = = 0 ) {
strcopy ( LANGUAGE . ShutdownSystem , val , sizeof ( LANGUAGE . ShutdownSystem ) ) ;
return ;
}
2009-05-20 02:03:43 +02:00
if ( strcmp ( name , " Standard " ) = = 0 ) {
strcopy ( LANGUAGE . Standard , val , sizeof ( LANGUAGE . Standard ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " Success " ) = = 0 ) {
strcopy ( LANGUAGE . Success , val , sizeof ( LANGUAGE . Success ) ) ;
return ;
}
if ( strcmp ( name , " Successfullyinstalled " ) = = 0 ) {
strcopy ( LANGUAGE . Successfullyinstalled , val , sizeof ( LANGUAGE . Successfullyinstalled ) ) ;
return ;
}
if ( strcmp ( name , " Successfullydeleted " ) = = 0 ) {
strcopy ( LANGUAGE . Successfullydeleted , val , sizeof ( LANGUAGE . Successfullydeleted ) ) ;
return ;
}
if ( strcmp ( name , " SuccessfullySaved " ) = = 0 ) {
strcopy ( LANGUAGE . SuccessfullySaved , val , sizeof ( LANGUAGE . SuccessfullySaved ) ) ;
return ;
}
if ( strcmp ( name , " SystemDefault " ) = = 0 ) {
strcopy ( LANGUAGE . SystemDefault , val , sizeof ( LANGUAGE . SystemDefault ) ) ;
return ;
}
2009-06-08 23:40:34 +02:00
if ( strcmp ( name , " Thanksto " ) = = 0 ) {
strcopy ( LANGUAGE . Thanksto , val , sizeof ( LANGUAGE . Thanksto ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " ThemePath " ) = = 0 ) {
strcopy ( LANGUAGE . ThemePath , val , sizeof ( LANGUAGE . ThemePath ) ) ;
return ;
}
if ( strcmp ( name , " ThemepathChanged " ) = = 0 ) {
strcopy ( LANGUAGE . ThemepathChanged , val , sizeof ( LANGUAGE . ThemepathChanged ) ) ;
return ;
}
if ( strcmp ( name , " Themepathchange " ) = = 0 ) {
strcopy ( LANGUAGE . Themepathchange , val , sizeof ( LANGUAGE . Themepathchange ) ) ;
return ;
}
2009-05-17 10:40:47 +02:00
if ( strcmp ( name , " Titlestxtpath " ) = = 0 ) {
strcopy ( LANGUAGE . Titlestxtpath , val , sizeof ( LANGUAGE . Titlestxtpath ) ) ;
return ;
}
if ( strcmp ( name , " Titlestxtpathchange " ) = = 0 ) {
strcopy ( LANGUAGE . Titlestxtpathchange , val , sizeof ( LANGUAGE . Titlestxtpathchange ) ) ;
return ;
}
if ( strcmp ( name , " TitlestxtpathChanged " ) = = 0 ) {
strcopy ( LANGUAGE . TitlestxtpathChanged , val , sizeof ( LANGUAGE . TitlestxtpathChanged ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " Try " ) = = 0 ) {
strcopy ( LANGUAGE . Try , val , sizeof ( LANGUAGE . Try ) ) ;
return ;
}
if ( strcmp ( name , " Tooltips " ) = = 0 ) {
strcopy ( LANGUAGE . Tooltips , val , sizeof ( LANGUAGE . Tooltips ) ) ;
return ;
}
if ( strcmp ( name , " Timeleft " ) = = 0 ) {
strcopy ( LANGUAGE . Timeleft , val , sizeof ( LANGUAGE . Timeleft ) ) ;
return ;
}
2009-06-07 13:03:39 +02:00
if ( strcmp ( name , " Unlocked " ) = = 0 ) {
strcopy ( LANGUAGE . Unlocked , val , sizeof ( LANGUAGE . Unlocked ) ) ;
2009-05-16 17:38:52 +02:00
return ;
}
2009-06-06 19:26:52 +02:00
if ( strcmp ( name , " UnlockConsoletousethisOption " ) = = 0 ) {
strcopy ( LANGUAGE . UnlockConsoletousethisOption , val , sizeof ( LANGUAGE . UnlockConsoletousethisOption ) ) ;
return ;
}
2009-05-17 10:40:47 +02:00
if ( strcmp ( name , " Unicodefix " ) = = 0 ) {
strcopy ( LANGUAGE . Unicodefix , val , sizeof ( LANGUAGE . Unicodefix ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " Uninstall " ) = = 0 ) {
strcopy ( LANGUAGE . Uninstall , val , sizeof ( LANGUAGE . Uninstall ) ) ;
return ;
}
2009-05-28 14:12:52 +02:00
if ( strcmp ( name , " Updatepath " ) = = 0 ) {
strcopy ( LANGUAGE . Updatepath , val , sizeof ( LANGUAGE . Updatepath ) ) ;
return ;
}
if ( strcmp ( name , " Updatepathchanged " ) = = 0 ) {
strcopy ( LANGUAGE . Updatepathchanged , val , sizeof ( LANGUAGE . Updatepathchanged ) ) ;
return ;
}
2009-05-30 00:14:19 +02:00
if ( strcmp ( name , " CheckingforUpdates " ) = = 0 ) {
strcopy ( LANGUAGE . CheckingforUpdates , val , sizeof ( LANGUAGE . CheckingforUpdates ) ) ;
return ;
}
2009-05-28 14:12:52 +02:00
if ( strcmp ( name , " Updatefailed " ) = = 0 ) {
strcopy ( LANGUAGE . Updatefailed , val , sizeof ( LANGUAGE . Updatefailed ) ) ;
return ;
}
2009-05-29 18:23:58 +02:00
if ( strcmp ( name , " Updatedol " ) = = 0 ) {
strcopy ( LANGUAGE . Updatedol , val , sizeof ( LANGUAGE . Updatedol ) ) ;
return ;
}
if ( strcmp ( name , " Updateall " ) = = 0 ) {
strcopy ( LANGUAGE . Updateall , val , sizeof ( LANGUAGE . Updateall ) ) ;
return ;
}
2009-06-02 08:55:21 +02:00
if ( strcmp ( name , " Updateto " ) = = 0 ) {
strcopy ( LANGUAGE . Updateto , val , sizeof ( LANGUAGE . Updateto ) ) ;
return ;
}
2009-06-06 19:26:52 +02:00
if ( strcmp ( name , " Update " ) = = 0 ) {
strcopy ( LANGUAGE . Update , val , sizeof ( LANGUAGE . Update ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " USBLoaderisprotected " ) = = 0 ) {
strcopy ( LANGUAGE . USBLoaderisprotected , val , sizeof ( LANGUAGE . USBLoaderisprotected ) ) ;
return ;
}
if ( strcmp ( name , " USBDevicenotfound " ) = = 0 ) {
strcopy ( LANGUAGE . USBDevicenotfound , val , sizeof ( LANGUAGE . USBDevicenotfound ) ) ;
return ;
}
if ( strcmp ( name , " VideoMode " ) = = 0 ) {
strcopy ( LANGUAGE . VideoMode , val , sizeof ( LANGUAGE . VideoMode ) ) ;
return ;
}
if ( strcmp ( name , " VIDTVPatch " ) = = 0 ) {
strcopy ( LANGUAGE . VIDTVPatch , val , sizeof ( LANGUAGE . VIDTVPatch ) ) ;
return ;
}
if ( strcmp ( name , " Volume " ) = = 0 ) {
strcopy ( LANGUAGE . Volume , val , sizeof ( LANGUAGE . Volume ) ) ;
return ;
}
2009-06-06 19:26:52 +02:00
if ( strcmp ( name , " SFXVolume " ) = = 0 ) {
strcopy ( LANGUAGE . SFXVolume , val , sizeof ( LANGUAGE . SFXVolume ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " Waiting " ) = = 0 ) {
strcopy ( LANGUAGE . Waiting , val , sizeof ( LANGUAGE . Waiting ) ) ;
return ;
}
if ( strcmp ( name , " WaitingforUSBDevice " ) = = 0 ) {
strcopy ( LANGUAGE . WaitingforUSBDevice , val , sizeof ( LANGUAGE . WaitingforUSBDevice ) ) ;
return ;
}
if ( strcmp ( name , " WidescreenFix " ) = = 0 ) {
strcopy ( LANGUAGE . WidescreenFix , val , sizeof ( LANGUAGE . WidescreenFix ) ) ;
return ;
}
if ( strcmp ( name , " WiiMenu " ) = = 0 ) {
strcopy ( LANGUAGE . WiiMenu , val , sizeof ( LANGUAGE . WiiMenu ) ) ;
return ;
}
2009-05-24 00:23:24 +02:00
if ( strcmp ( name , " Wiilight " ) = = 0 ) {
strcopy ( LANGUAGE . Wiilight , val , sizeof ( LANGUAGE . Wiilight ) ) ;
return ;
}
2009-05-16 17:38:52 +02:00
if ( strcmp ( name , " WrongPassword " ) = = 0 ) {
strcopy ( LANGUAGE . WrongPassword , val , sizeof ( LANGUAGE . WrongPassword ) ) ;
return ;
}
if ( strcmp ( name , " Yes " ) = = 0 ) {
strcopy ( LANGUAGE . Yes , val , sizeof ( LANGUAGE . Yes ) ) ;
return ;
}
if ( strcmp ( name , " YoudonthavecIOS " ) = = 0 ) {
strcopy ( LANGUAGE . YoudonthavecIOS , val , sizeof ( LANGUAGE . YoudonthavecIOS ) ) ;
return ;
}
if ( strcmp ( name , " Japanese " ) = = 0 ) {
strcopy ( LANGUAGE . Japanese , val , sizeof ( LANGUAGE . Japanese ) ) ;
return ;
}
if ( strcmp ( name , " German " ) = = 0 ) {
strcopy ( LANGUAGE . German , val , sizeof ( LANGUAGE . German ) ) ;
return ;
}
if ( strcmp ( name , " English " ) = = 0 ) {
strcopy ( LANGUAGE . English , val , sizeof ( LANGUAGE . English ) ) ;
return ;
}
if ( strcmp ( name , " French " ) = = 0 ) {
strcopy ( LANGUAGE . French , val , sizeof ( LANGUAGE . French ) ) ;
return ;
}
if ( strcmp ( name , " Spanish " ) = = 0 ) {
strcopy ( LANGUAGE . Spanish , val , sizeof ( LANGUAGE . Spanish ) ) ;
return ;
}
if ( strcmp ( name , " Italian " ) = = 0 ) {
strcopy ( LANGUAGE . Italian , val , sizeof ( LANGUAGE . Italian ) ) ;
return ;
}
if ( strcmp ( name , " Dutch " ) = = 0 ) {
strcopy ( LANGUAGE . Dutch , val , sizeof ( LANGUAGE . Dutch ) ) ;
return ;
}
if ( strcmp ( name , " SChinese " ) = = 0 ) {
strcopy ( LANGUAGE . SChinese , val , sizeof ( LANGUAGE . SChinese ) ) ;
return ;
}
if ( strcmp ( name , " TChinese " ) = = 0 ) {
strcopy ( LANGUAGE . TChinese , val , sizeof ( LANGUAGE . TChinese ) ) ;
return ;
}
if ( strcmp ( name , " Korean " ) = = 0 ) {
strcopy ( LANGUAGE . Korean , val , sizeof ( LANGUAGE . Korean ) ) ;
return ;
}
2009-05-28 18:30:01 +02:00
if ( strcmp ( name , " Successfullyupdated " ) = = 0 ) {
strcopy ( LANGUAGE . Successfullyupdated , val , sizeof ( LANGUAGE . Successfullyupdated ) ) ;
return ;
}
if ( strcmp ( name , " Nonewupdates " ) = = 0 ) {
strcopy ( LANGUAGE . Nonewupdates , val , sizeof ( LANGUAGE . Nonewupdates ) ) ;
return ;
}
if ( strcmp ( name , " Restarting " ) = = 0 ) {
strcopy ( LANGUAGE . Restarting , val , sizeof ( LANGUAGE . Restarting ) ) ;
return ;
}
if ( strcmp ( name , " available " ) = = 0 ) {
strcopy ( LANGUAGE . available , val , sizeof ( LANGUAGE . available ) ) ;
return ;
}
if ( strcmp ( name , " Doyouwanttoupdate " ) = = 0 ) {
strcopy ( LANGUAGE . Doyouwanttoupdate , val , sizeof ( LANGUAGE . Doyouwanttoupdate ) ) ;
return ;
}
if ( strcmp ( name , " updating " ) = = 0 ) {
strcopy ( LANGUAGE . updating , val , sizeof ( LANGUAGE . updating ) ) ;
return ;
}
2009-06-12 22:11:59 +02:00
if ( strcmp ( name , " XMLTitles " ) = = 0 ) {
strcopy ( LANGUAGE . XMLTitles , val , sizeof ( LANGUAGE . XMLTitles ) ) ;
return ;
}
2009-05-29 18:23:58 +02:00
2009-05-16 23:04:43 +02:00
2009-05-16 17:38:52 +02:00
}