diff --git a/frontend/providers/template/.gitignore b/frontend/providers/template/.gitignore
index 46b33cbd5e8..26f7cb029b6 100644
--- a/frontend/providers/template/.gitignore
+++ b/frontend/providers/template/.gitignore
@@ -35,7 +35,6 @@ yarn-error.log*
*.tsbuildinfo
next-env.d.ts
/public/trainData/
-/.vscode/
platform.json
.yalc/
yalc.lock
diff --git a/frontend/providers/template/.vscode/settings.json b/frontend/providers/template/.vscode/settings.json
new file mode 100644
index 00000000000..19c487510de
--- /dev/null
+++ b/frontend/providers/template/.vscode/settings.json
@@ -0,0 +1,18 @@
+{
+ "i18n-ally.localesPaths": [
+ "public/locales"
+ ],
+ "i18n-ally.enabledParsers": [
+ "json",
+ "yaml",
+ "js",
+ "ts"
+ ],
+ "i18n-ally.keystyle": "nested",
+ "i18n-ally.sortKeys": true,
+ "i18n-ally.keepFulfilled": false,
+ "i18n-ally.sourceLanguage": "zh",
+ "i18n-ally.displayLanguage": "zh",
+ "i18n-ally.pathMatcher": "{locale}/{namespaces}.json",
+ "i18n-ally.extract.targetPickingStrategy": "most-similar-by-key"
+}
\ No newline at end of file
diff --git a/frontend/providers/template/public/locales/en/common.json b/frontend/providers/template/public/locales/en/common.json
index 010d46be45e..3279a776414 100644
--- a/frontend/providers/template/public/locales/en/common.json
+++ b/frontend/providers/template/public/locales/en/common.json
@@ -1,213 +1,217 @@
{
- "Applications": "Applications",
- "Create Application": "Create App",
- "Cancel": "Cancel",
- "Confirm": "Confirm",
- "Name": "Name",
- "Status": "Status",
- "Creation Time": "Created",
- "CPU": "CPU",
- "Memory": "Memory",
- "Replicas": "Replicas",
- "Pod": "Pod",
- "Operation": "Operation",
- "Running": "Running",
- "Paused": "Paused",
+ "Abnormality Detected": "Issue Detected",
+ "Accessible to the Public": "Publicly Accessible",
"Active": "Active",
- "Details": "Details",
- "Start Up": "Start",
- "Delete": "Delete",
- "Pause": "Pause",
- "Restart": "Restart",
- "Update": "Update",
+ "Add": "Add",
+ "Add volume": "Add volume",
+ "Advanced Configuration": "Advanced",
+ "Age": "Uptime",
+ "AnticipatedPrice": "Estimated Cost",
+ "App Name": "App Name",
+ "Application Deployment": "App Deployment",
+ "Application List": " App List",
+ "Application Name": "App Name",
"Application Type": "Type",
+ "Applications": "Applications",
+ "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.",
+ "Auto scaling": "Scaling",
"Basic Information": "Basic",
- "Deployment Mode": "Instance",
- "Advanced Configuration": "Advanced",
+ "Button Effect": "Button Appearance",
+ "CPU": "CPU",
+ "CPU target is the CPU utilization rate of any container": "CPU target represents the CPU utilization rate of any container",
+ "CPU target value": "CPU Target",
+ "Can not change storage path": "Mount path cannot be modified",
+ "Cancel": "Cancel",
"Command": "Command",
- "Parameters": "Parameters",
- "Not Configured": "Not Configured",
- "Accessible to the Public": "Publicly Accessible",
+ "Command parameters": "Command parameters",
+ "Component": "Component",
+ "Config Form": "Form",
+ "ConfigMap Path Conflict": "ConfigMap Path Conflict",
"Configuration File": "Configmap",
- "Storage": "Storage",
- "Environment Variables": "Environment",
- "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": "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": "Issue Analysis",
- "Export": "Export",
- "Edit Environment Variables": "Edit Env Variables",
- "Application Deployment": "App Deployment",
- "Creating": "Creating",
- "Abnormality Detected": "Issue Detected",
- "Update Application": "Update App",
- "Deploy Application": "Deploy App",
+ "Configure Project": "Configure Project",
+ "Confirm": "Confirm",
"Confirm Deploy Application?": "Confirm App Deployment?",
- "Deployment Successful": "Deployment Successful",
- "Deployment Failed": "Deployment Failed",
"Confirm Update Application?": "Confirm App Update?",
- "Update Successful": "Update Successful",
- "Update Failed": "Update Failed",
- "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",
+ "Confirm to restart this application?": "Restart this app?",
+ "Container Ports": "Container Ports",
+ "Continue": "Continue",
+ "Copy Success": "Copied successfully",
+ "Create Application": "Create App",
+ "Creating": "Creating",
+ "Creation Time": "Created",
+ "Custom domain": "Custom domain",
+ "Day": "Day",
+ "Delete": "Delete",
+ "Delete Failed": "Delete Failed",
+ "Delete successful": "Delete successful",
"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 app? All project data will be permanently removed.",
- "Please enter": "Enter",
- "Auto scaling": "Scaling",
+ "Deploy Application": "Deploy App",
+ "Deploy on sealos": "Deploy on Sealos",
+ "Deployment Failed": "Deployment Failed",
+ "Deployment Mode": "Instance",
+ "Deployment Successful": "Deployment Successful",
+ "Deployment successful, please go to My Application to view": "Deployment successful, please go to My Application to view",
+ "Description": "Description",
+ "Details": "Details",
+ "Do you want to jump to the app details page": "Go to application details?",
+ "Edit": "Edit",
+ "Edit App Name": "Edit App Name",
+ "Edit Env Variable": "Edit Env Variable",
+ "Edit Environment Variables": "Edit Env Variables",
+ "Environment Variables": "Environment",
+ "Export": "Export",
+ "Export Domain": "Export Domain",
+ "External Address": "Public Address",
+ "File Name": "File Name",
+ "File Value can not empty": "File content is required",
+ "Filename can not empty": "File name is required",
"Fixed instance": "Fixed",
- "Stateful": "Stateful",
- "Stateless": "Stateless",
+ "Heading to sealos soon": "Redirecting to Sealos shortly",
+ "Home Page": "Project Home",
+ "Html Part": "HTML Snippet",
+ "Image": "Image",
+ "Image Name": "Image Name",
+ "Image Name (Private)": "Image Name (Private)",
+ "Image address": "Image address",
"Image name cannot be empty.": "Image name required.",
- "Please confirm to restart the Pod?": "Confirm Pod restart?",
+ "Installation Time": "Installed On",
+ "Installed": "Installed",
+ "Intelligent Analysis": "Intelligent Analysis",
+ "Intranet Address": "Private Address",
+ "Items": "Instances",
+ "Kind": "Category",
+ "Last Schedule": "Last Execution",
+ "Last Schedule Time": "Execution Time:",
+ "Last Successful Time": "Last Successful:",
"Limit CPU": "CPU Limit",
"Limit Memory": "Memory Limit",
- "CPU target value": "CPU Target",
+ "Log": "Log",
+ "Markdown Part": "Markdown Snippet",
+ "Max Storage Value": "Maximum storage: ",
+ "Memory": "Memory",
"Memory target value": "Memory Target",
- "Reboot Success": "Reboot Successful",
- "success": "success",
- "target_value": "Target Value",
- "Edit Env Variable": "Edit Env Variable",
- "public": "public",
- "private": "private",
- "Config Form": "Form",
- "file": "file",
- "Image": "Image",
- "App Name": "App Name",
- "YAML File": "YAML",
- "filename": "Filename",
- "file value": "File Content",
- "local storage": "Local Storage",
- "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 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 set up a CNAME record for your custom domain pointing to",
+ "Min Storage Value": "Minimum storage: ",
+ "Mount Path Auth": "Mount path must match: /^[0-9a-zA-Z_/][0-9a-zA-Z_/.-]*[0-9a-zA-Z_/]$/",
+ "Name": "Name",
+ "Network Configuration": "Network",
+ "Next Execution Time": "Next Scheduled",
+ "No Applications": "No Apps Available",
+ "None": "None",
+ "Not Configured": "Not Configured",
+ "Not Enabled": "Disabled",
+ "Not need to configure any parameters": "No configuration needed for this application",
+ "Number of Instances": "Instance Count",
+ "One Click Deployment": "Pre-configured solutions for one-click app deployment",
+ "One click deploy button": "One-Click deploy button",
+ "Operation": "Operation",
"Option": "Optional",
- "Run command": "Run command",
- "Command parameters": "Command parameters",
- "Add": "Add",
- "Add volume": "Add volume",
- "Separated by spaces": "Separate with spaces, e.g.: ",
- "Such as": "Example: ",
- "Username": "Username",
+ "others": "Others",
+ "Parameters": "Parameters",
"Password": "Password",
"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 Price",
- "Day": "Day",
- "AnticipatedPrice": "Estimated Cost",
- "Pods List": "Pods List",
- "Number of Instances": "Instance Count",
+ "Pause": "Pause",
+ "Paused": "Paused",
+ "Perday": "Perday",
+ "Please CNAME your custom domain to": "Please set up a CNAME record for your custom domain pointing to",
+ "Please Enter": "Enter here",
+ "Please confirm to restart the Pod?": "Confirm Pod restart?",
+ "Please enter": "Enter",
+ "Pod": "Pod",
"Pod Name": "Pod Name",
+ "Pods List": "Pods List",
+ "Private": "Private",
+ "Problem Analysis": "Issue Analysis",
+ "Prompt": "Notice",
+ "Public": "Public",
+ "Real-time Monitoring": "Real-time Monitoring",
+ "Reboot Success": "Reboot Successful",
+ "Replicas": "Replicas",
+ "Restart": "Restart",
"Restarts Num": "Restarts",
- "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": "File name is required",
- "File Value can not empty": "File content is required",
- "ConfigMap Path Conflict": "ConfigMap Path Conflict",
- "Storage path can not empty": "Mount path is required",
- "Storage Range": "Storage Range",
- "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": "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": "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",
- "Please enter YAML code": "Please enter YAML code",
- "Preview": "Preview",
- "Configure Form": "Configure Form",
- "YAML File": "YAML File",
- "Template Development": "Template Development",
- "Dryrun Deploy": "Test Deployment",
- "Formal Deploy": "Deploy",
- "Debugging Template": "Debugging Template"
- },
+ "Run command": "Run command",
+ "Running": "Running",
+ "Schedule": "Schedule",
+ "Separated by spaces": "Separate with spaces, e.g.: ",
+ "Share": "Share",
+ "Share Link": "Share Link",
"SideBar": {
"Applications": "Applications",
"My App": "My Apps",
+ "ai": "AI",
"backend": "Backend",
+ "blog": "Blog",
"database": "Database",
- "monitor": "Monitoring",
+ "dev-ops": "DevOps",
"frontend": "Frontend",
"game": "Games",
- "ai": "AI",
- "tool": "Tools",
- "dev-ops": "DevOps",
- "blog": "Blog",
"low-code": "Low-Code",
- "storage": "Storage"
+ "monitor": "Monitoring",
+ "storage": "Storage",
+ "tool": "Tools"
},
- "Schedule": "Schedule",
- "Last Schedule": "Last Execution",
- "Last Schedule Time": "Execution Time:",
- "Last Successful Time": "Last Successful:",
- "Next Execution Time": "Next Scheduled",
+ "Start Up": "Start",
+ "Stateful": "Stateful",
+ "Stateless": "Stateless",
+ "Status": "Status",
+ "Storage": "Storage",
+ "Storage Range": "Storage Range",
+ "Storage Value can not empty": "Storage capacity is required",
+ "Storage path can not empty": "Mount path is required",
+ "Submit Error": "Submission Error",
+ "Such as": "Example: ",
+ "Template Config": "Template Configuration",
+ "TemplateNameError": "Template name is required",
+ "Templates": "Template Marketplace",
+ "Terminal": "Terminal",
"There is no resource of this type": "No resources of this type available",
- "Others": "Others",
+ "TotalPrice": "Total Price",
+ "Type": "Type",
"Unload": "Uninstall",
+ "Update": "Update",
+ "Update Application": "Update App",
+ "Update Failed": "Update Failed",
+ "Update Successful": "Update Successful",
+ "Update Time": "Last Updated",
+ "Username": "Username",
+ "Username for the image registry": "Image Registry Username",
+ "YAML File": "YAML",
+ "You haven't created any application yet.": "You don't have any apps yet.",
+ "capacity": "capacity",
+ "cronjob": "CronJob",
+ "database": "DataBase",
"delete message": "Are you sure you want to delete this app? If you proceed, all project data will be permanently deleted.",
- "Installed": "Installed",
- "Kind": "Category",
- "Component": "Component",
- "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 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": "Installed On",
+ "develop": {
+ "Configure Form": "Configure Form",
+ "Debugging Template": "Debugging Template",
+ "Development": "Development",
+ "Dryrun Deploy": "Test Deployment",
+ "Formal Deploy": "Deploy",
+ "Please enter YAML code": "Please enter YAML code",
+ "Preview": "Preview",
+ "Template Development": "Template Development",
+ "YAML File": "YAML File",
+ "publish": "publish"
+ },
+ "file": "file",
+ "file value": "File Content",
+ "filename": "Filename",
+ "grpcs": "gRPCS",
+ "https": "HTTPS",
+ "jump_message": "This app can't be used independently. Click 'OK' to use it in Sealos Desktop.",
+ "jump_prompt": "Redirect Notice",
+ "launchpad": "App Launchpad",
+ "local storage": "Local Storage",
+ "mount path": "mount path",
+ "multiple instances do not share data": "Storage volumes are not shared between instances",
+ "object_storage": "Object Storage",
+ "pause_message": "Pausing will stop CPU and memory charges, but storage and external network port fees will continue. Pause now?",
+ "permission": "Permission",
+ "private": "private",
+ "protocol": "protocol",
+ "public": "public",
+ "success": "success",
+ "target_value": "Target Value",
"users installed the app": "{{count}} users have installed this app",
- "Please Enter": "Enter here",
- "Delete successful": "Delete successful",
- "Delete Failed": "Delete Failed",
- "Description": "Description",
- "permission": "Permission"
+ "websocket": "WebSocket"
}
\ No newline at end of file
diff --git a/frontend/providers/template/public/locales/zh/common.json b/frontend/providers/template/public/locales/zh/common.json
index c1716973eaa..35165f04466 100644
--- a/frontend/providers/template/public/locales/zh/common.json
+++ b/frontend/providers/template/public/locales/zh/common.json
@@ -1,213 +1,217 @@
{
- "Applications": "应用列表",
- "Create Application": "新建应用",
- "Cancel": "取消",
- "Confirm": "确认",
- "Name": "名字",
- "Status": "状态",
- "Creation Time": "创建时间",
- "CPU": "CPU",
- "Memory": "内存",
- "Replicas": "实例数",
- "Pod": "实例",
- "Operation": "操作",
- "Running": "运行中",
- "Paused": "已暂停",
+ "Abnormality Detected": "有异常",
+ "Accessible to the Public": "可外网访问",
"Active": "活跃",
- "Details": "详情",
- "Start Up": "启动",
- "Delete": "删除",
- "Pause": "暂停",
- "Restart": "重启",
- "Update": "变更",
+ "Add": "新增",
+ "Add volume": "新增存储卷",
+ "Advanced Configuration": "高级配置",
+ "Age": "启动时长",
+ "AnticipatedPrice": "预估价格",
+ "App Name": "应用名称",
+ "Application Deployment": "应用部署",
+ "Application List": " 应用列表",
+ "Application Name": "应用名称",
"Application Type": "应用类型",
+ "Applications": "应用列表",
+ "Are you sure you want to delete this application? If you proceed, all data for this project will be deleted.": "如果确认要删除这个应用吗?如果执行此操作,将删除该项目的所有数据。",
+ "Auto scaling": "弹性伸缩",
"Basic Information": "基本信息",
- "Deployment Mode": "部署模式",
- "Advanced Configuration": "高级配置",
+ "Button Effect": "按钮效果",
+ "CPU": "CPU",
+ "CPU target is the CPU utilization rate of any container": "CPU 目标值为任一容器的 CPU 利用率",
+ "CPU target value": "CPU 目标值",
+ "Can not change storage path": "不允许修改挂载路径",
+ "Cancel": "取消",
"Command": "启动命令",
- "Parameters": "运行参数",
- "Not Configured": "未配置",
- "Accessible to the Public": "可外网访问",
+ "Command parameters": "命令参数",
+ "Component": "组件",
+ "Config Form": "配置表单",
+ "ConfigMap Path Conflict": "配置文件路径冲突",
"Configuration File": "配置文件",
- "Storage": "存储卷",
- "Environment Variables": "环境变量",
- "Image Name": "镜像名",
- "Private": "私有",
- "Public": "公开",
- "Image Name (Private)": "镜像名(私有)",
- "Real-time Monitoring": "实时监控",
- "Network Configuration": "网络配置",
- "Intranet Address": "内网地址",
- "External Address": "外网地址",
- "Not Enabled": "未开启",
- "Update Time": "更新时间",
- "Continue": "继续",
- "Terminal": "终端",
- "Log": "日志",
- "None": "暂无",
- "Intelligent Analysis": "智能分析",
- "Problem Analysis": "问题分析",
- "Export": "导出",
- "Edit Environment Variables": "编辑环境变量",
- "Application Deployment": "应用部署",
- "Creating": "创建中",
- "Abnormality Detected": "有异常",
- "Update Application": "变更应用",
- "Deploy Application": "部署应用",
+ "Configure Project": "基础配置",
+ "Confirm": "确认",
"Confirm Deploy Application?": "确认部署应用?",
- "Deployment Successful": "部署成功",
- "Deployment Failed": "部署失败",
"Confirm Update Application?": "确认更新应用?",
- "Update Successful": "更新成功",
- "Update Failed": "更新失败",
- "Prompt": "提示",
- "jump_prompt": "跳转提示",
- "jump_message": "该应用不允许单独使用,点击确认前往 Sealos Desktop 使用。",
- "pause_message": "暂停服务将停止计算 CPU 和内存等费用,但存储和外网端口仍将产生费用。是否现在暂停?",
- "Confirm to restart this application?": "确认重启该应用?",
- "You haven't created any application yet.": "您还没有新建应用。",
"Confirm deletion": "确认删除",
+ "Confirm to restart this application?": "确认重启该应用?",
+ "Container Ports": "容器暴露端口",
+ "Continue": "继续",
+ "Copy Success": "复制成功",
+ "Create Application": "新建应用",
+ "Creating": "创建中",
+ "Creation Time": "创建时间",
+ "Custom domain": "自定义域名",
+ "Day": "天",
+ "Delete": "删除",
+ "Delete Failed": "删除失败",
+ "Delete successful": "删除成功",
"Deletion warning": "删除警告",
- "Are you sure you want to delete this application? If you proceed, all data for this project will be deleted.": "如果确认要删除这个应用吗?如果执行此操作,将删除该项目的所有数据。",
- "Please enter": "请输入",
- "Auto scaling": "弹性伸缩",
+ "Deploy Application": "部署应用",
+ "Deploy on sealos": "去 Sealos 部署",
+ "Deployment Failed": "部署失败",
+ "Deployment Mode": "部署模式",
+ "Deployment Successful": "部署成功",
+ "Deployment successful, please go to My Application to view": "部署成功,请前往我的应用查看",
+ "Description": "描述",
+ "Details": "详情",
+ "Do you want to jump to the app details page": "您要跳转到应用详情页吗?",
+ "Edit": "编辑",
+ "Edit App Name": "编辑应用名称",
+ "Edit Env Variable": "编辑环境变量",
+ "Edit Environment Variables": "编辑环境变量",
+ "Environment Variables": "环境变量",
+ "Export": "导出",
+ "Export Domain": "出口域名",
+ "External Address": "外网地址",
+ "File Name": "文件名",
+ "File Value can not empty": "文件值不能为空",
+ "Filename can not empty": "文件名不能为空",
"Fixed instance": "固定实例",
- "Stateful": "有状态",
- "Stateless": "无状态",
+ "Heading to sealos soon": "即将前往 Sealos",
+ "Home Page": "项目首页",
+ "Html Part": "HTML 片段",
+ "Image": "镜像源",
+ "Image Name": "镜像名",
+ "Image Name (Private)": "镜像名(私有)",
+ "Image address": "镜像仓库地址",
"Image name cannot be empty.": "镜像名不能为空。",
- "Please confirm to restart the Pod?": "请确认重启 Pod ?",
+ "Installation Time": "安装时间",
+ "Installed": "我安装的",
+ "Intelligent Analysis": "智能分析",
+ "Intranet Address": "内网地址",
+ "Items": "个实例",
+ "Kind": "类型",
+ "Last Schedule": "上次执行",
+ "Last Schedule Time": "执行时间:",
+ "Last Successful Time": "成功时间:",
"Limit CPU": "CPU Limit",
"Limit Memory": "Memory Limit",
- "CPU target value": "CPU 目标值",
+ "Log": "日志",
+ "Markdown Part": "Markdown 片段",
+ "Max Storage Value": "容量最大为",
+ "Memory": "内存",
"Memory target value": "内存目标值",
- "Reboot Success": "重启成功",
- "success": "成功",
- "target_value": "目标值",
- "Edit Env Variable": "编辑环境变量",
- "public": "公共",
- "private": "私有",
- "Config Form": "配置表单",
- "file": "文件",
- "Image": "镜像源",
- "App Name": "应用名称",
- "Configure Project": "基础配置",
- "YAML File": "YAML 文件",
- "filename": "文件名",
- "file value": "文件值",
- "local storage": "本地存储",
- "multiple instances do not share data": "存储卷不支持多个实例共享",
- "capacity": "容量",
- "mount path": "挂载路径",
- "Container Ports": "容器暴露端口",
- "CPU target is the CPU utilization rate of any container": "CPU 目标值为任一容器的 CPU 利用率",
- "protocol": "协议",
- "Export Domain": "出口域名",
- "Custom domain": "自定义域名",
- "Please CNAME your custom domain to": "请将您的自定义域名 CNAME 到",
+ "Min Storage Value": "容量最小为",
+ "Mount Path Auth": "挂载路径需满足: /^[0-9a-zA-Z_/][0-9a-zA-Z_/.-]*[0-9a-zA-Z_/]$/",
+ "Name": "名字",
+ "Network Configuration": "网络配置",
+ "Next Execution Time": "下次执行时间",
+ "No Applications": "暂无应用",
+ "None": "暂无",
+ "Not Configured": "未配置",
+ "Not Enabled": "未开启",
+ "Not need to configure any parameters": "当前应用不需要配置任何参数",
+ "Number of Instances": "实例数",
+ "One Click Deployment": "为您预先构建解决方案,体验一键部署应用",
+ "One click deploy button": "一键部署按钮",
+ "Operation": "操作",
"Option": "选填",
- "Run command": "运行命令",
- "Command parameters": "命令参数",
- "Add": "新增",
- "Add volume": "新增存储卷",
- "Separated by spaces": "空格分开,如: ",
- "Such as": "例如: ",
- "Username": "用户名",
+ "others": "其他资源",
+ "Parameters": "运行参数",
"Password": "密码",
"Password for the image registry": "镜像仓库的密码",
- "Username for the image registry": "镜像仓库的用户名",
- "Image address": "镜像仓库地址",
- "https": "HTTPS",
- "grpcs": "gRPCS",
- "websocket": "WebSocket",
- "TotalPrice": "总价",
- "Day": "天",
- "AnticipatedPrice": "预估价格",
- "Pods List": "实例列表",
- "Number of Instances": "实例数",
+ "Pause": "暂停",
+ "Paused": "已暂停",
+ "Perday": "每日",
+ "Please CNAME your custom domain to": "请将您的自定义域名 CNAME 到",
+ "Please Enter": "请输入",
+ "Please confirm to restart the Pod?": "请确认重启 Pod ?",
+ "Please enter": "请输入",
+ "Pod": "实例",
"Pod Name": "实例名",
+ "Pods List": "实例列表",
+ "Private": "私有",
+ "Problem Analysis": "问题分析",
+ "Prompt": "提示",
+ "Public": "公开",
+ "Real-time Monitoring": "实时监控",
+ "Reboot Success": "重启成功",
+ "Replicas": "实例数",
+ "Restart": "重启",
"Restarts Num": "重启次数",
- "Age": "启动时长",
- "Items": "个实例",
- "Mount Path Auth": "挂载路径需满足: /^[0-9a-zA-Z_/][0-9a-zA-Z_/.-]*[0-9a-zA-Z_/]$/",
- "File Name": "文件名",
- "Filename can not empty": "文件名不能为空",
- "File Value can not empty": "文件值不能为空",
- "ConfigMap Path Conflict": "配置文件路径冲突",
- "Storage path can not empty": "挂载路径不能为空",
- "Storage Range": "容量范围",
- "Storage Value can not empty": "容量不能为空",
- "Min Storage Value": "容量最小为",
- "Max Storage Value": "容量最大为",
- "Can not change storage path": "不允许修改挂载路径",
- "Perday": "每日",
- "Submit Error": "提交表单错误",
- "Copy Success": "复制成功",
- "TemplateNameError": "模板名称不能为空",
- "Template Config": "模板配置",
- "Templates": "模板市场",
- "One Click Deployment": "为您预先构建解决方案,体验一键部署应用",
- "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",
- "develop": {
- "publish": "发布",
- "Development": "开发",
- "Please enter YAML code": "请输入 YAML 代码",
- "Preview": "预览",
- "Configure Form": "配置表单",
- "YAML File": "YAML 文件",
- "Template Development": "模板开发",
- "Dryrun Deploy": "试运行部署",
- "Formal Deploy": "正式部署",
- "Debugging Template": "在线调试模板"
- },
+ "Run command": "运行命令",
+ "Running": "运行中",
+ "Schedule": "执行周期",
+ "Separated by spaces": "空格分开,如: ",
+ "Share": "分享",
+ "Share Link": "分享链接",
"SideBar": {
"Applications": "所有应用",
"My App": "我的应用",
+ "ai": "AI",
"backend": "后端",
+ "blog": "博客",
"database": "数据库",
- "monitor": "监控",
+ "dev-ops": "运维",
"frontend": "前端",
"game": "游戏",
- "ai": "AI",
- "tool": "工具",
- "dev-ops": "运维",
- "blog": "博客",
"low-code": "低代码",
- "storage": "存储"
+ "monitor": "监控",
+ "storage": "存储",
+ "tool": "工具"
},
- "Schedule": "执行周期",
- "Last Schedule": "上次执行",
- "Last Schedule Time": "执行时间:",
- "Last Successful Time": "成功时间:",
- "Next Execution Time": "下次执行时间",
+ "Start Up": "启动",
+ "Stateful": "有状态",
+ "Stateless": "无状态",
+ "Status": "状态",
+ "Storage": "存储卷",
+ "Storage Range": "容量范围",
+ "Storage Value can not empty": "容量不能为空",
+ "Storage path can not empty": "挂载路径不能为空",
+ "Submit Error": "提交表单错误",
+ "Such as": "例如: ",
+ "Template Config": "模板配置",
+ "TemplateNameError": "模板名称不能为空",
+ "Templates": "模板市场",
+ "Terminal": "终端",
"There is no resource of this type": "没有此类型的资源",
- "Others": "其他资源",
+ "TotalPrice": "总价",
+ "Type": "类型",
"Unload": "卸载",
+ "Update": "变更",
+ "Update Application": "变更应用",
+ "Update Failed": "更新失败",
+ "Update Successful": "更新成功",
+ "Update Time": "更新时间",
+ "Username": "用户名",
+ "Username for the image registry": "镜像仓库的用户名",
+ "YAML File": "YAML 文件",
+ "You haven't created any application yet.": "您还没有新建应用。",
+ "capacity": "容量",
+ "cronjob": "定时任务",
+ "database": "数据库",
"delete message": "您确定要删除此应用程序吗?\n如果继续,该项目的所有数据都将被删除。",
- "Installed": "我安装的",
- "Kind": "类型",
- "Component": "组件",
- "No Applications": "暂无应用",
- "Home Page": "项目首页",
- "Share": "分享",
- "Share Link": "分享链接",
- "One click deploy button": "一键部署按钮",
- "Html Part": "HTML 片段",
- "Markdown Part": "Markdown 片段",
- "Button Effect": "按钮效果",
- "Deployment successful, please go to My Application to view": "部署成功,请前往我的应用查看",
- "Type": "类型",
- "Edit": "编辑",
- "Edit App Name": "编辑应用名称",
- "Installation Time": "安装时间",
+ "develop": {
+ "Configure Form": "配置表单",
+ "Debugging Template": "在线调试模板",
+ "Development": "开发",
+ "Dryrun Deploy": "试运行部署",
+ "Formal Deploy": "正式部署",
+ "Please enter YAML code": "请输入 YAML 代码",
+ "Preview": "预览",
+ "Template Development": "模板开发",
+ "YAML File": "YAML 文件",
+ "publish": "发布"
+ },
+ "file": "文件",
+ "file value": "文件值",
+ "filename": "文件名",
+ "grpcs": "gRPCS",
+ "https": "HTTPS",
+ "jump_message": "该应用不允许单独使用,点击确认前往 Sealos Desktop 使用。",
+ "jump_prompt": "跳转提示",
+ "launchpad": "应用管理",
+ "local storage": "本地存储",
+ "mount path": "挂载路径",
+ "multiple instances do not share data": "存储卷不支持多个实例共享",
+ "object_storage": "对象存储",
+ "pause_message": "暂停服务将停止计算 CPU 和内存等费用,但存储和外网端口仍将产生费用。是否现在暂停?",
+ "permission": "权限",
+ "private": "私有",
+ "protocol": "协议",
+ "public": "公共",
+ "success": "成功",
+ "target_value": "目标值",
"users installed the app": "已有 {{count}} 名用户安装该应用",
- "Please Enter": "请输入",
- "Delete successful": "删除成功",
- "Delete Failed": "删除失败",
- "Description": "描述",
- "permission": "权限"
+ "websocket": "WebSocket"
}
\ No newline at end of file
diff --git a/frontend/providers/template/src/pages/instance/components/appList.tsx b/frontend/providers/template/src/pages/instance/components/appList.tsx
index d06a33e6135..f4550dac4f9 100644
--- a/frontend/providers/template/src/pages/instance/components/appList.tsx
+++ b/frontend/providers/template/src/pages/instance/components/appList.tsx
@@ -134,7 +134,7 @@ export default function AppList({ instanceName }: { instanceName: string }) {
- App Launchpad
+ {t('launchpad')}
diff --git a/frontend/providers/template/src/pages/instance/components/cronjobList.tsx b/frontend/providers/template/src/pages/instance/components/cronjobList.tsx
index 67f7b3cc6a2..c1737a97d53 100644
--- a/frontend/providers/template/src/pages/instance/components/cronjobList.tsx
+++ b/frontend/providers/template/src/pages/instance/components/cronjobList.tsx
@@ -121,7 +121,7 @@ export default function CronJobList({ instanceName }: { instanceName: string })
- CronJob
+ {t('cronjob')}
diff --git a/frontend/providers/template/src/pages/instance/components/dbList.tsx b/frontend/providers/template/src/pages/instance/components/dbList.tsx
index dc268d6a7ea..7b414c3e03b 100644
--- a/frontend/providers/template/src/pages/instance/components/dbList.tsx
+++ b/frontend/providers/template/src/pages/instance/components/dbList.tsx
@@ -122,7 +122,7 @@ export default function AppList({ instanceName }: { instanceName: string }) {
- DataBase
+ {t('database')}
diff --git a/frontend/providers/template/src/pages/instance/components/objStorageList.tsx b/frontend/providers/template/src/pages/instance/components/objStorageList.tsx
index 97bea7efe78..cadbf959a2d 100644
--- a/frontend/providers/template/src/pages/instance/components/objStorageList.tsx
+++ b/frontend/providers/template/src/pages/instance/components/objStorageList.tsx
@@ -114,7 +114,7 @@ export default function ObjStorageList({ instanceName }: { instanceName: string
/>
- Object Storage
+ {t('object_storage')}
diff --git a/frontend/providers/template/src/pages/instance/components/otherList.tsx b/frontend/providers/template/src/pages/instance/components/otherList.tsx
index dc4d6db6285..472cd598f56 100644
--- a/frontend/providers/template/src/pages/instance/components/otherList.tsx
+++ b/frontend/providers/template/src/pages/instance/components/otherList.tsx
@@ -79,8 +79,7 @@ export default function OtherList({ instanceName }: { instanceName: string }) {
- {/* {t('Others')} */}
- Others
+ {t('others')}