diff --git a/frontend/src/lang/modules/en.ts b/frontend/src/lang/modules/en.ts index 8256c4c40..075e159b8 100644 --- a/frontend/src/lang/modules/en.ts +++ b/frontend/src/lang/modules/en.ts @@ -533,7 +533,7 @@ const message = { exposePort: 'Expose port', exposeAll: 'Expose all', cmd: 'Command', - cmdHelper: 'Example: echo "hello"', + cmdHelper: "Separate multiple commands with ' ' as delimiter, such as 'nginx' '-g' 'daemon off;'", autoRemove: 'Auto remove', cpuQuota: 'NacosCPU', memoryLimit: 'Memory', diff --git a/frontend/src/lang/modules/tw.ts b/frontend/src/lang/modules/tw.ts index ab62b7e3b..2696c804f 100644 --- a/frontend/src/lang/modules/tw.ts +++ b/frontend/src/lang/modules/tw.ts @@ -519,7 +519,7 @@ const message = { exposePort: '暴露端口', exposeAll: '暴露所有', cmd: '啟動命令', - cmdHelper: '例:echo "hello"', + cmdHelper: "多個命令間請用 ' ' 分隔開,如 'nginx' '-g' 'daemon off;'", autoRemove: '容器退出後自動刪除容器', cpuQuota: 'CPU 限製', memoryLimit: '內存限製', diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts index fbf1fcea5..ecc919348 100644 --- a/frontend/src/lang/modules/zh.ts +++ b/frontend/src/lang/modules/zh.ts @@ -519,7 +519,7 @@ const message = { exposePort: '暴露端口', exposeAll: '暴露所有', cmd: '启动命令', - cmdHelper: '例:echo "hello"', + cmdHelper: "多个命令间请用 ' ' 分隔开,如 'nginx' '-g' 'daemon off;'", autoRemove: '容器退出后自动删除容器', cpuQuota: 'CPU 限制', memoryLimit: '内存限制', diff --git a/frontend/src/views/container/container/operate/index.vue b/frontend/src/views/container/container/operate/index.vue index 158a1448a..f42968d06 100644 --- a/frontend/src/views/container/container/operate/index.vue +++ b/frontend/src/views/container/container/operate/index.vue @@ -110,7 +110,8 @@ - + + {{ $t('container.cmdHelper') }}