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:
parent
4af9331ed2
commit
6e77d1fe39
3 changed files with 27 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue