diff options
Diffstat (limited to 'apps/lang.h')
-rw-r--r-- | apps/lang.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/apps/lang.h b/apps/lang.h index b56e4ab337..a6d0cab4a0 100644 --- a/apps/lang.h +++ b/apps/lang.h | |||
@@ -1,10 +1,17 @@ | |||
1 | /* This file was automaticly generated using genlan */ | 1 | /* This file was automaticly generated using genlang */ |
2 | /* | 2 | /* |
3 | * The str() macro/functions is how to access strings that might be | 3 | * The str() macro/functions is how to access strings that might be |
4 | * translated. Use it like str(MACRO) and except a string to be | 4 | * translated. Use it like str(MACRO) and except a string to be |
5 | * returned! | 5 | * returned! |
6 | */ | 6 | */ |
7 | #define str(x) x | 7 | #define str(x) language_strings[x] |
8 | #define LANG_SOUND_SETTINGS "Sound Settings" | 8 | |
9 | #define LANG_GENERAL_SETTINGS "General Settings" | 9 | /* this is the array with all the strings */ |
10 | #define LANG_GAMES "Games" | 10 | extern unsigned char *language_strings[]; |
11 | |||
12 | enum { | ||
13 | LANG_SOUND_SETTINGS, | ||
14 | LANG_GENERAL_SETTINGS, | ||
15 | LANG_GAMES, | ||
16 | }; | ||
17 | /* end of generated enum list */ | ||