From 034c7be8c5c6876e3d90ab82e884134eb949fbc6 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 25 Oct 2019 20:10:58 +0200 Subject: [PATCH] Fix translations path --- src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 639c9e2..ad43cae 100644 --- a/src/main.js +++ b/src/main.js @@ -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)