aboutsummaryrefslogtreecommitdiff
path: root/source/nds/gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/nds/gui.c')
-rw-r--r--source/nds/gui.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/source/nds/gui.c b/source/nds/gui.c
index db3bd07..0bb3ccb 100644
--- a/source/nds/gui.c
+++ b/source/nds/gui.c
@@ -51,7 +51,7 @@ char argv[2][MAX_PATH];
// If adding a language, make sure you update the size of the array in
// message.h too.
-char *lang[7] =
+char *lang[8] =
{
"English", // 0
"简体中文", // 1
@@ -59,10 +59,11 @@ char *lang[7] =
"Deutsch", // 3
"Nederlands", // 4
"Español", // 5
- "Italiano" // 6
+ "Italiano", // 6
+ "Português (br.)", // 7
};
-char *language_options[] = { (char *) &lang[0], (char *) &lang[1], (char *) &lang[2], (char *) &lang[3], (char *) &lang[4], (char *) &lang[5], (char *) &lang[6] };
+char *language_options[] = { (char *) &lang[0], (char *) &lang[1], (char *) &lang[2], (char *) &lang[3], (char *) &lang[4], (char *) &lang[5], (char *) &lang[6], (char *) &lang[7] };
/******************************************************************************
* Macro definition
@@ -4234,6 +4235,10 @@ int load_language_msg(char *filename, u32 language)
strcpy(start, "STARTITALIAN");
strcpy(end, "ENDITALIAN");
break;
+ case PORTUGUESE_BRAZILIAN:
+ strcpy(start, "STARTPORTUGUESEBR");
+ strcpy(end, "ENDPORTUGUESEBR");
+ break;
}
u32 cmplen = strlen(start);