mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-31 22:18:07 +08:00
fix: 修改部分国际化内容 (#1669)
This commit is contained in:
parent
61a0244cfe
commit
3b3584714c
@ -356,7 +356,7 @@ const message = {
|
|||||||
threadCacheHitHelper: 'If it is too low, increase thread_cache_size',
|
threadCacheHitHelper: 'If it is too low, increase thread_cache_size',
|
||||||
indexHit: 'Index hit',
|
indexHit: 'Index hit',
|
||||||
indexHitHelper: 'If it is too low, increase key_buffer_size',
|
indexHitHelper: 'If it is too low, increase key_buffer_size',
|
||||||
innodbIndexHit: 'Innodb 索引命中率',
|
innodbIndexHit: 'Innodb index hit rate',
|
||||||
innodbIndexHitHelper: 'If it is too low, increase innodb_buffer_pool_size',
|
innodbIndexHitHelper: 'If it is too low, increase innodb_buffer_pool_size',
|
||||||
cacheHit: 'Querying the Cache Hit',
|
cacheHit: 'Querying the Cache Hit',
|
||||||
cacheHitHelper: 'If it is too low, increase query_cache_size',
|
cacheHitHelper: 'If it is too low, increase query_cache_size',
|
||||||
@ -444,7 +444,8 @@ const message = {
|
|||||||
localIP: 'Local IP',
|
localIP: 'Local IP',
|
||||||
},
|
},
|
||||||
container: {
|
container: {
|
||||||
createContainer: 'Create container',
|
create: 'Create container',
|
||||||
|
edit: 'Edit container',
|
||||||
updateContaienrHelper:
|
updateContaienrHelper:
|
||||||
'Container editing requires rebuilding the container. Any data that has not been persisted will be lost. Do you want to continue?',
|
'Container editing requires rebuilding the container. Any data that has not been persisted will be lost. Do you want to continue?',
|
||||||
containerList: 'Container list',
|
containerList: 'Container list',
|
||||||
@ -650,13 +651,13 @@ const message = {
|
|||||||
startIn: ' to start',
|
startIn: ' to start',
|
||||||
},
|
},
|
||||||
cronjob: {
|
cronjob: {
|
||||||
cronTask: 'Task',
|
cronTask: 'Cronjob',
|
||||||
changeStatus: 'Change status',
|
changeStatus: 'Change status',
|
||||||
disableMsg:
|
disableMsg:
|
||||||
'Stopping the scheduled task will result in the task no longer automatically executing. Do you want to continue?',
|
'Stopping the scheduled task will result in the task no longer automatically executing. Do you want to continue?',
|
||||||
enableMsg:
|
enableMsg:
|
||||||
'Enabling the scheduled task will allow the task to automatically execute on a regular basis. Do you want to continue?',
|
'Enabling the scheduled task will allow the task to automatically execute on a regular basis. Do you want to continue?',
|
||||||
taskType: 'Task type',
|
taskType: 'Cronjob type',
|
||||||
record: 'Records',
|
record: 'Records',
|
||||||
shell: 'Shell script',
|
shell: 'Shell script',
|
||||||
containerCheckBox: 'In container (no need to enter the container command)',
|
containerCheckBox: 'In container (no need to enter the container command)',
|
||||||
@ -674,7 +675,7 @@ const message = {
|
|||||||
syncDate: 'Synchronization time ',
|
syncDate: 'Synchronization time ',
|
||||||
releaseMemory: 'Free memory',
|
releaseMemory: 'Free memory',
|
||||||
curl: 'Access URL',
|
curl: 'Access URL',
|
||||||
taskName: 'Task name',
|
taskName: 'Cronjob name',
|
||||||
cronSpec: 'Lifecycle',
|
cronSpec: 'Lifecycle',
|
||||||
cronSpecHelper: 'Enter the correct execution period',
|
cronSpecHelper: 'Enter the correct execution period',
|
||||||
cleanHelper:
|
cleanHelper:
|
||||||
@ -711,7 +712,7 @@ const message = {
|
|||||||
sunday: 'Sunday',
|
sunday: 'Sunday',
|
||||||
shellContent: 'Script content',
|
shellContent: 'Script content',
|
||||||
errRecord: 'Incorrect logging',
|
errRecord: 'Incorrect logging',
|
||||||
errHandle: 'Task execution failure',
|
errHandle: 'Cronjob execution failure',
|
||||||
noRecord: 'The execution did not generate any logs',
|
noRecord: 'The execution did not generate any logs',
|
||||||
cleanData: 'Clean data',
|
cleanData: 'Clean data',
|
||||||
cleanDataHelper: 'Delete the backup file generated during this task.',
|
cleanDataHelper: 'Delete the backup file generated during this task.',
|
||||||
@ -1018,7 +1019,7 @@ const message = {
|
|||||||
entranceInputHelper: 'When the security entry is set to blank, the security entry is cancelled.',
|
entranceInputHelper: 'When the security entry is set to blank, the security entry is cancelled.',
|
||||||
randomGenerate: 'Random',
|
randomGenerate: 'Random',
|
||||||
expirationTime: 'Expiration Time',
|
expirationTime: 'Expiration Time',
|
||||||
unSetting: 'Not Set',
|
unSetting: 'Unset',
|
||||||
noneSetting:
|
noneSetting:
|
||||||
'Set the expiration time for the panel password. After the expiration, you need to reset the password',
|
'Set the expiration time for the panel password. After the expiration, you need to reset the password',
|
||||||
expirationHelper: 'If the password expiration time is [0] days, the password expiration function is disabled',
|
expirationHelper: 'If the password expiration time is [0] days, the password expiration function is disabled',
|
||||||
@ -1500,6 +1501,8 @@ const message = {
|
|||||||
acmeHelper: 'Acme account is used to apply for free certificates',
|
acmeHelper: 'Acme account is used to apply for free certificates',
|
||||||
},
|
},
|
||||||
firewall: {
|
firewall: {
|
||||||
|
create: 'Create rule',
|
||||||
|
edit: 'Edit rule',
|
||||||
notSupport:
|
notSupport:
|
||||||
'No system firewall detected (firewalld or ufw). Please refer to the official documentation for installation.',
|
'No system firewall detected (firewalld or ufw). Please refer to the official documentation for installation.',
|
||||||
ccDeny: 'CC Protection',
|
ccDeny: 'CC Protection',
|
||||||
|
@ -66,7 +66,7 @@
|
|||||||
fix
|
fix
|
||||||
:formatter="dateFormat"
|
:formatter="dateFormat"
|
||||||
/>
|
/>
|
||||||
<fu-table-operations :buttons="buttons" :label="$t('commons.table.operate')" />
|
<fu-table-operations width="200px" :buttons="buttons" :label="$t('commons.table.operate')" />
|
||||||
</ComplexTable>
|
</ComplexTable>
|
||||||
</template>
|
</template>
|
||||||
</LayoutContent>
|
</LayoutContent>
|
||||||
|
@ -80,7 +80,7 @@
|
|||||||
<el-table-column :label="$t('cronjob.cronSpec')" :min-width="120">
|
<el-table-column :label="$t('cronjob.cronSpec')" :min-width="120">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<span v-if="row.specType.indexOf('N') === -1 || row.specType === 'perWeek'">
|
<span v-if="row.specType.indexOf('N') === -1 || row.specType === 'perWeek'">
|
||||||
{{ $t('cronjob.' + row.specType) }}
|
{{ $t('cronjob.' + row.specType) }}
|
||||||
</span>
|
</span>
|
||||||
<span v-else>{{ $t('cronjob.per') }}</span>
|
<span v-else>{{ $t('cronjob.per') }}</span>
|
||||||
<span v-if="row.specType === 'perMonth'">
|
<span v-if="row.specType === 'perMonth'">
|
||||||
@ -123,7 +123,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<fu-table-operations
|
<fu-table-operations
|
||||||
width="200px"
|
width="300px"
|
||||||
:buttons="buttons"
|
:buttons="buttons"
|
||||||
:ellipsis="10"
|
:ellipsis="10"
|
||||||
:label="$t('commons.table.operate')"
|
:label="$t('commons.table.operate')"
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
<el-col :span="1"><br /></el-col>
|
<el-col :span="1"><br /></el-col>
|
||||||
<el-col :xs="24" :sm="20" :md="20" :lg="10" :xl="10">
|
<el-col :xs="24" :sm="20" :md="20" :lg="10" :xl="10">
|
||||||
<el-form :model="form" label-position="left" ref="formRef" label-width="120px">
|
<el-form :model="form" label-position="left" ref="formRef" label-width="120px">
|
||||||
<el-form-item :label="$t('ssh.port')" prop="port">
|
<el-form-item :label="$t('commons.table.port')" prop="port">
|
||||||
<el-input disabled v-model.number="form.port">
|
<el-input disabled v-model.number="form.port">
|
||||||
<template #append>
|
<template #append>
|
||||||
<el-button @click="onChangePort" icon="Setting">
|
<el-button @click="onChangePort" icon="Setting">
|
||||||
|
@ -8,12 +8,12 @@
|
|||||||
size="30%"
|
size="30%"
|
||||||
>
|
>
|
||||||
<template #header>
|
<template #header>
|
||||||
<DrawerHeader :header="$t('ssh.port')" :back="handleClose" />
|
<DrawerHeader :header="$t('commons.table.port')" :back="handleClose" />
|
||||||
</template>
|
</template>
|
||||||
<el-form ref="formRef" label-position="top" :model="form" @submit.prevent v-loading="loading">
|
<el-form ref="formRef" label-position="top" :model="form" @submit.prevent v-loading="loading">
|
||||||
<el-row type="flex" justify="center">
|
<el-row type="flex" justify="center">
|
||||||
<el-col :span="22">
|
<el-col :span="22">
|
||||||
<el-form-item :label="$t('ssh.port')" prop="port" :rules="Rules.port">
|
<el-form-item :label="$t('commons.table.port')" prop="port" :rules="Rules.port">
|
||||||
<el-input clearable v-model.number="form.port" />
|
<el-input clearable v-model.number="form.port" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
@ -63,7 +63,7 @@ const onSave = async (formEl: FormInstance | undefined) => {
|
|||||||
formEl.validate(async (valid) => {
|
formEl.validate(async (valid) => {
|
||||||
if (!valid) return;
|
if (!valid) return;
|
||||||
ElMessageBox.confirm(
|
ElMessageBox.confirm(
|
||||||
i18n.global.t('ssh.sshChangeHelper', [i18n.global.t('ssh.port'), form.port]),
|
i18n.global.t('ssh.sshChangeHelper', [i18n.global.t('commons.table.port'), form.port]),
|
||||||
i18n.global.t('ssh.sshChange'),
|
i18n.global.t('ssh.sshChange'),
|
||||||
{
|
{
|
||||||
confirmButtonText: i18n.global.t('commons.button.confirm'),
|
confirmButtonText: i18n.global.t('commons.button.confirm'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user