This commit is contained in:
Shiny Nematoda 2023-07-25 12:06:44 +00:00
parent 0eafbe497c
commit 635591a073
9 changed files with 70 additions and 44 deletions

View file

@ -121,9 +121,7 @@ export const useNav = defineStore('nav', () => {
export const useI18n = defineStore('i18n', () => {
const locale = ref('en'),
map = ref({
en: en,
});
map = ref({ en });
function t(path) {
const msgs = map.value[locale.value],