1
0
mirror of https://github.com/chatopera/cosin.git synced 2025-08-01 16:38:02 +08:00

fix: i18n locales

Signed-off-by: Kaifuny <superbiger.github@gmail.com>
This commit is contained in:
Kaifuny 2023-07-20 11:28:20 +08:00
parent c0650c67ca
commit 1f099aa642
3 changed files with 5 additions and 7 deletions

View File

@ -83,7 +83,7 @@ function handleClickNav(name: string) {
@update:current="handleClickNav" @update:current="handleClickNav"
> >
<RouterLink class="text-sm text-green-600" to="/index"> <RouterLink class="text-sm text-green-600" to="/index">
{{ $t('message.hello') }} 使用教程
</RouterLink> </RouterLink>
<template #dropMenuAppend> <template #dropMenuAppend>
<div class="flex justify-between items-center"> <div class="flex justify-between items-center">

View File

@ -1,5 +1,4 @@
{ {
"message": { "zh-CN": "Chinese",
"hello": "hello world" "en-US": "English"
}
} }

View File

@ -1,5 +1,4 @@
{ {
"message": { "zh-CN": "中文",
"hello": "你好" "en-US": "English"
}
} }