summaryrefslogtreecommitdiffstats
path: root/PicoLangInstallerFraFra
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2011-01-04 18:59:53 -0800
committerJean-Michel Trivi <jmtrivi@google.com>2011-01-04 19:18:33 -0800
commit410a1a0acbd50d7a73f0b2dbfc3e52c0808fc98d (patch)
tree6b970dcc9a95efd7ad2a0fb66851a61093dc3773 /PicoLangInstallerFraFra
parent02fa8dfc571a1f292b72e350f99be2185082b579 (diff)
downloadexternal_svox-410a1a0acbd50d7a73f0b2dbfc3e52c0808fc98d.zip
external_svox-410a1a0acbd50d7a73f0b2dbfc3e52c0808fc98d.tar.gz
external_svox-410a1a0acbd50d7a73f0b2dbfc3e52c0808fc98d.tar.bz2
Fix bug 2782425 Use the current language if it matches that of the document
If an utterance specifies its locale, the checkForLocale() function looks for the index of the supported language that matches it. If the exact locale is not supported, we look for language-only support. But there could already be a match with the currently loaded language. The fix consists in comparing the requested language with the one that is loaded (if any), so we don't load a new one uselessly, AND so the default language is used if it matches. Change-Id: I501d946459ea982466eb804b17e9c43a8203564a
Diffstat (limited to 'PicoLangInstallerFraFra')
0 files changed, 0 insertions, 0 deletions