feat(i18n): 更新国际化组件,优化语言文件和结构,增强类型支持
All checks were successful
/ build-and-deploy-to-vercel (push) Successful in 1m16s
/ depcheck (push) Successful in 1m36s
/ playwright (push) Successful in 2m49s

This commit is contained in:
严浩
2024-11-07 15:26:33 +08:00
parent 3eed9a44df
commit 6b657f3f2b
7 changed files with 57 additions and 73 deletions

View File

@ -1,8 +1,6 @@
{
"welcome": "Welcome",
"hello": "Hello, {name}!",
"nav": {
"home": "Home",
"about": "About"
"message": {
"hello": "hello world",
"greeting": "good morning, world!"
}
}

View File

@ -1,8 +1,6 @@
{
"welcome": "欢迎",
"hello": "你好,{name}",
"nav": {
"home": "首页",
"about": "关于"
"message": {
"hello": "你好,世界",
"greeting": "早上好,世界!"
}
}