Updated translations in new frontend.

This commit is contained in:
Antoine Nguyen
2021-07-01 17:49:33 +02:00
parent 45a7b4e74f
commit 6dbfafa2a0
9 changed files with 2225 additions and 61 deletions
+2
View File
@@ -1,4 +1,5 @@
import Cookies from 'js-cookie'
import Vue from 'vue'
import repository from '@/api/repository'
import account from '@/api/account'
@@ -28,6 +29,7 @@ const mutations = {
SET_AUTH_USER (state, { authUser, isAuthenticated }) {
state.authUser = authUser
state.isAuthenticated = isAuthenticated
Vue.config.language = authUser.language
},
LOGOUT_USER (state) {
state.authUser = null