Fix translations path

This commit is contained in:
Chocobozzz 2019-10-25 20:10:58 +02:00
parent 06801e7777
commit 034c7be8c5
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -54,7 +54,7 @@ Vue.filter('translate', value => {
const p = currentLanguage === defaultLanguage
? Promise.resolve({ default: {} })
: import('../public/translations/' + currentLanguage + '.json')
: import('./translations/' + currentLanguage + '.json')
p.catch(err => {
console.error('Cannot load translations.', err)