feat(i18n): add missing translation keys for error boundaries and copy messages
Add keys for errorBoundary, pageErrorBoundary, router, and messages.copyEmpty in both zh and en locales. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -24,7 +24,22 @@
|
||||
},
|
||||
"messages": {
|
||||
"copySuccess": "已复制到剪贴板",
|
||||
"copyError": "复制失败"
|
||||
"copyError": "复制失败",
|
||||
"copyEmpty": "无内容可复制"
|
||||
},
|
||||
"errorBoundary": {
|
||||
"title": "糟糕,出了点问题",
|
||||
"description": "应用遇到了一些意外错误。您可以尝试刷新页面或重置应用。",
|
||||
"refresh": "刷新应用",
|
||||
"retry": "重新尝试"
|
||||
},
|
||||
"pageErrorBoundary": {
|
||||
"title": "该功能运行异常",
|
||||
"description": "该页面在加载或渲染时遇到了内部脚本错误。您可以尝试重试,或者通过导航菜单切换到其他工具。"
|
||||
},
|
||||
"router": {
|
||||
"notFound": "页面未找到",
|
||||
"notFoundDescription": "该功能在当前运行环境({{entryPointType}})下不可用或已被移除。"
|
||||
},
|
||||
"textInputArea": {
|
||||
"clear": "清空",
|
||||
|
||||
Reference in New Issue
Block a user