aboutsummaryrefslogtreecommitdiff
path: root/ext/js/pages/settings
diff options
context:
space:
mode:
authorStefan Vuković <stefanvukovic44@gmail.com>2024-06-29 15:39:47 +0200
committerGitHub <noreply@github.com>2024-06-29 13:39:47 +0000
commitb98ae212f0190fa0d9ca86aee833b03aa262eb1b (patch)
treee3bd2aa6865d7e6fc2e83e6fd0b3f6cf72daae09 /ext/js/pages/settings
parent4a0689ae3c769d43e339059927f44361c157cdd0 (diff)
Add wiktionary commons audio source (#1143)
* add audio source for wiktionary format filenames on commons * allow region codes * fix files being saved in anki as mp3
Diffstat (limited to 'ext/js/pages/settings')
-rw-r--r--ext/js/pages/settings/audio-controller.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/js/pages/settings/audio-controller.js b/ext/js/pages/settings/audio-controller.js
index ac79b51a..b89ae2ba 100644
--- a/ext/js/pages/settings/audio-controller.js
+++ b/ext/js/pages/settings/audio-controller.js
@@ -222,6 +222,7 @@ export class AudioController extends EventDispatcher {
'jpod101-alternate',
'jisho',
'lingua-libre',
+ 'wiktionary',
'custom',
];
for (const type of typesAvailable) {
@@ -490,6 +491,7 @@ class AudioSourceEntry {
case 'jpod101-alternate':
case 'jisho':
case 'lingua-libre':
+ case 'wiktionary':
case 'text-to-speech':
case 'text-to-speech-reading':
case 'custom':