diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-09-17 07:20:05 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-09-17 07:20:05 +0000 |
commit | df322a6c302cfcf8ae8992a3fcf53ba3a871a306 (patch) | |
tree | 6e032db44f93990bf24ba654d26f849e006065d9 | |
parent | 8b06a013e0b8581aeb826a8b395cf8c7886a8946 (diff) | |
download | rockbox-df322a6c302cfcf8ae8992a3fcf53ba3a871a306.tar.gz rockbox-df322a6c302cfcf8ae8992a3fcf53ba3a871a306.zip |
regenerated with the new genlang
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2311 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/lang.c | 9 | ||||
-rw-r--r-- | apps/lang.h | 17 |
2 files changed, 21 insertions, 5 deletions
diff --git a/apps/lang.c b/apps/lang.c new file mode 100644 index 0000000000..8e0f01b6f9 --- /dev/null +++ b/apps/lang.c | |||
@@ -0,0 +1,9 @@ | |||
1 | /* This file was automaticly generated using genlang, the strings come | ||
2 | from "lang/english.lang" */ | ||
3 | |||
4 | unsigned char *language_strings[]={ | ||
5 | "Sound Settings", | ||
6 | "General Settings", | ||
7 | "Games", | ||
8 | }; | ||
9 | /* end of generated string list */ | ||
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 */ | ||