feat(i18n): 更新国际化组件,优化语言文件和结构,增强类型支持

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

No files matched your search

+3 -5
View File
@@ -1,8 +1,6 @@
{
"welcome": "Welcome",
"hello": "Hello, {name}!",
"nav": {
"home": "Home",
"about": "About"
"message": {
"hello": "hello world",
"greeting": "good morning, world!"
}
}
+3 -5
View File
@@ -1,8 +1,6 @@
{
"welcome": "欢迎",
"hello": "你好,{name}!",
"nav": {
"home": "首页",
"about": "关于"
"message": {
"hello": "你好,世界",
"greeting": "早上好,世界!"
}
}