From df322a6c302cfcf8ae8992a3fcf53ba3a871a306 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 17 Sep 2002 07:20:05 +0000 Subject: regenerated with the new genlang git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2311 a1c6a512-1295-4272-9138-f99709370657 --- apps/lang.c | 9 +++++++++ apps/lang.h | 17 ++++++++++++----- 2 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 apps/lang.c 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 @@ +/* This file was automaticly generated using genlang, the strings come + from "lang/english.lang" */ + +unsigned char *language_strings[]={ + "Sound Settings", + "General Settings", + "Games", +}; +/* 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 @@ -/* This file was automaticly generated using genlan */ +/* This file was automaticly generated using genlang */ /* * The str() macro/functions is how to access strings that might be * translated. Use it like str(MACRO) and except a string to be * returned! */ -#define str(x) x -#define LANG_SOUND_SETTINGS "Sound Settings" -#define LANG_GENERAL_SETTINGS "General Settings" -#define LANG_GAMES "Games" +#define str(x) language_strings[x] + +/* this is the array with all the strings */ +extern unsigned char *language_strings[]; + +enum { + LANG_SOUND_SETTINGS, + LANG_GENERAL_SETTINGS, + LANG_GAMES, +}; +/* end of generated enum list */ -- cgit v1.2.3