Move locales to single json files & Replace laravel-vue-i18n with vue-i18n

This commit is contained in:
Bubka
2025-06-20 18:14:21 +02:00
parent 01e56284ca
commit 6f419cfbcb
412 changed files with 3531 additions and 30057 deletions

View File

@ -1,5 +1,7 @@
<script setup>
import { RouterView } from 'vue-router'
const { t } = useI18n()
const route = useRoute()
const kickUser = ref(null)
const kickUserAfter = ref(null)
@ -39,6 +41,11 @@
})
})
router.afterEach((to, from) => {
to.meta.title = t('title.' + to.name)
document.title = to.meta.title
})
</script>
<template>