Detect language tags starting with "ja_" (#596)

This commit is contained in:
toasted-nutbread 2020-06-13 10:18:44 -04:00 committed by GitHub
parent a84f188b73
commit 8bc15e60b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,6 +118,7 @@ class AudioController {
_languageTagIsJapanese(languageTag) { _languageTagIsJapanese(languageTag) {
return ( return (
languageTag.startsWith('ja_') ||
languageTag.startsWith('ja-') || languageTag.startsWith('ja-') ||
languageTag.startsWith('jpn-') languageTag.startsWith('jpn-')
); );