From 85c935ee46fcbffa84bf5e91408ede03f0cae191 Mon Sep 17 00:00:00 2001 From: ssongliu <73214554+ssongliu@users.noreply.github.com> Date: Fri, 11 Aug 2023 14:04:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AE=B9=E5=99=A8=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E5=90=AF=E5=8A=A8=E5=91=BD=E4=BB=A4=E6=8F=90=E7=A4=BA=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E4=BF=AE=E6=94=B9=20(#1917)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/lang/modules/en.ts | 2 +- frontend/src/lang/modules/tw.ts | 2 +- frontend/src/lang/modules/zh.ts | 2 +- frontend/src/views/container/container/operate/index.vue | 3 ++- 4 files changed, 5 insertions(+), 4 deletions(-) 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') }}