fix: 提示信息国际化修改 (#931)

This commit is contained in:
ssongliu 2023-05-08 16:49:41 +08:00 committed by GitHub
parent ed3e7e7c26
commit f22caed20c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 8 deletions

View file

@ -581,8 +581,9 @@ const message = {
'Allows the running container state to be preserved in case of unexpected shutdown or crash of the Docker daemon', 'Allows the running container state to be preserved in case of unexpected shutdown or crash of the Docker daemon',
liveWithSwarmHelper: 'live-restore daemon configuration is incompatible with swarm mode.', liveWithSwarmHelper: 'live-restore daemon configuration is incompatible with swarm mode.',
iptablesDisable: 'Close iptables', iptablesDisable: 'Close iptables',
iptablesHelper1: 'This setting will disable Docker automatic configuration of iptables rules, which may cause ', iptablesHelper1: 'This setting will disable Docker automatic configuration of iptables rules.',
iptablesHelper2: 'the container is unable to communicate with the external network', iptablesHelper2:
'This may cause the container to be unable to communicate with external networks. Do you want to continue?',
daemonJsonPath: 'Conf Path', daemonJsonPath: 'Conf Path',
serviceUnavailable: 'Docker service is not started at present, please click', serviceUnavailable: 'Docker service is not started at present, please click',
startIn: ' to start', startIn: ' to start',

View file

@ -594,8 +594,8 @@ const message = {
liveHelper: '允许在 Docker 守护进程发生意外停机或崩溃时保留正在运行的容器状态', liveHelper: '允许在 Docker 守护进程发生意外停机或崩溃时保留正在运行的容器状态',
liveWithSwarmHelper: 'live-restore 守护进程配置与 Swarm 模式不兼容', liveWithSwarmHelper: 'live-restore 守护进程配置与 Swarm 模式不兼容',
iptablesDisable: '关闭 iptables', iptablesDisable: '关闭 iptables',
iptablesHelper1: '该设置将关闭 Docker iptables 规则的自动配置这可能会导致', iptablesHelper1: '该设置将关闭 Docker iptables 规则的自动配置',
iptablesHelper2: '容器无法与外部网络通信', iptablesHelper2: '这可能会导致容器无法与外部网络通信是否继续',
daemonJsonPath: '配置路径', daemonJsonPath: '配置路径',
serviceUnavailable: '当前未启动 Docker 服务请在', serviceUnavailable: '当前未启动 Docker 服务请在',
startIn: '中开启', startIn: '中开启',

View file

@ -136,8 +136,9 @@
:show-close="false" :show-close="false"
> >
<span>{{ $t('container.iptablesHelper1') }}</span> <span>{{ $t('container.iptablesHelper1') }}</span>
<span style="color: red; font-weight: 500">{{ $t('container.iptablesHelper2') }}</span> <div style="margin-top: 10px">
! <span style="color: red; font-weight: 500">{{ $t('container.iptablesHelper2') }}</span>
</div>
<template #footer> <template #footer>
<span class="dialog-footer"> <span class="dialog-footer">
<el-button @click="onSaveIptables(true)">{{ $t('commons.button.cancel') }}</el-button> <el-button @click="onSaveIptables(true)">{{ $t('commons.button.cancel') }}</el-button>

View file

@ -40,10 +40,10 @@
</el-form-item> </el-form-item>
<div v-if="form.sslType === 'import'"> <div v-if="form.sslType === 'import'">
<el-form-item :label="$t('setting.primaryKey')" prop="key"> <el-form-item :label="$t('website.privateKey')" prop="key">
<el-input v-model="form.key" :autosize="{ minRows: 5, maxRows: 10 }" type="textarea" /> <el-input v-model="form.key" :autosize="{ minRows: 5, maxRows: 10 }" type="textarea" />
</el-form-item> </el-form-item>
<el-form-item class="margintop" :label="$t('setting.certificate')" prop="cert"> <el-form-item class="margintop" :label="$t('website.certificate')" prop="cert">
<el-input v-model="form.cert" :autosize="{ minRows: 5, maxRows: 10 }" type="textarea" /> <el-input v-model="form.cert" :autosize="{ minRows: 5, maxRows: 10 }" type="textarea" />
</el-form-item> </el-form-item>
</div> </div>