summaryrefslogtreecommitdiff
path: root/apps/games_menu.c
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-09-18 14:08:05 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-09-18 14:08:05 +0000
commit505eca76e661df673ae3ff77863936e6a533f663 (patch)
treec09f07ca4eaf5c4433af9a4365ccb136e02f3d5a /apps/games_menu.c
parenta24bd9a894c1d8594e99f95e470cbd8296e5b3d2 (diff)
New language/string handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2327 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/games_menu.c')
-rw-r--r--apps/games_menu.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/apps/games_menu.c b/apps/games_menu.c
index dd0c671be4..6ab1faf7e6 100644
--- a/apps/games_menu.c
+++ b/apps/games_menu.c
@@ -34,6 +34,8 @@
#include "sokoban.h"
#include "wormlet.h"
+#include "lang.h"
+
extern Menu tetris(void);
extern Menu snake(void);
@@ -43,10 +45,10 @@ Menu games_menu(void)
Menu result;
struct menu_items items[] = {
- { "Tetris", tetris },
- { "Sokoban", sokoban },
- { "Wormlet", wormlet },
- { "Snake", snake }
+ { str(LANG_TETRIS), tetris },
+ { str(LANG_SOKOBAN), sokoban },
+ { str(LANG_WORMLET), wormlet },
+ { str(LANG_SNAKE), snake }
};
m=menu_init( items, sizeof items / sizeof(struct menu_items) );