gamebrary/src/components/Settings/SettingsGlobal.vue

54 lines
1.7 KiB
Vue
Raw Normal View History

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