summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/lang.h10
-rw-r--r--apps/main_menu.c8
2 files changed, 15 insertions, 3 deletions
diff --git a/apps/lang.h b/apps/lang.h
new file mode 100644
index 0000000000..b56e4ab337
--- /dev/null
+++ b/apps/lang.h
@@ -0,0 +1,10 @@
+/* This file was automaticly generated using genlan */
+/*
+ * 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"
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 @@
#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 },