From 5b76936a44de3c7ecd568300f26b5e6421901285 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Wallm=C3=A9nius?= Date: Mon, 6 Aug 2007 13:08:36 +0000 Subject: Accept FS#6159 'Add voice to roughly 100 splash screens and yes-no menus' by Stephane Doyon with some minor tweaks by me. Rerun 'configure' and do a 'make clean' before rebuilding your voice files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14213 a1c6a512-1295-4272-9138-f99709370657 --- apps/tree.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'apps/tree.c') diff --git a/apps/tree.c b/apps/tree.c index e795cb9..d59d84f 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -325,7 +325,7 @@ static int update_dir(void) (tc.dirfull || tc.filesindir == global_settings.max_files_in_dir) ) { - gui_syncsplash(HZ, str(LANG_SHOWDIR_BUFFER_FULL)); + gui_syncsplash(HZ, ID2P(LANG_SHOWDIR_BUFFER_FULL)); } } #ifdef HAVE_TAGCACHE @@ -556,7 +556,7 @@ static int dirbrowse() if (*tc.dirfilter > NUM_FILTER_MODES && numentries==0) { - gui_syncsplash(HZ*2, str(LANG_NO_FILES)); + gui_syncsplash(HZ*2, ID2P(LANG_NO_FILES)); return false; /* No files found for rockbox_browser() */ } @@ -567,7 +567,7 @@ static int dirbrowse() tc.dirlevel = 0; /* shouldnt be needed.. this code needs work! */ #ifdef BOOTFILE if (boot_changed) { - char *lines[]={str(LANG_BOOT_CHANGED), str(LANG_REBOOT_NOW)}; + char *lines[]={ID2P(LANG_BOOT_CHANGED), ID2P(LANG_REBOOT_NOW)}; struct text_message message={lines, 2}; if(gui_syncyesno_run(&message, NULL, NULL)==YESNO_YES) rolo_load("/" BOOTFILE); @@ -1336,6 +1336,7 @@ void tree_restore(void) str(LANG_SCANNING_DISK)); gui_textarea_update(&screens[i]); } + cond_talk_ids_fq(LANG_SCANNING_DISK); dircache_build(global_status.dircache_size); -- cgit v1.1