2019-07-10 23:23:40 +00:00
|
|
|
<template lang="html">
|
2019-10-18 04:37:35 +00:00
|
|
|
<section>
|
2019-09-25 21:57:05 +00:00
|
|
|
<h3>General</h3>
|
2019-07-10 23:23:40 +00:00
|
|
|
|
|
|
|
<div class="setting">
|
|
|
|
<i class="fas fa-language" />
|
|
|
|
<h5>{{ $t('settings.language') }}</h5>
|
|
|
|
|
|
|
|
<select v-model="value.language">
|
|
|
|
<option value="en">🇺🇸 {{ $t('settings.languages.en') }}</option>
|
|
|
|
<option value="es">🇪🇸 {{ $t('settings.languages.es') }}</option>
|
|
|
|
<option value="pl">🇵🇱 {{ $t('settings.languages.pl') }}</option>
|
|
|
|
<option value="de">🇩🇪 {{ $t('settings.languages.de') }}</option>
|
|
|
|
<option value="ar">🇦🇪 {{ $t('settings.languages.ar') }}</option>
|
|
|
|
<option value="fr">🇫🇷 {{ $t('settings.languages.fr') }}</option>
|
|
|
|
<option value="ja">🇯🇵 {{ $t('settings.languages.ja') }}</option>
|
|
|
|
<option value="it">🇮🇹 {{ $t('settings.languages.it') }}</option>
|
|
|
|
<option value="eu">🏴 {{ $t('settings.languages.eu') }}</option>
|
|
|
|
<option value="cs">🇨🇿 {{ $t('settings.languages.cs') }}</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
2019-10-16 19:56:12 +00:00
|
|
|
<small>Browser reload required</small>
|
2019-07-10 23:23:40 +00:00
|
|
|
</section>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
props: {
|
|
|
|
value: Object,
|
2019-10-09 16:30:07 +00:00
|
|
|
},
|
|
|
|
|
2019-07-10 23:23:40 +00:00
|
|
|
computed: {
|
|
|
|
hasLists() {
|
|
|
|
return Object.keys(this.gameLists).length > 0;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" rel="stylesheet/scss" scoped>
|
2019-09-10 20:02:16 +00:00
|
|
|
@import "~styles/styles";
|
2019-07-11 19:52:59 +00:00
|
|
|
|
|
|
|
.reloading {
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2019-07-11 20:44:44 +00:00
|
|
|
|
|
|
|
select {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2019-07-10 23:23:40 +00:00
|
|
|
</style>
|