mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-28 05:08:00 +02:00
closes #131
This commit is contained in:
parent
0eafbe497c
commit
635591a073
9 changed files with 70 additions and 44 deletions
|
@ -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],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue