mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-28 05:15:04 +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',
|
||||
indexHit: 'Index hit',
|
||||
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',
|
||||
cacheHit: 'Querying the Cache Hit',
|
||||
cacheHitHelper: 'If it is too low, increase query_cache_size',
|
||||
@ -444,7 +444,8 @@ const message = {
|
||||
localIP: 'Local IP',
|
||||
},
|
||||
container: {
|
||||
createContainer: 'Create container',
|
||||
create: 'Create container',
|
||||
edit: 'Edit container',
|
||||
updateContaienrHelper:
|
||||
'Container editing requires rebuilding the container. Any data that has not been persisted will be lost. Do you want to continue?',
|
||||
containerList: 'Container list',
|
||||
@ -650,13 +651,13 @@ const message = {
|
||||
startIn: ' to start',
|
||||
},
|
||||
cronjob: {
|
||||
cronTask: 'Task',
|
||||
cronTask: 'Cronjob',
|
||||
changeStatus: 'Change status',
|
||||
disableMsg:
|
||||
'Stopping the scheduled task will result in the task no longer automatically executing. Do you want to continue?',
|
||||
enableMsg:
|
||||
'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',
|
||||
shell: 'Shell script',
|
||||
containerCheckBox: 'In container (no need to enter the container command)',
|
||||
@ -674,7 +675,7 @@ const message = {
|
||||
syncDate: 'Synchronization time ',
|
||||
releaseMemory: 'Free memory',
|
||||
curl: 'Access URL',
|
||||
taskName: 'Task name',
|
||||
taskName: 'Cronjob name',
|
||||
cronSpec: 'Lifecycle',
|
||||
cronSpecHelper: 'Enter the correct execution period',
|
||||
cleanHelper:
|
||||
@ -711,7 +712,7 @@ const message = {
|
||||
sunday: 'Sunday',
|
||||
shellContent: 'Script content',
|
||||
errRecord: 'Incorrect logging',
|
||||
errHandle: 'Task execution failure',
|
||||
errHandle: 'Cronjob execution failure',
|
||||
noRecord: 'The execution did not generate any logs',
|
||||
cleanData: 'Clean data',
|
||||
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.',
|
||||
randomGenerate: 'Random',
|
||||
expirationTime: 'Expiration Time',
|
||||
unSetting: 'Not Set',
|
||||
unSetting: 'Unset',
|
||||
noneSetting:
|
||||
'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',
|
||||
@ -1500,6 +1501,8 @@ const message = {
|
||||
acmeHelper: 'Acme account is used to apply for free certificates',
|
||||
},
|
||||
firewall: {
|
||||
create: 'Create rule',
|
||||
edit: 'Edit rule',
|
||||
notSupport:
|
||||
'No system firewall detected (firewalld or ufw). Please refer to the official documentation for installation.',
|
||||
ccDeny: 'CC Protection',
|
||||
|
@ -66,7 +66,7 @@
|
||||
fix
|
||||
: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>
|
||||
</template>
|
||||
</LayoutContent>
|
||||
|
@ -80,7 +80,7 @@
|
||||
<el-table-column :label="$t('cronjob.cronSpec')" :min-width="120">
|
||||
<template #default="{ row }">
|
||||
<span v-if="row.specType.indexOf('N') === -1 || row.specType === 'perWeek'">
|
||||
{{ $t('cronjob.' + row.specType) }}
|
||||
{{ $t('cronjob.' + row.specType) }}
|
||||
</span>
|
||||
<span v-else>{{ $t('cronjob.per') }}</span>
|
||||
<span v-if="row.specType === 'perMonth'">
|
||||
@ -123,7 +123,7 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
<fu-table-operations
|
||||
width="200px"
|
||||
width="300px"
|
||||
:buttons="buttons"
|
||||
:ellipsis="10"
|
||||
:label="$t('commons.table.operate')"
|
||||
|
@ -54,7 +54,7 @@
|
||||
<el-col :span="1"><br /></el-col>
|
||||
<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-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">
|
||||
<template #append>
|
||||
<el-button @click="onChangePort" icon="Setting">
|
||||
|
@ -8,12 +8,12 @@
|
||||
size="30%"
|
||||
>
|
||||
<template #header>
|
||||
<DrawerHeader :header="$t('ssh.port')" :back="handleClose" />
|
||||
<DrawerHeader :header="$t('commons.table.port')" :back="handleClose" />
|
||||
</template>
|
||||
<el-form ref="formRef" label-position="top" :model="form" @submit.prevent v-loading="loading">
|
||||
<el-row type="flex" justify="center">
|
||||
<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-form-item>
|
||||
</el-col>
|
||||
@ -63,7 +63,7 @@ const onSave = async (formEl: FormInstance | undefined) => {
|
||||
formEl.validate(async (valid) => {
|
||||
if (!valid) return;
|
||||
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'),
|
||||
{
|
||||
confirmButtonText: i18n.global.t('commons.button.confirm'),
|
||||
|
Loading…
Reference in New Issue
Block a user