1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Nils Wallménius 2007-08-06 13:08:36 +00:00
parent d755c283ca
commit 5b76936a44
24 changed files with 411 additions and 171 deletions

View file

@ -217,6 +217,17 @@ static void init_tagcache(void)
if (ret > 0)
{
static long talked_tick = 0;
if(talk_menus_enabled()
&& (talked_tick == 0
|| TIME_AFTER(current_tick, talked_tick+7*HZ)))
{
talked_tick = current_tick;
talk_id(LANG_TAGCACHE_INIT, false);
talk_number(ret, true);
talk_id(VOICE_OF, true);
talk_number(tagcache_get_max_commit_step(), true);
}
#ifdef HAVE_LCD_BITMAP
gui_syncsplash(0, "%s [%d/%d]",
str(LANG_TAGCACHE_INIT), ret,
@ -474,7 +485,7 @@ static void init(void)
if (button_hold())
#endif
{
gui_syncsplash(HZ*2, str(LANG_RESET_DONE_CLEAR));
gui_syncsplash(HZ*2, ID2P(LANG_RESET_DONE_CLEAR));
settings_reset();
}
else