2022-06-15 13:25:51 +00:00
|
|
|
<template>
|
|
|
|
<div class="mainContainer pt-1">
|
|
|
|
<v-card flat class="pb-5 background" :class="$vuetify.theme.dark ? 'lighten-1' : 'darken-1'" :style="{borderRadius: `${roundTweak / 2}rem`}">
|
2022-06-15 19:00:26 +00:00
|
|
|
<v-card-title>{{ lang.language }}</v-card-title>
|
2022-06-15 13:25:51 +00:00
|
|
|
<v-card-text>
|
2022-06-18 12:28:46 +00:00
|
|
|
<language />
|
2022-06-15 13:25:51 +00:00
|
|
|
</v-card-text>
|
|
|
|
</v-card>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2022-06-18 12:28:46 +00:00
|
|
|
import language from '~/components/Settings/language.vue';
|
2022-06-15 13:25:51 +00:00
|
|
|
export default {
|
2022-06-18 12:28:46 +00:00
|
|
|
components: {
|
|
|
|
language
|
|
|
|
},
|
2022-06-15 13:25:51 +00:00
|
|
|
computed: {
|
|
|
|
roundTweak() {
|
|
|
|
return this.$store.state.tweaks.roundTweak;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
data() {
|
|
|
|
return {
|
2022-06-15 19:00:26 +00:00
|
|
|
lang: { mods: { general: { language: "" } } },
|
2022-06-15 13:25:51 +00:00
|
|
|
};
|
|
|
|
},
|
|
|
|
|
|
|
|
mounted() {
|
2022-06-15 19:00:26 +00:00
|
|
|
const lang = this.$lang(); this.lang = lang.mods.general;
|
2022-06-15 13:25:51 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
.v-card {
|
|
|
|
margin: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
section {
|
|
|
|
padding: 0 1em 1em 1em;
|
|
|
|
}
|
|
|
|
</style>
|