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": "Copied to clipboard",
|
||||
"copyError": "Copy failed"
|
||||
"copyError": "Copy failed",
|
||||
"copyEmpty": "Nothing to copy"
|
||||
},
|
||||
"errorBoundary": {
|
||||
"title": "Oops, something went wrong",
|
||||
"description": "The app encountered an unexpected error. You can try refreshing the page or resetting the app.",
|
||||
"refresh": "Refresh App",
|
||||
"retry": "Retry"
|
||||
},
|
||||
"pageErrorBoundary": {
|
||||
"title": "This feature has encountered an error",
|
||||
"description": "An internal script error occurred while loading or rendering this page. You can try again or switch to another tool from the navigation menu."
|
||||
},
|
||||
"router": {
|
||||
"notFound": "Page Not Found",
|
||||
"notFoundDescription": "This feature is not available or has been removed in the current runtime ({{entryPointType}})."
|
||||
},
|
||||
"textInputArea": {
|
||||
"clear": "Clear",
|
||||
|
||||
@@ -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