Unable to play music after i18n change
Steps to reproduce
- Update to develop branch with new i18n changes
- Try to play some music
What happens?
Nothing. The player doesn't open and nothing is added to the queue.
What is expected?
The tracks should be added to the queue and should start playing.
Context
Funkwhale version(s) affected: 1.2.9+git.1fcb4419
Uncaught (in promise) SyntaxError: Must be called at the top of a `setup` function
createCompileError message-compiler.esm-bundler.js:54
createI18nError vue-i18n.esm-bundler.js:100
useI18n vue-i18n.esm-bundler.js:2214
createQueueTrack queue.ts:104
enqueueAt queue.ts:137
enqueue queue.ts:157
replacePlay usePlayOptions.ts:163
async*_sfc_render/_cache[0]< PlayButton.vue:131
node_modules chunk-VM65JGXE.js:8963
callWithErrorHandling runtime-core.esm-bundler.js:157
callWithAsyncErrorHandling runtime-core.esm-bundler.js:166
invoker runtime-dom.esm-bundler.js:345
addEventListener runtime-dom.esm-bundler.js:279
patchEvent runtime-dom.esm-bundler.js:297
patchProp runtime-dom.esm-bundler.js:376
mountElement runtime-core.esm-bundler.js:5204
processElement runtime-core.esm-bundler.js:5178
patch runtime-core.esm-bundler.js:5098
mountChildren runtime-core.esm-bundler.js:5285
mountElement runtime-core.esm-bundler.js:5195
processElement runtime-core.esm-bundler.js:5178
patch runtime-core.esm-bundler.js:5098
componentUpdateFn runtime-core.esm-bundler.js:5638
run reactivity.esm-bundler.js:187
update runtime-core.esm-bundler.js:5745
setupRenderEffect runtime-core.esm-bundler.js:5759
mountComponent runtime-core.esm-bundler.js:5541
processComponent runtime-core.esm-bundler.js:5499
patch runtime-core.esm-bundler.js:5101
mountChildren runtime-core.esm-bundler.js:5285
mountElement runtime-core.esm-bundler.js:5195
processElement runtime-core.esm-bundler.js:5178
patch runtime-core.esm-bundler.js:5098
mountChildren runtime-core.esm-bundler.js:5285
mountElement runtime-core.esm-bundler.js:5195
processElement runtime-core.esm-bundler.js:5178
patch runtime-core.esm-bundler.js:5098
mountChildren runtime-core.esm-bundler.js:5285
processFragment runtime-core.esm-bundler.js:5458
patch runtime-core.esm-bundler.js:5094
mountChildren runtime-core.esm-bundler.js:5285
mountElement runtime-core.esm-bundler.js:5195
message-compiler.esm-bundler.js:54:18