Detect language tags starting with "ja_" (#596)
This commit is contained in:
parent
a84f188b73
commit
8bc15e60b5
@ -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-')
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user