aboutsummaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-06-13 10:18:44 -0400
committerGitHub <noreply@github.com>2020-06-13 10:18:44 -0400
commit8bc15e60b55f8a251006ac03e0237420644cf029 (patch)
tree2315ab3d779af51928e567f5fc475cf749e3ea3b /ext
parenta84f188b737c616f6fc5172ef13af0b00fee03f2 (diff)
Detect language tags starting with "ja_" (#596)
Diffstat (limited to 'ext')
-rw-r--r--ext/bg/js/settings/audio.js1
1 files changed, 1 insertions, 0 deletions
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-')
);