forked from nutomic/joinpeertube
Fix translations path
This commit is contained in:
parent
06801e7777
commit
034c7be8c5
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue