1
0
Fork 0
forked from len0rd/rockbox

Voice UI searches for <mylanguage>.voice, no hard-coded "english.voice" any more. We can localize the voice now.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4471 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jörg Hohensohn 2004-04-06 07:06:59 +00:00
parent 4af9331ed2
commit 6e77d1fe39
3 changed files with 27 additions and 3 deletions

View file

@ -1176,6 +1176,7 @@ static bool dirbrowse(char *root, int *dirfilter)
if(!lang_load(buf)) {
set_file(buf, global_settings.lang_file,
MAX_FILENAME);
talk_init(); /* use voice of same language */
splash(HZ, true, str(LANG_LANGUAGE_LOADED));
restore = true;
}