diff options
| author | Nils Wallménius <nils@rockbox.org> | 2007-08-06 13:08:36 +0000 |
|---|---|---|
| committer | Nils Wallménius <nils@rockbox.org> | 2007-08-06 13:08:36 +0000 |
| commit | 5b76936a44de3c7ecd568300f26b5e6421901285 (patch) | |
| tree | 504d9cf371d8f64c70a7bb40469a3a6f05a1b7cd /apps/tree.c | |
| parent | d755c283caef258ae5d81278d324f907fcf402c8 (diff) | |
| download | rockbox-5b76936a44de3c7ecd568300f26b5e6421901285.zip rockbox-5b76936a44de3c7ecd568300f26b5e6421901285.tar.gz rockbox-5b76936a44de3c7ecd568300f26b5e6421901285.tar.bz2 rockbox-5b76936a44de3c7ecd568300f26b5e6421901285.tar.xz | |
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
Diffstat (limited to 'apps/tree.c')
| -rw-r--r-- | apps/tree.c | 7 |
1 files changed, 4 insertions, 3 deletions
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); |