Removed demo language, adds note when thres only 1 language

This commit is contained in:
Alicia Sykes
2021-07-24 21:57:45 +01:00
parent 914b381436
commit a829099631
3 changed files with 12 additions and 140 deletions

View File

@@ -15,6 +15,10 @@
<SaveConfigIcon />
</Button>
<p v-if="language">{{ language.flag }} {{ language.name }}</p>
<p v-if="$i18n.availableLocales.length <= 1" class="sad-times">
There are not currently any additional languages supported,
but stay tuned as more are on their way!
</p>
</div>
</template>
@@ -82,6 +86,11 @@ export default {
width: 100%;
}
p.sad-times {
color: var(--warning);
text-align: center;
}
.language-dropdown {
margin: 1rem auto;
div.vs__dropdown-toggle {