From 982deac377442625108e5c2f5e2b34bdaec4d938 Mon Sep 17 00:00:00 2001 From: Carson Yang Date: Mon, 22 Jul 2024 13:50:54 +0800 Subject: [PATCH] i18n: update i18n for template provider Signed-off-by: Carson Yang --- .../public/locales/en/common.json | 6 +- .../public/locales/zh/common.json | 6 +- .../template/public/locales/en/common.json | 184 +++++++++--------- .../template/public/locales/zh/common.json | 32 +-- 4 files changed, 117 insertions(+), 111 deletions(-) diff --git a/frontend/providers/applaunchpad/public/locales/en/common.json b/frontend/providers/applaunchpad/public/locales/en/common.json index 78a069ba35a..0b8e10132db 100644 --- a/frontend/providers/applaunchpad/public/locales/en/common.json +++ b/frontend/providers/applaunchpad/public/locales/en/common.json @@ -108,8 +108,8 @@ "gpu": "GPU", "Gpu under inventory Tip": "{{gputype}} is out of stock. Please select a different type or reduce the quantity", "Group": "Group", - "grpcs": "grpcs", - "https": "https", + "grpcs": "gRPCS", + "https": "HTTPS", "If no, the default command is used": "Leave blank to use default command", "Image": "Image", "Image Address": "Image Registry", @@ -240,7 +240,7 @@ "vm": "vm", "Waiting": "Waiting", "Warning": "Warning", - "websocket": "websocket", + "websocket": "WebSocket", "YAML File": "YAML", "Yes": "Yes", "You can enter the container through the terminal": "Access container via terminal", diff --git a/frontend/providers/applaunchpad/public/locales/zh/common.json b/frontend/providers/applaunchpad/public/locales/zh/common.json index 7fb91040805..297942b50cd 100644 --- a/frontend/providers/applaunchpad/public/locales/zh/common.json +++ b/frontend/providers/applaunchpad/public/locales/zh/common.json @@ -108,8 +108,8 @@ "gpu": "GPU", "Gpu under inventory Tip": "{{gputype}} 库存不足,请更换型号或减少数量", "Group": "Group", - "grpcs": "grpcs", - "https": "https", + "grpcs": "gRPCS", + "https": "HTTPS", "If no, the default command is used": "若不填写,将使用默认命令", "Image": "镜像源", "Image Address": "镜像仓库地址", @@ -240,7 +240,7 @@ "vm": "显存", "Waiting": "获取中", "Warning": "提示", - "websocket": "websocket", + "websocket": "WebSocket", "YAML File": "YAML 文件", "Yes": "确认", "You can enter the container through the terminal": "您可以通过终端进入容器", diff --git a/frontend/providers/template/public/locales/en/common.json b/frontend/providers/template/public/locales/en/common.json index 8cf0f92c6cd..5459400a5a1 100644 --- a/frontend/providers/template/public/locales/en/common.json +++ b/frontend/providers/template/public/locales/en/common.json @@ -1,19 +1,21 @@ { "Applications": "Applications", - "Create Application": "Create Application", + "Create Application": "Create App", "Cancel": "Cancel", "Confirm": "Confirm", "Name": "Name", "Status": "Status", - "Creation Time": "Creation Time", + "Creation Time": "Created", "CPU": "CPU", "Memory": "Memory", + "Replicas": "Replicas", + "Pod": "Pod", "Operation": "Operation", "Running": "Running", "Paused": "Paused", "Active": "Active", "Details": "Details", - "Start Up": "Start Up", + "Start Up": "Start", "Delete": "Delete", "Pause": "Pause", "Restart": "Restart", @@ -25,62 +27,62 @@ "Command": "Command", "Parameters": "Parameters", "Not Configured": "Not Configured", - "Accessible to the Public": "Accessible to the Public", + "Accessible to the Public": "Publicly Accessible", "Configuration File": "Configmap", "Storage": "Storage", "Environment Variables": "Environment", - "Replicas": "Replicas", "Image Name": "Image Name", "Private": "Private", "Public": "Public", "Image Name (Private)": "Image Name (Private)", "Real-time Monitoring": "Real-time Monitoring", "Network Configuration": "Network", - "Intranet Address": "Intranet Address", - "External Address": "External Address", - "Not Enabled": "Not Enabled", - "Update Time": "Update Time", + "Intranet Address": "Private Address", + "External Address": "Public Address", + "Not Enabled": "Disabled", + "Update Time": "Last Updated", "Continue": "Continue", "Terminal": "Terminal", "Log": "Log", "None": "None", "Intelligent Analysis": "Intelligent Analysis", - "Problem Analysis": "Problem Analysis", + "Problem Analysis": "Issue Analysis", "Export": "Export", - "Copy Success": "Copy Success", - "Edit Environment Variables": "Edit Environment Variables", - "Application Deployment": "Application Deployment", + "Edit Environment Variables": "Edit Env Variables", + "Application Deployment": "App Deployment", "Creating": "Creating", - "Abnormality Detected": "Abnormality Detected", - "Update Application": "Update Application", - "Deploy Application": "Deploy Application", - "Confirm Deploy Application?": "Confirm Deploy Application?", + "Abnormality Detected": "Issue Detected", + "Update Application": "Update App", + "Deploy Application": "Deploy App", + "Confirm Deploy Application?": "Confirm App Deployment?", "Deployment Successful": "Deployment Successful", "Deployment Failed": "Deployment Failed", - "Confirm Update Application?": "Confirm Update Application?", + "Confirm Update Application?": "Confirm App Update?", "Update Successful": "Update Successful", "Update Failed": "Update Failed", - "Prompt": "Prompt", - "jump_prompt": "Jump prompt", - "jump_message": "This application cannot be used independently. Please click 'OK' to proceed to Sealos Desktop.", - "pause_message": "Pausing the service will stop the calculation of charges for CPU and memory, but charges for storage and external network ports will still apply. Would you like to pause now?", - "Confirm to restart this application?": "Confirm to restart this application?", - "You haven't created any application yet.": "You haven't created any application yet.", + "Prompt": "Notice", + "jump_prompt": "Redirect Notice", + "jump_message": "This app can't be used independently. Click 'OK' to use it in Sealos Desktop.", + "pause_message": "Pausing will stop CPU and memory charges, but storage and external network port fees will continue. Pause now?", + "Confirm to restart this application?": "Restart this app?", + "You haven't created any application yet.": "You don't have any apps yet.", "Confirm deletion": "Confirm deletion", "Deletion warning": "Deletion warning", - "Are you sure you want to delete this application? If you proceed, all data for this project will be deleted.": "Are you sure you want to delete this application? If you proceed, all data for this project will be deleted.", - "Please enter": "Please enter", + "Are you sure you want to delete this application? If you proceed, all data for this project will be deleted.": "Are you sure you want to delete this app? All project data will be permanently removed.", + "Please enter": "Enter", "Auto scaling": "Scaling", "Fixed instance": "Fixed", "Stateful": "Stateful", "Stateless": "Stateless", - "Image name cannot be empty.": "Image name cannot be empty.", - "Please confirm to restart the Pod?": "Please confirm to restart the Pod?", - "Limit CPU": "Limit CPU", - "Limit Memory": "Limit Memory", - "Reboot Success": "Reboot Success", + "Image name cannot be empty.": "Image name required.", + "Please confirm to restart the Pod?": "Confirm Pod restart?", + "Limit CPU": "CPU Limit", + "Limit Memory": "Memory Limit", + "CPU target value": "CPU Target", + "Memory target value": "Memory Target", + "Reboot Success": "Reboot Successful", "success": "success", - "target_value": "target_value", + "target_value": "Target Value", "Edit Env Variable": "Edit Env Variable", "public": "public", "private": "private", @@ -90,62 +92,66 @@ "App Name": "App Name", "YAML File": "YAML", "filename": "Filename", - "file value": "File Value", + "file value": "File Content", "local storage": "Local Storage", - "multiple instances do not share data": "volume does not support shared access by multiple instances", + "multiple instances do not share data": "Storage volumes are not shared between instances", "capacity": "capacity", "mount path": "mount path", "Container Ports": "Container Ports", - "CPU target is the CPU utilization rate of any container": "CPU target is the CPU utilization rate of any container", + "CPU target is the CPU utilization rate of any container": "CPU target represents the CPU utilization rate of any container", "protocol": "protocol", "Export Domain": "Export Domain", "Custom domain": "Custom domain", - "Please CNAME your custom domain to": "Please CNAME your custom domain to", - "Option": "Option", + "Please CNAME your custom domain to": "Please set up a CNAME record for your custom domain pointing to", + "Option": "Optional", "Run command": "Run command", "Command parameters": "Command parameters", "Add": "Add", "Add volume": "Add volume", - "Separated by spaces": "Separated by spaces, such as: ", - "Such as": "Such as: ", + "Separated by spaces": "Separate with spaces, e.g.: ", + "Such as": "Example: ", "Username": "Username", "Password": "Password", - "Password for the image registry": "Password for the image registry", - "Username for the image registry": "Username for the image registry", + "Password for the image registry": "Image Registry Password", + "Username for the image registry": "Image Registry Username", "Image address": "Image address", - "https": "https", - "grpcs": "grpcs", - "websocket": "websocket", - "TotalPrice": "Total", + "https": "HTTPS", + "grpcs": "gRPCS", + "websocket": "WebSocket", + "TotalPrice": "Total Price", "Day": "Day", - "AnticipatedPrice": "Anticipated Price", + "AnticipatedPrice": "Estimated Cost", "Pods List": "Pods List", - "Number of Instances": "Number of Instances", + "Number of Instances": "Instance Count", + "Pod Name": "Pod Name", "Restarts Num": "Restarts", - "Mount Path Auth": "Mount Path Invalid: /^[0-9a-zA-Z_/][0-9a-zA-Z_/.-]*[0-9a-zA-Z_/]$/", + "Age": "Uptime", + "Items": "Instances", + "Mount Path Auth": "Mount path must match: /^[0-9a-zA-Z_/][0-9a-zA-Z_/.-]*[0-9a-zA-Z_/]$/", "File Name": "File Name", - "Filename can not empty": "Filename can not empty", - "File Value can not empty": "File Value can not empty", + "Filename can not empty": "File name is required", + "File Value can not empty": "File content is required", "ConfigMap Path Conflict": "ConfigMap Path Conflict", - "Storage path can not empty": "Storage path can not empty", + "Storage path can not empty": "Mount path is required", "Storage Range": "Storage Range", - "Storage Value can not empty": "Storage Value can not empty", - "Min Storage Value": "Min Storage Value", - "Max Storage Value": "Max Storage Value", - "Can not change storage path": "Can not change storage path", + "Storage Value can not empty": "Storage capacity is required", + "Min Storage Value": "Minimum storage: ", + "Max Storage Value": "Maximum storage: ", + "Can not change storage path": "Mount path cannot be modified", "Perday": "Perday", - "Submit Error": "Submit Error", - "TemplateNameError": "TemplateNameError", - "Template Config": "Template Config", - "Templates": "Templates", - "One Click Deployment": "Pre-build solutions for you and experience one-click deployment of applications", - "Application Name": "Application Name", - "Application List": " Application List", + "Submit Error": "Submission Error", + "Copy Success": "Copied successfully", + "TemplateNameError": "Template name is required", + "Template Config": "Template Configuration", + "Templates": "Template Marketplace", + "One Click Deployment": "Pre-configured solutions for one-click app deployment", + "Application Name": "App Name", + "Application List": " App List", "Configure Project": "Configure Project", - "Not need to configure any parameters": "The current application does not need to configure any parameters", - "Do you want to jump to the app details page": "Do you want to jump to the app details page", - "Deploy on sealos": "Deploy on sealos", - "Heading to sealos soon": "Heading to sealos soon", + "Not need to configure any parameters": "No configuration needed for this application", + "Do you want to jump to the app details page": "Go to application details?", + "Deploy on sealos": "Deploy on Sealos", + "Heading to sealos soon": "Redirecting to Sealos shortly", "develop": { "publish": "publish", "Development": "Development", @@ -154,8 +160,8 @@ "Configure Form": "Configure Form", "YAML File": "YAML File", "Template Development": "Template Development", - "Dryrun Deploy": "Dryrun Deploy", - "Formal Deploy": "Formal Deploy", + "Dryrun Deploy": "Test Deployment", + "Formal Deploy": "Deploy", "Debugging Template": "Debugging Template" }, "SideBar": { @@ -163,43 +169,43 @@ "My App": "My Apps", "backend": "Backend", "database": "Database", - "monitor": "Monitor", + "monitor": "Monitoring", "frontend": "Frontend", - "game": "Game", + "game": "Games", "ai": "AI", - "tool": "Tool", + "tool": "Tools", "dev-ops": "DevOps", "blog": "Blog", - "low-code": "LowCode", + "low-code": "Low-Code", "storage": "Storage" }, "Schedule": "Schedule", - "Last Schedule": "Last Schedule", - "Last Schedule Time": "Schedule Time:", - "Last Successful Time": "Successful Time:", - "Next Execution Time": "Next Execution Time", - "There is no resource of this type": "There is no resource of this type", + "Last Schedule": "Last Execution", + "Last Schedule Time": "Execution Time:", + "Last Successful Time": "Last Successful:", + "Next Execution Time": "Next Scheduled", + "There is no resource of this type": "No resources of this type available", "Others": "Others", - "Unload": "Unload", - "delete message": "Are you sure you want to delete this application? If you proceed, all data for this project will be deleted.", + "Unload": "Uninstall", + "delete message": "Are you sure you want to delete this app? If you proceed, all project data will be permanently deleted.", "Installed": "Installed", - "Kind": "Kind", + "Kind": "Category", "Component": "Component", - "No Applications": "No Applications", - "Home Page": "Home Page", + "No Applications": "No Apps Available", + "Home Page": "Project Home", "Share": "Share", "Share Link": "Share Link", - "One click deploy button": "One click deploy button", - "Html Part": "Html Part", - "Markdown Part": "Markdown Part", - "Button Effect": "Button Effect", + "One click deploy button": "One-Click deploy button", + "Html Part": "HTML Snippet", + "Markdown Part": "Markdown Snippet", + "Button Effect": "Button Appearance", "Type": "Type", "Deployment successful, please go to My Application to view": "Deployment successful, please go to My Application to view", "Edit": "Edit", "Edit App Name": "Edit App Name", - "Installation Time": "Installation Time", - "users installed the app": "{{count}} users have installed the app", - "Please Enter": "Please Enter", + "Installation Time": "Installed On", + "users installed the app": "{{count}} users have installed this app", + "Please Enter": "Enter here", "Delete successful": "Delete successful", "Delete Failed": "Delete Failed", "Description": "Description" diff --git a/frontend/providers/template/public/locales/zh/common.json b/frontend/providers/template/public/locales/zh/common.json index 02f31bf600a..74955d81ad9 100644 --- a/frontend/providers/template/public/locales/zh/common.json +++ b/frontend/providers/template/public/locales/zh/common.json @@ -75,10 +75,10 @@ "Stateful": "有状态", "Stateless": "无状态", "Image name cannot be empty.": "镜像名不能为空。", - "Please confirm to restart the Pod?": "请确认重启 Pod ?", - "Limit CPU": "Limit CPU", - "Limit Memory": "Limit Memory", - "CPU target value": "cpu目标值", + "Please confirm to restart the Pod?": "请确认重启 Pod ?", + "Limit CPU": "CPU Limit", + "Limit Memory": "Memory Limit", + "CPU target value": "CPU 目标值", "Memory target value": "内存目标值", "Reboot Success": "重启成功", "success": "成功", @@ -103,22 +103,22 @@ "protocol": "协议", "Export Domain": "出口域名", "Custom domain": "自定义域名", - "Please CNAME your custom domain to": "请将您的自定义域名 cname 到", + "Please CNAME your custom domain to": "请将您的自定义域名 CNAME 到", "Option": "选填", "Run command": "运行命令", "Command parameters": "命令参数", "Add": "新增", "Add volume": "新增存储卷", - "Separated by spaces": "空格分开,如: ", + "Separated by spaces": "空格分开,如: ", "Such as": "例如: ", "Username": "用户名", "Password": "密码", "Password for the image registry": "镜像仓库的密码", "Username for the image registry": "镜像仓库的用户名", "Image address": "镜像仓库地址", - "https": "https", - "grpcs": "grpcs", - "websocket": "websocket", + "https": "HTTPS", + "grpcs": "gRPCS", + "websocket": "WebSocket", "TotalPrice": "总价", "Day": "天", "AnticipatedPrice": "预估价格", @@ -132,7 +132,7 @@ "File Name": "文件名", "Filename can not empty": "文件名不能为空", "File Value can not empty": "文件值不能为空", - "ConfigMap Path Conflict": "ConfigMap Path Conflict", + "ConfigMap Path Conflict": "配置文件路径冲突", "Storage path can not empty": "挂载路径不能为空", "Storage Range": "容量范围", "Storage Value can not empty": "容量不能为空", @@ -149,13 +149,13 @@ "Application Name": "应用名称", "Application List": " 应用列表", "Not need to configure any parameters": "当前应用不需要配置任何参数", - "Do you want to jump to the app details page": "您要跳转到应用详情页吗", - "Deploy on sealos": "去sealos部署", - "Heading to sealos soon": "即将前往sealos", + "Do you want to jump to the app details page": "您要跳转到应用详情页吗?", + "Deploy on sealos": "去 Sealos 部署", + "Heading to sealos soon": "即将前往 Sealos", "develop": { "publish": "发布", "Development": "开发", - "Please enter YAML code": "请输入yaml代码", + "Please enter YAML code": "请输入 YAML 代码", "Preview": "预览", "Configure Form": "配置表单", "YAML File": "YAML 文件", @@ -196,7 +196,7 @@ "Share": "分享", "Share Link": "分享链接", "One click deploy button": "一键部署按钮", - "Html Part": "Html 片段", + "Html Part": "HTML 片段", "Markdown Part": "Markdown 片段", "Button Effect": "按钮效果", "Deployment successful, please go to My Application to view": "部署成功,请前往我的应用查看", @@ -204,7 +204,7 @@ "Edit": "编辑", "Edit App Name": "编辑应用名称", "Installation Time": "安装时间", - "users installed the app": "已有 {{count}} 名用户安装应用", + "users installed the app": "已有 {{count}} 名用户安装该应用", "Please Enter": "请输入", "Delete successful": "删除成功", "Delete Failed": "删除失败",