diff options
author | Aeter | 2013-02-08 16:52:31 -0500 |
---|---|---|
committer | Nebuleon Fumika | 2013-02-08 16:52:31 -0500 |
commit | fa19e1551a584a48202677c5215b062895e4f34f (patch) | |
tree | 9b3b01511d14a4153d84c5686c08fc50158ba305 /source | |
parent | d4fcf2697c9a45594e3ee0b8bf82e480ddd0b69b (diff) | |
download | snesemu-fa19e1551a584a48202677c5215b062895e4f34f.tar.gz snesemu-fa19e1551a584a48202677c5215b062895e4f34f.tar.bz2 snesemu-fa19e1551a584a48202677c5215b062895e4f34f.zip |
Add a Dutch translation.
Diffstat (limited to 'source')
-rw-r--r-- | source/nds/gui.c | 9 | ||||
-rw-r--r-- | source/nds/message.h | 5 |
2 files changed, 10 insertions, 4 deletions
diff --git a/source/nds/gui.c b/source/nds/gui.c index 4299db2..8c63bc4 100644 --- a/source/nds/gui.c +++ b/source/nds/gui.c @@ -50,15 +50,16 @@ 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[5] = { "English", // 0 "简体中文", // 1 "Français", // 2 "Deutsch", // 3 + "Nederlands", // 4 }; -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] }; /****************************************************************************** * Macro definition @@ -4111,6 +4112,10 @@ int load_language_msg(char *filename, u32 language) strcpy(start, "STARTGERMAN"); strcpy(end, "ENDGERMAN"); break; + case DUTCH: + strcpy(start, "STARTDUTCH"); + strcpy(end, "ENDDUTCH"); + break; } u32 cmplen = strlen(start); diff --git a/source/nds/message.h b/source/nds/message.h index 538bc3b..93b8313 100644 --- a/source/nds/message.h +++ b/source/nds/message.h @@ -146,10 +146,11 @@ enum LANGUAGE { ENGLISH, CHINESE_SIMPLIFIED, FRENCH, - GERMAN + GERMAN, + DUTCH }; -extern char* lang[4]; // Allocated in gui.c, needs to match the languages ^ +extern char* lang[5]; // Allocated in gui.c, needs to match the languages ^ char *msg[MSG_END+1]; char msg_data[32 * 1024]; |