diff options
Diffstat (limited to 'source/nds/gui.c')
-rw-r--r-- | source/nds/gui.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/source/nds/gui.c b/source/nds/gui.c index 4299db2..6d67ba1 100644 --- a/source/nds/gui.c +++ b/source/nds/gui.c @@ -50,15 +50,17 @@ char argv[2][MAX_PATH]; // If adding a language, make sure you update the size of the array in // message.h too. -char *lang[4] = +char *lang[6] = { "English", // 0 "简体中文", // 1 "Français", // 2 "Deutsch", // 3 + "Nederlands", // 4 + "Español", // 5 }; -char *language_options[] = { (char *) &lang[0], (char *) &lang[1], (char *) &lang[2], (char *) &lang[3] }; +char *language_options[] = { (char *) &lang[0], (char *) &lang[1], (char *) &lang[2], (char *) &lang[3], (char *) &lang[4], (char *) &lang[5] }; /****************************************************************************** * Macro definition @@ -4111,6 +4113,14 @@ int load_language_msg(char *filename, u32 language) strcpy(start, "STARTGERMAN"); strcpy(end, "ENDGERMAN"); break; + case DUTCH: + strcpy(start, "STARTDUTCH"); + strcpy(end, "ENDDUTCH"); + break; + case SPANISH: + strcpy(start, "STARTSPANISH"); + strcpy(end, "ENDSPANISH"); + break; } u32 cmplen = strlen(start); |