From 8bc15e60b55f8a251006ac03e0237420644cf029 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sat, 13 Jun 2020 10:18:44 -0400 Subject: [PATCH] Detect language tags starting with "ja_" (#596) --- ext/bg/js/settings/audio.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/bg/js/settings/audio.js b/ext/bg/js/settings/audio.js index 9ef9cd4c..d389acb5 100644 --- a/ext/bg/js/settings/audio.js +++ b/ext/bg/js/settings/audio.js @@ -118,6 +118,7 @@ class AudioController { _languageTagIsJapanese(languageTag) { return ( + languageTag.startsWith('ja_') || languageTag.startsWith('ja-') || languageTag.startsWith('jpn-') );