mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-13 15:12:30 -05:00
regenerated with the new genlang
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2311 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8b06a013e0
commit
df322a6c30
2 changed files with 21 additions and 5 deletions
9
apps/lang.c
Normal file
9
apps/lang.c
Normal file
|
|
@ -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 */
|
||||||
17
apps/lang.h
17
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
|
* The str() macro/functions is how to access strings that might be
|
||||||
* translated. Use it like str(MACRO) and except a string to be
|
* translated. Use it like str(MACRO) and except a string to be
|
||||||
* returned!
|
* returned!
|
||||||
*/
|
*/
|
||||||
#define str(x) x
|
#define str(x) language_strings[x]
|
||||||
#define LANG_SOUND_SETTINGS "Sound Settings"
|
|
||||||
#define LANG_GENERAL_SETTINGS "General Settings"
|
/* this is the array with all the strings */
|
||||||
#define LANG_GAMES "Games"
|
extern unsigned char *language_strings[];
|
||||||
|
|
||||||
|
enum {
|
||||||
|
LANG_SOUND_SETTINGS,
|
||||||
|
LANG_GENERAL_SETTINGS,
|
||||||
|
LANG_GAMES,
|
||||||
|
};
|
||||||
|
/* end of generated enum list */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue