aboutsummaryrefslogtreecommitdiff
path: root/src/App.js
diff options
context:
space:
mode:
authorkaniini <nenolod@gmail.com>2018-08-26 00:01:33 +0000
committerkaniini <nenolod@gmail.com>2018-08-26 00:01:33 +0000
commit5bb5ef43ef272bbabe722b8a3fd4c32c087c3c27 (patch)
treed48ac98c5d75e24e9935e678819b9bc4e6d7e17e /src/App.js
parent9e111f14fd088d4281b8ac6067313c63df924f84 (diff)
parentc1e4bfa90ffa26e203ca61717b4fb99209ad0d99 (diff)
Merge branch 'language-override' into 'develop'
Make interface language configurable from settings Closes #36 See merge request pleroma/pleroma-fe!315
Diffstat (limited to 'src/App.js')
-rw-r--r--src/App.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/App.js b/src/App.js
index 39c97a80..a9a46fad 100644
--- a/src/App.js
+++ b/src/App.js
@@ -20,6 +20,10 @@ export default {
data: () => ({
mobileActivePanel: 'timeline'
}),
+ created () {
+ // Load the locale from the storage
+ this.$i18n.locale = this.$store.state.config.interfaceLanguage
+ },
computed: {
currentUser () { return this.$store.state.users.currentUser },
background () {