From 4f36ea8fbf877e8af938c0bb16591f3c6cffd4f8 Mon Sep 17 00:00:00 2001 From: Jörg Hohensohn Date: Sun, 14 Mar 2004 21:33:53 +0000 Subject: First step of the voice-UI: the menus can talk. You need a "voicefont" file in .rockbox to use this. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4381 a1c6a512-1295-4272-9138-f99709370657 --- apps/playlist_viewer.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'apps/playlist_viewer.c') diff --git a/apps/playlist_viewer.c b/apps/playlist_viewer.c index 58052afd6b..8b9470cdca 100644 --- a/apps/playlist_viewer.c +++ b/apps/playlist_viewer.c @@ -685,12 +685,15 @@ static int onplay_menu(int index) bool current = (tracks[index].index == viewer.current_playing_track); menu[i].desc = str(LANG_REMOVE); + menu[i].voice_id = LANG_REMOVE; i++; menu[i].desc = str(LANG_MOVE); + menu[i].voice_id = LANG_MOVE; i++; menu[i].desc = str(LANG_FILE_OPTIONS); + menu[i].voice_id = LANG_FILE_OPTIONS; i++; m = menu_init(menu, i, NULL); @@ -757,10 +760,10 @@ static bool viewer_menu(void) bool result; struct menu_items items[] = { - { str(LANG_SHOW_ICONS), show_icons }, - { str(LANG_SHOW_INDICES), show_indices }, - { str(LANG_TRACK_DISPLAY), track_display }, - { str(LANG_SAVE_DYNAMIC_PLAYLIST), save_playlist }, + { STR(LANG_SHOW_ICONS), show_icons }, + { STR(LANG_SHOW_INDICES), show_indices }, + { STR(LANG_TRACK_DISPLAY), track_display }, + { STR(LANG_SAVE_DYNAMIC_PLAYLIST), save_playlist }, }; m=menu_init( items, sizeof(items) / sizeof(*items), NULL ); -- cgit v1.2.3