Browse Source

fix: 容器创建启动命令提示信息修改 (#1917)

pull/1919/head
ssongliu 1 year ago committed by GitHub
parent
commit
85c935ee46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      frontend/src/lang/modules/en.ts
  2. 2
      frontend/src/lang/modules/tw.ts
  3. 2
      frontend/src/lang/modules/zh.ts
  4. 3
      frontend/src/views/container/container/operate/index.vue

2
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',

2
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: '內存限製',

2
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: '内存限制',

3
frontend/src/views/container/container/operate/index.vue

@ -110,7 +110,8 @@
</el-select>
</el-form-item>
<el-form-item :label="$t('container.cmd')" prop="cmdStr">
<el-input :placeholder="$t('container.cmdHelper')" v-model="dialogData.rowData!.cmdStr" />
<el-input v-model="dialogData.rowData!.cmdStr" />
<span class="input-help">{{ $t('container.cmdHelper') }}</span>
</el-form-item>
<el-form-item prop="autoRemove">
<el-checkbox v-model="dialogData.rowData!.autoRemove">

Loading…
Cancel
Save