elk/pages/settings/language/index.vue

24 lines
600 B
Vue
Raw Normal View History

2023-01-04 14:57:12 +01:00
<script setup lang="ts">
2023-01-09 21:20:26 +01:00
const { $t } = useFluent()
2023-01-04 14:57:12 +01:00
useHeadFixed({
2023-01-09 21:20:26 +01:00
title: () => `${$t('settings_language_label')} | ${$t('nav_settings')}`,
2023-01-04 14:57:12 +01:00
})
</script>
2022-12-27 00:04:24 +01:00
<template>
<MainContent back-on-small-screen>
2022-12-27 00:04:24 +01:00
<template #title>
<div text-lg font-bold flex items-center gap-2 @click="$scrollToTop">
2023-01-09 21:20:26 +01:00
<span>{{ $t('settings_language_label') }}</span>
2022-12-27 00:04:24 +01:00
</div>
</template>
<div p6>
<label space-y-2>
2023-01-09 21:20:26 +01:00
<p font-medium>{{ $t('settings_language_display_language') }}</p>
<SettingsLanguage select-settings />
</label>
2022-12-27 00:04:24 +01:00
</div>
</MainContent>
</template>