perf: 优化中英文翻译与切换

This commit is contained in:
xiaojunnuo
2025-06-28 23:57:01 +08:00
parent 082f47663d
commit acaa8b1731
43 changed files with 4121 additions and 4175 deletions
@@ -1,104 +1,104 @@
export default {
"formRules": {
"required": "Please enter {0}",
"selectRequired": "Please select {0}",
"minLength": "{0} must be at least {1} characters",
"maxLength": "{0} can be at most {1} characters",
"length": "{0} must be {1} characters long",
"alreadyExists": "{0} `{1}` already exists",
"startWith": "{0} must start with `{1}`",
"invalidURL": "Please input a valid URL"
},
"actionTitle": {
"edit": "Modify {0}",
"create": "Create {0}",
"delete": "Delete {0}",
"view": "View {0}"
},
"actionMessage": {
"deleteConfirm": "Are you sure to delete {0}?",
"deleting": "Deleting {0} ...",
"deleteSuccess": "{0} deleted successfully",
"operationSuccess": "Operation succeeded",
"operationFailed": "Operation failed"
},
"placeholder": {
"input": "Please enter",
"select": "Please select"
},
"captcha": {
"title": "Please complete the security verification",
"sliderSuccessText": "Passed",
"sliderDefaultText": "Slider and drag",
"alt": "Supports img tag src attribute value",
"sliderRotateDefaultTip": "Click picture to refresh",
"sliderRotateFailTip": "Validation failed",
"sliderRotateSuccessTip": "Validation successful, time {0} seconds",
"refreshAriaLabel": "Refresh captcha",
"confirmAriaLabel": "Confirm selection",
"confirm": "Confirm",
"pointAriaLabel": "Click point",
"clickInOrder": "Please click in order"
},
"iconPicker": {
"placeholder": "Select an icon",
"search": "Search icon..."
},
"jsonViewer": {
"copy": "Copy",
"copied": "Copied"
},
"fallback": {
"pageNotFound": "Oops! Page Not Found",
"pageNotFoundDesc": "Sorry, we couldn't find the page you were looking for.",
"forbidden": "Oops! Access Denied",
"forbiddenDesc": "Sorry, but you don't have permission to access this page.",
"internalError": "Oops! Something Went Wrong",
"internalErrorDesc": "Sorry, but the server encountered an error.",
"offline": "Offline Page",
"offlineError": "Oops! Network Error",
"offlineErrorDesc": "Sorry, can't connect to the internet. Check your connection.",
"comingSoon": "Coming Soon",
"http": {
"requestTimeout": "The request timed out. Please try again later.",
"networkError": "A network error occurred. Please check your internet connection and try again.",
"badRequest": "Bad Request. Please check your input and try again.",
"unauthorized": "Unauthorized. Please log in to continue.",
"forbidden": "Forbidden. You do not have permission to access this resource.",
"notFound": "Not Found. The requested resource could not be found.",
"internalServerError": "Internal Server Error. Something went wrong on our end. Please try again later."
}
},
"widgets": {
"document": "Document",
"qa": "Q&A",
"setting": "Settings",
"logoutTip": "Do you want to logout?",
"viewAll": "View All Messages",
"notifications": "Notifications",
"markAllAsRead": "Make All as Read",
"clearNotifications": "Clear",
"checkUpdatesTitle": "New Version Available",
"checkUpdatesDescription": "Click to refresh and get the latest version",
"search": {
"title": "Search",
"searchNavigate": "Search Navigation",
"select": "Select",
"navigate": "Navigate",
"close": "Close",
"noResults": "No Search Results Found",
"noRecent": "No Search History",
"recent": "Search History"
},
"lockScreen": {
"title": "Lock Screen",
"screenButton": "Locking",
"password": "Password",
"placeholder": "Please enter password",
"unlock": "Click to unlock",
"errorPasswordTip": "Password error, please re-enter",
"backToLogin": "Back to login",
"entry": "Enter the system"
}
}
}
formRules: {
required: "Please enter {0}",
selectRequired: "Please select {0}",
minLength: "{0} must be at least {1} characters",
maxLength: "{0} can be at most {1} characters",
length: "{0} must be {1} characters long",
alreadyExists: "{0} `{1}` already exists",
startWith: "{0} must start with `{1}`",
invalidURL: "Please input a valid URL",
},
actionTitle: {
edit: "Modify {0}",
create: "Create {0}",
delete: "Delete {0}",
view: "View {0}",
},
actionMessage: {
deleteConfirm: "Are you sure to delete {0}?",
deleting: "Deleting {0} ...",
deleteSuccess: "{0} deleted successfully",
operationSuccess: "Operation succeeded",
operationFailed: "Operation failed",
},
placeholder: {
input: "Please enter",
select: "Please select",
},
captcha: {
title: "Please complete the security verification",
sliderSuccessText: "Passed",
sliderDefaultText: "Slider and drag",
alt: "Supports img tag src attribute value",
sliderRotateDefaultTip: "Click picture to refresh",
sliderRotateFailTip: "Validation failed",
sliderRotateSuccessTip: "Validation successful, time {0} seconds",
refreshAriaLabel: "Refresh captcha",
confirmAriaLabel: "Confirm selection",
confirm: "Confirm",
pointAriaLabel: "Click point",
clickInOrder: "Please click in order",
},
iconPicker: {
placeholder: "Select an icon",
search: "Search icon...",
},
jsonViewer: {
copy: "Copy",
copied: "Copied",
},
fallback: {
pageNotFound: "Oops! Page Not Found",
pageNotFoundDesc: "Sorry, we couldn't find the page you were looking for.",
forbidden: "Oops! Access Denied",
forbiddenDesc: "Sorry, but you don't have permission to access this page.",
internalError: "Oops! Something Went Wrong",
internalErrorDesc: "Sorry, but the server encountered an error.",
offline: "Offline Page",
offlineError: "Oops! Network Error",
offlineErrorDesc: "Sorry, can't connect to the internet. Check your connection.",
comingSoon: "Coming Soon",
http: {
requestTimeout: "The request timed out. Please try again later.",
networkError: "A network error occurred. Please check your internet connection and try again.",
badRequest: "Bad Request. Please check your input and try again.",
unauthorized: "Unauthorized. Please log in to continue.",
forbidden: "Forbidden. You do not have permission to access this resource.",
notFound: "Not Found. The requested resource could not be found.",
internalServerError: "Internal Server Error. Something went wrong on our end. Please try again later.",
},
},
widgets: {
document: "Document",
qa: "Q&A",
setting: "Settings",
logoutTip: "Do you want to logout?",
viewAll: "View All Messages",
notifications: "Notifications",
markAllAsRead: "Make All as Read",
clearNotifications: "Clear",
checkUpdatesTitle: "New Version Available",
checkUpdatesDescription: "Click to refresh and get the latest version",
search: {
title: "Search",
searchNavigate: "Search Navigation",
select: "Select",
navigate: "Navigate",
close: "Close",
noResults: "No Search Results Found",
noRecent: "No Search History",
recent: "Search History",
},
lockScreen: {
title: "Lock Screen",
screenButton: "Locking",
password: "Password",
placeholder: "Please enter password",
unlock: "Click to unlock",
errorPasswordTip: "Password error, please re-enter",
backToLogin: "Back to login",
entry: "Enter the system",
},
},
};