mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-12-19 08:21:54 +01:00
Added support for language files. Still as some bugs and maybe a few typos. DON"T MAKE ISSUES OUT OF THEM.
This commit is contained in:
parent
4581890650
commit
5a535a61a6
File diff suppressed because one or more lines are too long
51
source/cfg.c
51
source/cfg.c
@ -6,7 +6,11 @@
|
||||
#include <ctype.h>
|
||||
#include <ogcsys.h>
|
||||
#include "cfg.h"
|
||||
|
||||
#include "language.h"
|
||||
//#include "language.c"
|
||||
extern void language_set();
|
||||
extern void lang_default();
|
||||
extern char* strcopy();
|
||||
struct SSettings Settings;
|
||||
//struct SSettings2 Settings2;
|
||||
|
||||
@ -33,7 +37,6 @@ char current_path[100];
|
||||
|
||||
struct CFG CFG;
|
||||
struct THEME THEME;
|
||||
struct LANGUAGE LANGUAGE;
|
||||
u8 ocarinaChoice = 0;
|
||||
u8 videoChoice = 0;
|
||||
u8 languageChoice = 0;
|
||||
@ -222,7 +225,8 @@ void CFG_Default(int widescreen) // -1 = non forced Mode
|
||||
|
||||
snprintf(CFG.covers_path, sizeof(CFG.covers_path), "SD:/images/"); //default image path
|
||||
snprintf(CFG.disc_path, sizeof(CFG.disc_path), "SD:/images/disc/");//default path for disc images
|
||||
snprintf(CFG.unlockCode, sizeof(CFG.unlockCode), "ab121b"); // default passwore
|
||||
snprintf(CFG.unlockCode, sizeof(CFG.unlockCode), "ab121b"); // default password
|
||||
snprintf(CFG.language_path, sizeof(CFG.language_path), "SD:/config/language.txt");
|
||||
|
||||
CFG.parentalcontrol = 0;
|
||||
CFG.maxcharacters = 38;
|
||||
@ -286,12 +290,7 @@ void CFG_Default(int widescreen) // -1 = non forced Mode
|
||||
}
|
||||
|
||||
|
||||
char* strcopy(char *dest, char *src, int size)
|
||||
{
|
||||
strncpy(dest,src,size);
|
||||
dest[size-1] = 0;
|
||||
return dest;
|
||||
}
|
||||
|
||||
|
||||
char *cfg_get_title(u8 *id)
|
||||
{
|
||||
@ -451,6 +450,7 @@ void cfg_set(char *name, char *val)
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if (CFG.widescreen && strcmp(name, "wtheme_path") == 0) { // if in 16:9
|
||||
strcopy(CFG.theme_path, val, sizeof(CFG.theme_path));
|
||||
return;
|
||||
@ -466,6 +466,11 @@ void cfg_set(char *name, char *val)
|
||||
return;
|
||||
}
|
||||
|
||||
if (strcmp(name, "language_path") == 0) {
|
||||
strcopy(CFG.language_path, val, sizeof(CFG.language_path));
|
||||
return;
|
||||
}
|
||||
|
||||
cfg_int("parentalcontrol", &CFG.parentalcontrol, 4);
|
||||
cfg_bool("godmode", &CFG.godmode);
|
||||
|
||||
@ -473,8 +478,18 @@ void cfg_set(char *name, char *val)
|
||||
strcopy(CFG.unlockCode, val, sizeof(CFG.unlockCode));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/*if (strcmp(name, "lang_path") == 0) {
|
||||
strcopy(, val, sizeof(CFG.unlockCode));
|
||||
return;
|
||||
}*/
|
||||
}
|
||||
|
||||
|
||||
|
||||
void theme_set(char *name, char *val)
|
||||
{
|
||||
cfg_name = name;
|
||||
@ -648,7 +663,10 @@ void theme_set(char *name, char *val)
|
||||
THEME.maxcharacters = x;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
cfg_bool("show_id", &THEME.showID);
|
||||
cfg_bool("show_tooltip", &THEME.showToolTip);
|
||||
cfg_bool("show_hddinfo", &THEME.showHDD);
|
||||
@ -959,6 +977,7 @@ bool cfg_save_global()// save global settings
|
||||
fprintf(f, "theme_path = %s\n ", CFG.theme_path);
|
||||
}
|
||||
fprintf(f, "disc_path = %s\n ", CFG.disc_path);
|
||||
fprintf(f, "language_path = %s\n ", CFG.language_path);
|
||||
if(!strcmp("", Settings.unlockCode)) {
|
||||
fprintf(f, "godmode = %d\n ", CFG.godmode);
|
||||
} else {
|
||||
@ -1143,6 +1162,9 @@ void CFG_Load(int argc, char **argv)
|
||||
|
||||
snprintf(pathname, sizeof(pathname), "%stheme.txt", CFG.theme_path);
|
||||
cfg_parsefile(pathname, &theme_set); //finally set console information
|
||||
|
||||
snprintf(pathname, sizeof(pathname), CFG.language_path);
|
||||
cfg_parsefile(pathname, &language_set);
|
||||
|
||||
// if (!ret)
|
||||
// {
|
||||
@ -1160,8 +1182,8 @@ void CFG_Load(int argc, char **argv)
|
||||
|
||||
// cfg_parsearg(argc, argv);
|
||||
}
|
||||
void CFG_Load1()
|
||||
{
|
||||
void CFG_ReLoad()
|
||||
{
|
||||
char pathname[200];
|
||||
// bool ret = false;
|
||||
|
||||
@ -1177,6 +1199,10 @@ void CFG_Load1()
|
||||
|
||||
snprintf(pathname, sizeof(pathname), "%stheme.txt", CFG.theme_path);
|
||||
cfg_parsefile(pathname, &theme_set); //finally set console information
|
||||
|
||||
snprintf(pathname, sizeof(pathname), "%slanguage.txt",CFG.language_path);
|
||||
cfg_parsefile(pathname, &language_set);
|
||||
|
||||
|
||||
// if (!ret)
|
||||
// {
|
||||
@ -1190,6 +1216,7 @@ void CFG_Load1()
|
||||
|
||||
// load per-game settings
|
||||
cfg_load_games();
|
||||
lang_default();
|
||||
|
||||
|
||||
// cfg_parsearg(argc, argv);
|
||||
|
11
source/cfg.h
11
source/cfg.h
@ -68,11 +68,9 @@ struct CFG
|
||||
char covers_path[100];
|
||||
char theme_path[100];
|
||||
char disc_path[100];
|
||||
char language_path[100];
|
||||
};
|
||||
|
||||
struct LANGUAGE
|
||||
{char Install[20];
|
||||
};
|
||||
|
||||
struct THEME
|
||||
{
|
||||
@ -133,9 +131,11 @@ struct THEME
|
||||
short pagesize;
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
extern struct CFG CFG;
|
||||
extern struct THEME THEME;
|
||||
extern struct LANGUAGE LANGUAGE;
|
||||
extern u8 ocarinaChoice;
|
||||
extern u8 videoChoice;
|
||||
extern u8 languageChoice;
|
||||
@ -160,7 +160,8 @@ struct Game_CFG
|
||||
|
||||
void CFG_Default(int widescreen); // -1 = non forced mode
|
||||
void CFG_Load(int argc, char **argv);
|
||||
void CFG_Load1();
|
||||
void CFG_ReLoad();
|
||||
void lang_defualt();
|
||||
struct Game_CFG* CFG_get_game_opt(u8 *id);
|
||||
bool CFG_save_game_opt(u8 *id);
|
||||
bool CFG_forget_game_opt(u8 *id);
|
||||
|
882
source/language.c
Normal file
882
source/language.c
Normal file
@ -0,0 +1,882 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/stat.h>
|
||||
#include <ctype.h>
|
||||
#include <ogcsys.h>
|
||||
#include "language.h"
|
||||
static char *cfg_name, *cfg_val;
|
||||
|
||||
char* strcopy(char *dest, char *src, int size)
|
||||
{
|
||||
strncpy(dest,src,size);
|
||||
dest[size-1] = 0;
|
||||
return dest;
|
||||
}
|
||||
|
||||
void lang_default()
|
||||
{
|
||||
snprintf(LANGUAGE.ok, sizeof(LANGUAGE.ok), "OK");
|
||||
snprintf(LANGUAGE.AppLanguage, sizeof(LANGUAGE.AppLanguage), "App Language");
|
||||
snprintf(LANGUAGE.t3Covers, sizeof(LANGUAGE.t3Covers), "3D Covers");
|
||||
snprintf(LANGUAGE.Areyousure, sizeof(LANGUAGE.Areyousure), "Are you sure?");
|
||||
snprintf(LANGUAGE.AutoPatch, sizeof(LANGUAGE.AutoPatch), "AutoPatch");
|
||||
snprintf(LANGUAGE.Back, sizeof(LANGUAGE.Back), "Back");
|
||||
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");
|
||||
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");
|
||||
snprintf(LANGUAGE.Cantdelete, sizeof(LANGUAGE.Cantdelete), "Can't delete:");
|
||||
snprintf(LANGUAGE.ClicktoDownloadCovers, sizeof(LANGUAGE.ClicktoDownloadCovers), "Click to Download Covers");
|
||||
snprintf(LANGUAGE.Clock, sizeof(LANGUAGE.Clock), "Clock");
|
||||
snprintf(LANGUAGE.Continueinstallgame, sizeof(LANGUAGE.Continueinstallgame), "Continue to install game?");
|
||||
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");
|
||||
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");
|
||||
snprintf(LANGUAGE.Credits, sizeof(LANGUAGE.Credits), "Credits");
|
||||
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?");
|
||||
snprintf(LANGUAGE.Downloadingfile, sizeof(LANGUAGE.Downloadingfile), "Downloading file:");
|
||||
snprintf(LANGUAGE.DownloadBoxartimage, sizeof(LANGUAGE.DownloadBoxartimage), "Download Boxart image?");
|
||||
snprintf(LANGUAGE.Downloadfinished, sizeof(LANGUAGE.Downloadfinished), "Download finished");
|
||||
snprintf(LANGUAGE.Error, sizeof(LANGUAGE.Error), "Error !");
|
||||
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?");
|
||||
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.");
|
||||
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");
|
||||
snprintf(LANGUAGE.filesnotfoundontheserver, sizeof(LANGUAGE.filesnotfoundontheserver), "files not found on the server!");
|
||||
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");
|
||||
snprintf(LANGUAGE.Formattingpleasewait, sizeof(LANGUAGE.Formattingpleasewait), "Formatting, please wait...");
|
||||
snprintf(LANGUAGE.formated, sizeof(LANGUAGE.formated), "formatted!");
|
||||
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");
|
||||
//snprintf(LANGUAGE.GotoPage, sizeof(LANGUAGE.GotoPage), "Go to Page");
|
||||
snprintf(LANGUAGE.HowtoShutdown, sizeof(LANGUAGE.HowtoShutdown), "How to Shutdown?");
|
||||
snprintf(LANGUAGE.Language, sizeof(LANGUAGE.Language), "Game Language");
|
||||
snprintf(LANGUAGE.Left, sizeof(LANGUAGE.Left), "Left");
|
||||
snprintf(LANGUAGE.LikeSysMenu, sizeof(LANGUAGE.LikeSysMenu), "Like SysMenu");
|
||||
snprintf(LANGUAGE.LoadingincIOS, sizeof(LANGUAGE.LoadingincIOS), "Loading in cIOS249");
|
||||
snprintf(LANGUAGE.Lock, sizeof(LANGUAGE.Lock), "Lock");
|
||||
snprintf(LANGUAGE.LockConsole, sizeof(LANGUAGE.LockConsole), "Lock Console");
|
||||
snprintf(LANGUAGE.MP3Menu, sizeof(LANGUAGE.MP3Menu), "MP3 Menu");
|
||||
snprintf(LANGUAGE.Missingfiles, sizeof(LANGUAGE.Missingfiles), "Missing files");
|
||||
snprintf(LANGUAGE.Networkiniterror, sizeof(LANGUAGE.Networkiniterror), "Network init error");
|
||||
snprintf(LANGUAGE.Neither, sizeof(LANGUAGE.Neither), "Neither");
|
||||
snprintf(LANGUAGE.Next, sizeof(LANGUAGE.Next), "Next");
|
||||
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!");
|
||||
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");
|
||||
snprintf(LANGUAGE.Parentalcontrol, sizeof(LANGUAGE.Parentalcontrol), "Parental control");
|
||||
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");
|
||||
snprintf(LANGUAGE.Passwordchange, sizeof(LANGUAGE.Passwordchange), "Password change");
|
||||
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");
|
||||
snprintf(LANGUAGE.Return, sizeof(LANGUAGE.Return), "Return");
|
||||
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");
|
||||
snprintf(LANGUAGE.Specialthanksto, sizeof(LANGUAGE.Specialthanksto), "Special thanks to");
|
||||
snprintf(LANGUAGE.For, sizeof(LANGUAGE.For), "for");
|
||||
snprintf(LANGUAGE.theUSBLoaderandreleasingthesourcecode, sizeof(LANGUAGE.theUSBLoaderandreleasingthesourcecode), "and releasing the source code");
|
||||
snprintf(LANGUAGE.secondsleft, sizeof(LANGUAGE.secondsleft), "seconds left");
|
||||
snprintf(LANGUAGE.SelectthePartition, sizeof(LANGUAGE.SelectthePartition), "Select the Partition");
|
||||
snprintf(LANGUAGE.Specialthanksto, sizeof(LANGUAGE.Specialthanksto), "Special thanks to");
|
||||
snprintf(LANGUAGE.youwanttoformat, sizeof(LANGUAGE.youwanttoformat), "you want to format");
|
||||
snprintf(LANGUAGE.settings, sizeof(LANGUAGE.settings), "Settings");
|
||||
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:");
|
||||
snprintf(LANGUAGE.Successfullydeleted, sizeof(LANGUAGE.Successfullydeleted), "Successfully deleted:");
|
||||
snprintf(LANGUAGE.SuccessfullySaved, sizeof(LANGUAGE.SuccessfullySaved), "Successfully Saved");
|
||||
snprintf(LANGUAGE.SystemDefault, sizeof(LANGUAGE.SystemDefault), "System Default");
|
||||
snprintf(LANGUAGE.ThemePath, sizeof(LANGUAGE.ThemePath), "ThemePath");
|
||||
snprintf(LANGUAGE.ThemepathChanged, sizeof(LANGUAGE.ThemepathChanged), "Themepath Changed");
|
||||
snprintf(LANGUAGE.Themepathchange, sizeof(LANGUAGE.Themepathchange), "Themepath change");
|
||||
snprintf(LANGUAGE.Try, sizeof(LANGUAGE.Try), "Try");
|
||||
snprintf(LANGUAGE.Tooltips, sizeof(LANGUAGE.Tooltips), "Tooltips");
|
||||
snprintf(LANGUAGE.Timeleft, sizeof(LANGUAGE.Timeleft), "Time left:");
|
||||
snprintf(LANGUAGE.Unlock, sizeof(LANGUAGE.Unlock), "Unlock");
|
||||
snprintf(LANGUAGE.Uninstall, sizeof(LANGUAGE.Uninstall), "Uninstall");
|
||||
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");
|
||||
snprintf(LANGUAGE.Volume, sizeof(LANGUAGE.Volume), "Volume");
|
||||
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");
|
||||
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");
|
||||
};
|
||||
|
||||
|
||||
struct LANGUAGE LANGUAGE;
|
||||
|
||||
void language_set(char *name, char *val)
|
||||
{
|
||||
cfg_name = name;
|
||||
cfg_val = val;
|
||||
|
||||
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;
|
||||
}
|
||||
if (strcmp(name, "AppLanguage") == 0) {
|
||||
strcopy(LANGUAGE.AppLanguage, val, sizeof(LANGUAGE.AppLanguage));
|
||||
return;
|
||||
}
|
||||
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;
|
||||
}
|
||||
if (strcmp(name, "Back") == 0) {
|
||||
strcopy(LANGUAGE.Back, val, sizeof(LANGUAGE.Back));
|
||||
return;
|
||||
}
|
||||
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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
if (strcmp(name, "Continueinstallgame") == 0) {
|
||||
strcopy(LANGUAGE.Continueinstallgame, val, sizeof(LANGUAGE.Continueinstallgame));
|
||||
return;
|
||||
}
|
||||
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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
if (strcmp(name, "Credits") == 0) {
|
||||
strcopy(LANGUAGE.Credits, val, sizeof(LANGUAGE.Credits));
|
||||
return;
|
||||
}
|
||||
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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
if (strcmp(name, "Error") == 0) {
|
||||
strcopy(LANGUAGE.Error, val, sizeof(LANGUAGE.Error));
|
||||
return;
|
||||
}
|
||||
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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
if (strcmp(name, "for") == 0) {
|
||||
strcopy(LANGUAGE.For, val, sizeof(LANGUAGE.For));
|
||||
return;
|
||||
}
|
||||
if (strcmp(name, "Force") == 0) {
|
||||
strcopy(LANGUAGE.Force, val, sizeof(LANGUAGE.Force));
|
||||
return;
|
||||
}
|
||||
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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
if (strcmp(name, "GotoPage") == 0) {
|
||||
strcopy(LANGUAGE.GotoPage, val, sizeof(LANGUAGE.GotoPage));
|
||||
return;
|
||||
}
|
||||
if (strcmp(name, "HowtoShutdown") == 0) {
|
||||
strcopy(LANGUAGE.HowtoShutdown, val, sizeof(LANGUAGE.HowtoShutdown));
|
||||
return;
|
||||
}
|
||||
if (strcmp(name, "Language") == 0) {
|
||||
strcopy(LANGUAGE.Language, val, sizeof(LANGUAGE.Language));
|
||||
return;
|
||||
}
|
||||
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;
|
||||
}
|
||||
if (strcmp(name, "LoadingincIOS") == 0) {
|
||||
strcopy(LANGUAGE.LoadingincIOS, val, sizeof(LANGUAGE.LoadingincIOS));
|
||||
return;
|
||||
}
|
||||
if (strcmp(name, "Lock") == 0) {
|
||||
strcopy(LANGUAGE.Lock, val, sizeof(LANGUAGE.Lock));
|
||||
return;
|
||||
}
|
||||
if (strcmp(name, "LockConsole") == 0) {
|
||||
strcopy(LANGUAGE.LockConsole, val, sizeof(LANGUAGE.LockConsole));
|
||||
return;
|
||||
}
|
||||
if (strcmp(name, "MP3Menu") == 0) {
|
||||
strcopy(LANGUAGE.MP3Menu, val, sizeof(LANGUAGE.MP3Menu));
|
||||
return;
|
||||
}
|
||||
if (strcmp(name, "Missingfiles") == 0) {
|
||||
strcopy(LANGUAGE.Missingfiles, val, sizeof(LANGUAGE.Missingfiles));
|
||||
return;
|
||||
}
|
||||
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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
if (strcmp(name, "Specialthanksto") == 0) {
|
||||
strcopy(LANGUAGE.Specialthanksto, val, sizeof(LANGUAGE.Specialthanksto));
|
||||
return;
|
||||
}
|
||||
if (strcmp(name, "theUSBLoaderandreleasingthesourcecode") == 0) {
|
||||
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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
if (strcmp(name, "Unlock") == 0) {
|
||||
strcopy(LANGUAGE.Unlock, val, sizeof(LANGUAGE.Unlock));
|
||||
return;
|
||||
}
|
||||
if (strcmp(name, "Uninstall") == 0) {
|
||||
strcopy(LANGUAGE.Uninstall, val, sizeof(LANGUAGE.Uninstall));
|
||||
return;
|
||||
}
|
||||
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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
||||
|
194
source/language.h
Normal file
194
source/language.h
Normal file
@ -0,0 +1,194 @@
|
||||
#include <gctypes.h>
|
||||
#include "disc.h"
|
||||
|
||||
#ifndef _LANGUAGE_H_
|
||||
#define _LANGUAGE_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
struct LANGUAGE
|
||||
{
|
||||
|
||||
char t3Covers[10];
|
||||
char AppLanguage[10];
|
||||
char Areyousure[15];
|
||||
char AutoPatch[15];
|
||||
char Back[10];
|
||||
char BacktoHBCorWiiMenu[25];
|
||||
char BacktoLoader[20];
|
||||
char BacktoWiiMenu[20];
|
||||
char BootStandard[20];
|
||||
char Both[8];
|
||||
char Cantcreatedirectory[25];
|
||||
char Cancel[10];
|
||||
char Cantbeformated[30];
|
||||
char Cantdelete[25];
|
||||
char ClicktoDownloadCovers[30];
|
||||
char Clock[10];
|
||||
char Continueinstallgame[25];
|
||||
char ConsoleDefault[25];
|
||||
char Consoleshouldbeunlockedtomodifyit[50];
|
||||
char ConsoleLocked[25];
|
||||
char CorrectPassword[25];
|
||||
char Couldnotinitializenetwork[30];
|
||||
char CouldnotopenDisc[52];
|
||||
char CouldnotinitializeDIPmodule[30];
|
||||
char CoverDownload[25];
|
||||
char CoverPath[20];
|
||||
char CoverpathChanged[30];
|
||||
char Coverpathchange[30];
|
||||
char Credits[15];
|
||||
char DiscImages[15];
|
||||
char DiscimagePath[25];
|
||||
char DiscpathChanged[25];
|
||||
char Discpathchange[25];
|
||||
char DiscDefault[25];
|
||||
char Display[20];
|
||||
char Doyouwanttoformat[30];
|
||||
char Doyoureallywanttodelete[35];
|
||||
char Doyouwanttoretryfor30secs[50];
|
||||
char Downloadingfile[30];
|
||||
char DownloadBoxartimage[30];
|
||||
char Downloadfinished[30];
|
||||
char Error[10];
|
||||
char BOOTERROR[15];
|
||||
char ErrorreadingDisc[25];
|
||||
char ExitUSBISOLoader[25];
|
||||
char InitializingNetwork[30];
|
||||
char InsertDisk[25];
|
||||
char InsertaWiiDisc[25];
|
||||
char InsertaSDCardtodownloadimages[50];
|
||||
char InsertaSDCardtosave[35];
|
||||
char InstallRenameandDeleteareunlocked[50];
|
||||
char Installerror[30];
|
||||
char Installagame[30];
|
||||
char Installinggame[30];
|
||||
char Failedtoboot[30];
|
||||
char FailedtomountfrontSDcard[50];
|
||||
char FailedtosetUSB[30];
|
||||
char Failedformating[30];
|
||||
char filesnotfoundontheserver[50];
|
||||
char filesleft[30];
|
||||
char FlipX[30];
|
||||
char Force[30];
|
||||
char Youneedtoformatapartition[50];
|
||||
char Format[30];
|
||||
char Formattingpleasewait[50];
|
||||
char formated[30];
|
||||
char free[30];
|
||||
char FreeSpace[30];
|
||||
char FullShutdown[30];
|
||||
char GameID[30];
|
||||
char Games[30];
|
||||
char Gameisalreadyinstalled[50];
|
||||
char GameRegion[30];
|
||||
char GameSize[30];
|
||||
char GoBack[30];
|
||||
char GotoPage[30];///////
|
||||
char HowtoShutdown[30];
|
||||
char Language[20];
|
||||
char Langchange[20];
|
||||
char Left[30];
|
||||
char LikeSysMenu[30];
|
||||
char LoadingincIOS[40];
|
||||
char Lock[30];
|
||||
char LockConsole[40];
|
||||
char MP3Menu[30];
|
||||
char Missingfiles[40];
|
||||
char Networkiniterror[50];
|
||||
char Neither[40];
|
||||
char Next[40];
|
||||
char No[40];
|
||||
char Nofilemissing[50];
|
||||
char NoHDDfound[40];
|
||||
char NoSDcardinserted[50];
|
||||
char Nopartitionsfound[50];
|
||||
char NoUSBDevice[40];
|
||||
char NoWBFSpartitionfound[50];
|
||||
char NormalCovers[40];
|
||||
char Normal[30];
|
||||
char NotaWiiDisc[40];
|
||||
char NoUSBDevicefound[50];
|
||||
char Notenoughfreespace[50];
|
||||
char notset[30];
|
||||
char of[10];
|
||||
char OFF[10];
|
||||
char OfficialSite[30];
|
||||
char ok[8];
|
||||
char ON[10];
|
||||
char Parentalcontrol[25];
|
||||
char Partition[20];
|
||||
char Password[20];
|
||||
char PasswordChanged[30];
|
||||
char Passwordhasbeenchanged[50];
|
||||
char Passwordchange[30];
|
||||
char PowerofftheWii[30];
|
||||
char Prev[10];
|
||||
char PromptsButtons[30];
|
||||
char ReloadSD[20];
|
||||
char RenameGameonWBFS[30];
|
||||
char Restart[15];
|
||||
char Return[15];
|
||||
char ReturntoWiiMenu[30];
|
||||
char Right[15];
|
||||
char Rumble[15];
|
||||
char QuickBoot[20];
|
||||
char Save[15];
|
||||
char SaveFailed[20];
|
||||
char Specialthanksto[25];
|
||||
char For[10];
|
||||
char theUSBLoaderandreleasingthesourcecode[100];
|
||||
char secondsleft[20];
|
||||
char SelectthePartition[25];
|
||||
char youwanttoformat[20];
|
||||
char settings[15];
|
||||
char ShutdowntoIdle[25];
|
||||
char ShutdownSystem[25];
|
||||
char Success[15];
|
||||
char Successfullyinstalled[40];
|
||||
char Successfullydeleted[40];
|
||||
char SuccessfullySaved[40];
|
||||
char SystemDefault[30];
|
||||
char ThemePath[20];
|
||||
char ThemepathChanged[30];
|
||||
char Themepathchange[30];
|
||||
char Try[10];
|
||||
char Tooltips[15];
|
||||
char Timeleft[15];
|
||||
char Unlock[10];
|
||||
char Uninstall[15];
|
||||
char USBLoaderisprotected[40];
|
||||
char USBDevicenotfound[40];
|
||||
char VideoMode[15];
|
||||
char VIDTVPatch[15];
|
||||
char Volume[15];
|
||||
char Waiting[15];
|
||||
char WaitingforUSBDevice[40];
|
||||
char WidescreenFix[40];
|
||||
char WiiMenu[15];
|
||||
char WrongPassword[30];
|
||||
char Yes[10];
|
||||
char YoudonthavecIOS[30];
|
||||
char Japanese[20];
|
||||
char German[20];
|
||||
char English[20];
|
||||
char French[20];
|
||||
char Spanish[20];
|
||||
char Italian[20];
|
||||
char Dutch[20];
|
||||
char SChinese[20];
|
||||
char TChinese[20];
|
||||
char Korean[20];
|
||||
};
|
||||
|
||||
|
||||
extern struct LANGUAGE LANGUAGE;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
@ -31,6 +31,7 @@
|
||||
#include "video2.h"
|
||||
#include "wpad.h"
|
||||
#include "cfg.h"
|
||||
#include "language.c"
|
||||
|
||||
|
||||
/* Constants */
|
||||
@ -109,10 +110,11 @@ main(int argc, char *argv[])
|
||||
s32 ret2;
|
||||
|
||||
SDCard_Init();
|
||||
|
||||
lang_default();
|
||||
CFG_Load(argc, argv);
|
||||
|
||||
DefaultSettings();
|
||||
DefaultSettings();
|
||||
|
||||
|
||||
SDCard_deInit();
|
||||
|
||||
|
523
source/menu.cpp
523
source/menu.cpp
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user