summaryrefslogtreecommitdiff
path: root/apps/main_menu.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-09-17 06:44:10 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-09-17 06:44:10 +0000
commit0bc588cddcaec3713cc2d273e4590ae328b7a314 (patch)
tree836c28c87cfcbbcd85db7d1233458291c44dd5df /apps/main_menu.c
parent99e3b2d186379bed043a35031437817237c82ba8 (diff)
downloadrockbox-0bc588cddcaec3713cc2d273e4590ae328b7a314.tar.gz
rockbox-0bc588cddcaec3713cc2d273e4590ae328b7a314.zip
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.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/main_menu.c b/apps/main_menu.c
index 8c0b6a01f3..43a9654c39 100644
--- a/apps/main_menu.c
+++ b/apps/main_menu.c
@@ -38,6 +38,8 @@
38#include "powermgmt.h" 38#include "powermgmt.h"
39#include "sound_menu.h" 39#include "sound_menu.h"
40 40
41#include "lang.h"
42
41#ifdef HAVE_LCD_BITMAP 43#ifdef HAVE_LCD_BITMAP
42#include "bmp.h" 44#include "bmp.h"
43#include "icons.h" 45#include "icons.h"
@@ -206,11 +208,11 @@ Menu main_menu(void)
206 208
207 /* main menu */ 209 /* main menu */
208 struct menu_items items[] = { 210 struct menu_items items[] = {
209 { "Sound Settings", sound_menu }, 211 { str(LANG_SOUND_SETTINGS), sound_menu },
210 { "General Settings", settings_menu }, 212 { str(LANG_GENERAL_SETTINGS), settings_menu },
211#ifdef HAVE_LCD_BITMAP 213#ifdef HAVE_LCD_BITMAP
212#ifdef USE_GAMES 214#ifdef USE_GAMES
213 { "Games", games_menu }, 215 { str(LANG_GAMES), games_menu },
214#endif 216#endif
215#ifdef USE_DEMOS 217#ifdef USE_DEMOS
216 { "Demos", demo_menu }, 218 { "Demos", demo_menu },