This commit is contained in:
2020-02-05 19:43:41 +00:00
parent 04699a3e19
commit 9430d06fd1
6 changed files with 89 additions and 5 deletions

View File

@@ -24,6 +24,13 @@
<span class="body-2">{{ this.$store.state.userName }}</span>
</div>
<div>
<span class="ml-6 body-1">{{ lt("Language") }}:</span>
<span class="body-2">
{{ ltFormat().tag }}
</span>
</div>
<div>
<span class="ml-6 body-1">{{ lt("UserTimeZoneOffset") }}:</span>
<span class="body-2">

View File

@@ -1,14 +1,20 @@
<template>
<UnderConstruction />
<div>
User's preferred language:
{{ userLanguage }}
</div>
</template>
<script>
import UnderConstruction from "../components/underconstruction.vue";
export default {
components: {
UnderConstruction
data() {
return {
userLanguage: window.$gz.locale.getFirstBrowserLanguage()
};
},
components: {},
beforeCreate() {
window.$gz.eventBus.$emit("menu-change", {
isMain: true,