diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2002-09-17 06:44:10 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2002-09-17 06:44:10 +0000 |
| commit | 0bc588cddcaec3713cc2d273e4590ae328b7a314 (patch) | |
| tree | 836c28c87cfcbbcd85db7d1233458291c44dd5df /apps/main_menu.c | |
| parent | 99e3b2d186379bed043a35031437817237c82ba8 (diff) | |
| download | rockbox-0bc588cddcaec3713cc2d273e4590ae328b7a314.zip rockbox-0bc588cddcaec3713cc2d273e4590ae328b7a314.tar.gz rockbox-0bc588cddcaec3713cc2d273e4590ae328b7a314.tar.bz2 rockbox-0bc588cddcaec3713cc2d273e4590ae328b7a314.tar.xz | |
First simple steps using possibly translated strings for the main menu.
The lang.h file in CVS is meant to contain the default english strings.
Generate your favourite local one using the proper language file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2306 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main_menu.c')
| -rw-r--r-- | apps/main_menu.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/main_menu.c b/apps/main_menu.c index 8c0b6a0..43a9654 100644 --- a/apps/main_menu.c +++ b/apps/main_menu.c @@ -38,6 +38,8 @@ #include "powermgmt.h" #include "sound_menu.h" +#include "lang.h" + #ifdef HAVE_LCD_BITMAP #include "bmp.h" #include "icons.h" @@ -206,11 +208,11 @@ Menu main_menu(void) /* main menu */ struct menu_items items[] = { - { "Sound Settings", sound_menu }, - { "General Settings", settings_menu }, + { str(LANG_SOUND_SETTINGS), sound_menu }, + { str(LANG_GENERAL_SETTINGS), settings_menu }, #ifdef HAVE_LCD_BITMAP #ifdef USE_GAMES - { "Games", games_menu }, + { str(LANG_GAMES), games_menu }, #endif #ifdef USE_DEMOS { "Demos", demo_menu }, |