From a9d1c6faf3e6ec075bc37da5befa3efcb4a8dacf Mon Sep 17 00:00:00 2001 From: ziye <278898052@qq.com> Date: Wed, 7 May 2025 20:09:50 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E9=87=87=E7=94=A8=E5=8E=9F?= =?UTF-8?q?=E6=9C=89=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/locales/src/langs/en-US/ui.json | 228 +++++++++++------------ packages/locales/src/langs/zh-CN/ui.json | 228 +++++++++++------------ 2 files changed, 228 insertions(+), 228 deletions(-) diff --git a/packages/locales/src/langs/en-US/ui.json b/packages/locales/src/langs/en-US/ui.json index ee96986f..a9fa1717 100644 --- a/packages/locales/src/langs/en-US/ui.json +++ b/packages/locales/src/langs/en-US/ui.json @@ -1,40 +1,132 @@ { - "actionMessage": { - "deleteConfirm": "Are you sure to delete {0}?", - "deleteSuccess": "{0} deleted successfully", - "deleting": "Deleting {0} ...", - "downloadTemplateFail": "Download template failed", - "importFail": "Import failed", - "importSuccess": "Import succeeded", - "operationFailed": "Operation failed", - "operationSuccess": "Operation succeeded", - "updating": "Updating {0}..." + "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", + "mobile": "Please input a valid {0}" }, "actionTitle": { "cancel": "Cancel {0}", + "edit": "Modify {0}", "create": "Create {0}", "delete": "Delete {0}", "detail": "Detail {0}", - "edit": "Modify {0}", - "export": "Export", + "view": "View {0}", "import": "Import", - "view": "View {0}" + "export": "Export" + }, + "actionMessage": { + "deleteConfirm": "Are you sure to delete {0}?", + "deleting": "Deleting {0} ...", + "deleteSuccess": "{0} deleted successfully", + "operationSuccess": "Operation succeeded", + "operationFailed": "Operation failed", + "importSuccess": "Import succeeded", + "importFail": "Import failed", + "downloadTemplateFail": "Download template failed", + "updating": "Updating {0}..." + }, + "placeholder": { + "input": "Please enter", + "select": "Please select" }, "captcha": { - "alt": "Supports img tag src attribute value", - "clickInOrder": "Please click in order", - "confirm": "Confirm", - "confirmAriaLabel": "Confirm selection", - "pointAriaLabel": "Click point", - "refreshAriaLabel": "Refresh 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", - "sliderSuccessText": "Passed", - "title": "Please complete the security verification" + "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", + "profile": "Profile", + "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" + } + }, + "upload": { + "upload": "Upload", + "imgUpload": "ImageUpload", + "accept": "Support {0} format", + "acceptUpload": "Only upload files in {0} format", + "maxSize": "A single file does not exceed {0}MB", + "maxSizeMultiple": "Only upload files up to {0}MB!", + "maxNumber": "Only upload up to {0} files", + "uploadSuccess": "Upload successfully" }, "cropper": { + "selectImage": "Select Image", + "uploadSuccess": "Uploaded success!", + "imageTooBig": "Image too big", + "modalTitle": "Avatar upload", + "okText": "Confirm and upload", "btn_reset": "Reset", "btn_rotate_left": "Counterclockwise rotation", "btn_rotate_right": "Clockwise rotation", @@ -42,98 +134,6 @@ "btn_scale_y": "Flip vertical", "btn_zoom_in": "Zoom in", "btn_zoom_out": "Zoom out", - "imageTooBig": "Image too big", - "modalTitle": "Avatar upload", - "okText": "Confirm and upload", - "preview": "Preview", - "selectImage": "Select Image", - "uploadSuccess": "Uploaded success!" - }, - "fallback": { - "comingSoon": "Coming Soon", - "forbidden": "Oops! Access Denied", - "forbiddenDesc": "Sorry, but you don't have permission to access this page.", - "http": { - "badRequest": "Bad Request. Please check your input and try again.", - "forbidden": "Forbidden. You do not have permission to access this resource.", - "internalServerError": "Internal Server Error. Something went wrong on our end. Please try again later.", - "networkError": "A network error occurred. Please check your internet connection and try again.", - "notFound": "Not Found. The requested resource could not be found.", - "requestTimeout": "The request timed out. Please try again later.", - "unauthorized": "Unauthorized. Please log in to continue." - }, - "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.", - "pageNotFound": "Oops! Page Not Found", - "pageNotFoundDesc": "Sorry, we couldn't find the page you were looking for." - }, - "formRules": { - "alreadyExists": "{0} `{1}` already exists", - "invalidURL": "Please input a valid URL", - "length": "{0} must be {1} characters long", - "maxLength": "{0} can be at most {1} characters", - "minLength": "{0} must be at least {1} characters", - "mobile": "Please input a valid {0}", - "required": "Please enter {0}", - "selectRequired": "Please select {0}", - "startWith": "{0} must start with `{1}`" - }, - "iconPicker": { - "placeholder": "Select an icon", - "search": "Search icon..." - }, - "jsonViewer": { - "copied": "Copied", - "copy": "Copy" - }, - "placeholder": { - "input": "Please enter", - "select": "Please select" - }, - "upload": { - "accept": "Support {0} format", - "acceptUpload": "Only upload files in {0} format", - "imgUpload": "ImageUpload", - "maxNumber": "Only upload up to {0} files", - "maxSize": "A single file does not exceed {0}MB", - "maxSizeMultiple": "Only upload files up to {0}MB!", - "upload": "Upload", - "uploadSuccess": "Upload successfully" - }, - "widgets": { - "checkUpdatesDescription": "Click to refresh and get the latest version", - "checkUpdatesTitle": "New Version Available", - "clearNotifications": "Clear", - "document": "Document", - "lockScreen": { - "backToLogin": "Back to login", - "entry": "Enter the system", - "errorPasswordTip": "Password error, please re-enter", - "password": "Password", - "placeholder": "Please enter password", - "screenButton": "Locking", - "title": "Lock Screen", - "unlock": "Click to unlock" - }, - "logoutTip": "Do you want to logout?", - "markAllAsRead": "Make All as Read", - "notifications": "Notifications", - "profile": "Profile", - "qa": "Q&A", - "search": { - "close": "Close", - "navigate": "Navigate", - "noRecent": "No Search History", - "noResults": "No Search Results Found", - "recent": "Search History", - "searchNavigate": "Search Navigation", - "select": "Select", - "title": "Search" - }, - "setting": "Settings", - "viewAll": "View All Messages" + "preview": "Preview" } } diff --git a/packages/locales/src/langs/zh-CN/ui.json b/packages/locales/src/langs/zh-CN/ui.json index 2fe147bf..446cfe75 100644 --- a/packages/locales/src/langs/zh-CN/ui.json +++ b/packages/locales/src/langs/zh-CN/ui.json @@ -1,40 +1,132 @@ { - "actionMessage": { - "deleteConfirm": "确定删除 {0} 吗?", - "deleteSuccess": "{0} 删除成功", - "deleting": "正在删除 {0} ...", - "downloadTemplateFail": "下载模板失败", - "importFail": "导入失败", - "importSuccess": "导入成功", - "operationFailed": "操作失败", - "operationSuccess": "操作成功", - "updating": "正在更新 {0}..." + "formRules": { + "required": "请输入{0}", + "selectRequired": "请选择{0}", + "minLength": "{0}至少{1}个字符", + "maxLength": "{0}最多{1}个字符", + "length": "{0}长度必须为{1}个字符", + "alreadyExists": "{0} `{1}` 已存在", + "startWith": "{0}必须以 {1} 开头", + "invalidURL": "请输入有效的链接", + "mobile": "请输入正确的{0}" }, "actionTitle": { "cancel": "取消{0}", + "edit": "修改{0}", "create": "新增{0}", "delete": "删除{0}", "detail": "详情{0}", - "edit": "修改{0}", - "export": "导出", + "view": "查看{0}", "import": "导入", - "view": "查看{0}" + "export": "导出" + }, + "actionMessage": { + "deleteConfirm": "确定删除 {0} 吗?", + "deleting": "正在删除 {0} ...", + "deleteSuccess": "{0} 删除成功", + "operationSuccess": "操作成功", + "operationFailed": "操作失败", + "importSuccess": "导入成功", + "importFail": "导入失败", + "downloadTemplateFail": "下载模板失败", + "updating": "正在更新 {0}..." + }, + "placeholder": { + "input": "请输入", + "select": "请选择" }, "captcha": { - "alt": "支持img标签src属性值", - "clickInOrder": "请依次点击", - "confirm": "确认", - "confirmAriaLabel": "确认选择", - "pointAriaLabel": "点击点", - "refreshAriaLabel": "刷新验证码", + "title": "请完成安全验证", + "sliderSuccessText": "验证通过", "sliderDefaultText": "请按住滑块拖动", "sliderRotateDefaultTip": "点击图片可刷新", "sliderRotateFailTip": "验证失败", "sliderRotateSuccessTip": "验证成功,耗时{0}秒", - "sliderSuccessText": "验证通过", - "title": "请完成安全验证" + "alt": "支持img标签src属性值", + "refreshAriaLabel": "刷新验证码", + "confirmAriaLabel": "确认选择", + "confirm": "确认", + "pointAriaLabel": "点击点", + "clickInOrder": "请依次点击" + }, + "iconPicker": { + "placeholder": "选择一个图标", + "search": "搜索图标..." + }, + "jsonViewer": { + "copy": "复制", + "copied": "已复制" + }, + "fallback": { + "pageNotFound": "哎呀!未找到页面", + "pageNotFoundDesc": "抱歉,我们无法找到您要找的页面。", + "forbidden": "哎呀!访问被拒绝", + "forbiddenDesc": "抱歉,您没有权限访问此页面。", + "internalError": "哎呀!出错了", + "internalErrorDesc": "抱歉,服务器遇到错误。", + "offline": "离线页面", + "offlineError": "哎呀!网络错误", + "offlineErrorDesc": "抱歉,无法连接到互联网,请检查您的网络连接并重试。", + "comingSoon": "即将推出", + "http": { + "requestTimeout": "请求超时,请稍后再试。", + "networkError": "网络异常,请检查您的网络连接后重试。", + "badRequest": "请求错误。请检查您的输入并重试。", + "unauthorized": "登录认证过期,请重新登录后继续。", + "forbidden": "禁止访问, 您没有权限访问此资源。", + "notFound": "未找到, 请求的资源不存在。", + "internalServerError": "内部服务器错误,请稍后再试。" + } + }, + "widgets": { + "document": "文档", + "profile": "个人中心", + "qa": "问题 & 帮助", + "setting": "设置", + "logoutTip": "是否退出登录?", + "viewAll": "查看所有消息", + "notifications": "通知", + "markAllAsRead": "全部标记为已读", + "clearNotifications": "清空", + "checkUpdatesTitle": "新版本可用", + "checkUpdatesDescription": "点击刷新以获取最新版本", + "search": { + "title": "搜索", + "searchNavigate": "搜索导航菜单", + "select": "选择", + "navigate": "导航", + "close": "关闭", + "noResults": "未找到搜索结果", + "noRecent": "没有搜索历史", + "recent": "搜索历史" + }, + "lockScreen": { + "title": "锁定屏幕", + "screenButton": "锁定", + "password": "密码", + "placeholder": "请输入锁屏密码", + "unlock": "点击解锁", + "errorPasswordTip": "密码错误,请重新输入", + "backToLogin": "返回登录", + "entry": "进入系统" + } + }, + "upload": { + "upload": "上传", + "imgUpload": "图片上传", + "accept": "支持{0}格式", + "acceptUpload": "只能上传{0}格式文件", + "maxSize": "单个文件不超过{0}MB", + "maxSizeMultiple": "只能上传不超过{0}MB的文件!", + "maxNumber": "最多只能上传{0}个文件", + "uploadSuccess": "上传成功" }, "cropper": { + "selectImage": "选择图片", + "uploadSuccess": "上传成功", + "imageTooBig": "图片超限", + "modalTitle": "头像上传", + "okText": "确认并上传", "btn_reset": "重置", "btn_rotate_left": "逆时针旋转", "btn_rotate_right": "顺时针旋转", @@ -42,98 +134,6 @@ "btn_scale_y": "垂直翻转", "btn_zoom_in": "放大", "btn_zoom_out": "缩小", - "imageTooBig": "图片超限", - "modalTitle": "头像上传", - "okText": "确认并上传", - "preview": "预览", - "selectImage": "选择图片", - "uploadSuccess": "上传成功" - }, - "fallback": { - "comingSoon": "即将推出", - "forbidden": "哎呀!访问被拒绝", - "forbiddenDesc": "抱歉,您没有权限访问此页面。", - "http": { - "badRequest": "请求错误。请检查您的输入并重试。", - "forbidden": "禁止访问, 您没有权限访问此资源。", - "internalServerError": "内部服务器错误,请稍后再试。", - "networkError": "网络异常,请检查您的网络连接后重试。", - "notFound": "未找到, 请求的资源不存在。", - "requestTimeout": "请求超时,请稍后再试。", - "unauthorized": "登录认证过期,请重新登录后继续。" - }, - "internalError": "哎呀!出错了", - "internalErrorDesc": "抱歉,服务器遇到错误。", - "offline": "离线页面", - "offlineError": "哎呀!网络错误", - "offlineErrorDesc": "抱歉,无法连接到互联网,请检查您的网络连接并重试。", - "pageNotFound": "哎呀!未找到页面", - "pageNotFoundDesc": "抱歉,我们无法找到您要找的页面。" - }, - "formRules": { - "alreadyExists": "{0} `{1}` 已存在", - "invalidURL": "请输入有效的链接", - "length": "{0}长度必须为{1}个字符", - "maxLength": "{0}最多{1}个字符", - "minLength": "{0}至少{1}个字符", - "mobile": "请输入正确的{0}", - "required": "请输入{0}", - "selectRequired": "请选择{0}", - "startWith": "{0}必须以 {1} 开头" - }, - "iconPicker": { - "placeholder": "选择一个图标", - "search": "搜索图标..." - }, - "jsonViewer": { - "copied": "已复制", - "copy": "复制" - }, - "placeholder": { - "input": "请输入", - "select": "请选择" - }, - "upload": { - "accept": "支持{0}格式", - "acceptUpload": "只能上传{0}格式文件", - "imgUpload": "图片上传", - "maxNumber": "最多只能上传{0}个文件", - "maxSize": "单个文件不超过{0}MB", - "maxSizeMultiple": "只能上传不超过{0}MB的文件!", - "upload": "上传", - "uploadSuccess": "上传成功" - }, - "widgets": { - "checkUpdatesDescription": "点击刷新以获取最新版本", - "checkUpdatesTitle": "新版本可用", - "clearNotifications": "清空", - "document": "文档", - "lockScreen": { - "backToLogin": "返回登录", - "entry": "进入系统", - "errorPasswordTip": "密码错误,请重新输入", - "password": "密码", - "placeholder": "请输入锁屏密码", - "screenButton": "锁定", - "title": "锁定屏幕", - "unlock": "点击解锁" - }, - "logoutTip": "是否退出登录?", - "markAllAsRead": "全部标记为已读", - "notifications": "通知", - "profile": "个人中心", - "qa": "问题 & 帮助", - "search": { - "close": "关闭", - "navigate": "导航", - "noRecent": "没有搜索历史", - "noResults": "未找到搜索结果", - "recent": "搜索历史", - "searchNavigate": "搜索导航菜单", - "select": "选择", - "title": "搜索" - }, - "setting": "设置", - "viewAll": "查看所有消息" + "preview": "预览" } }