mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-19 16:29:17 +08:00
style: 修改备份账号提示信息 (#3925)
This commit is contained in:
parent
e346442d36
commit
319c21fc36
@ -821,8 +821,7 @@ const message = {
|
|||||||
default_download_path: 'Default Download Link',
|
default_download_path: 'Default Download Link',
|
||||||
saveLocal: 'Retain local backups (the same as the number of cloud storage copies)',
|
saveLocal: 'Retain local backups (the same as the number of cloud storage copies)',
|
||||||
url: 'URL Address',
|
url: 'URL Address',
|
||||||
target: 'Target',
|
targetHelper: 'Backup accounts are maintained in panel settings.',
|
||||||
targetHelper: 'Third-party backup accounts are maintained in panel settings.',
|
|
||||||
retainCopies: 'Retain copies',
|
retainCopies: 'Retain copies',
|
||||||
retainCopiesHelper: 'Number of copies to retain for execution records and logs',
|
retainCopiesHelper: 'Number of copies to retain for execution records and logs',
|
||||||
retainCopiesHelper1: 'Number of copies to retain for backup files',
|
retainCopiesHelper1: 'Number of copies to retain for backup files',
|
||||||
@ -1084,7 +1083,6 @@ const message = {
|
|||||||
infoDetail: 'File Properties',
|
infoDetail: 'File Properties',
|
||||||
list: 'File List',
|
list: 'File List',
|
||||||
sub: 'Subdirectory',
|
sub: 'Subdirectory',
|
||||||
downloadSuccess: 'Download Success',
|
|
||||||
theme: 'Theme',
|
theme: 'Theme',
|
||||||
language: 'Language',
|
language: 'Language',
|
||||||
eol: 'End Of Line',
|
eol: 'End Of Line',
|
||||||
@ -1403,7 +1401,6 @@ const message = {
|
|||||||
backupData: 'Backup local backup directory for 1Panel',
|
backupData: 'Backup local backup directory for 1Panel',
|
||||||
compress: 'Create snapshot file',
|
compress: 'Create snapshot file',
|
||||||
upload: 'Upload snapshot file',
|
upload: 'Upload snapshot file',
|
||||||
thirdPartySupport: 'Only third-party accounts are supported',
|
|
||||||
recoverDetail: 'Recover detail',
|
recoverDetail: 'Recover detail',
|
||||||
createSnapshot: 'Create snapshot',
|
createSnapshot: 'Create snapshot',
|
||||||
importSnapshot: 'Sync snapshot',
|
importSnapshot: 'Sync snapshot',
|
||||||
|
@ -781,8 +781,7 @@ const message = {
|
|||||||
default_download_path: '默認下載地址',
|
default_download_path: '默認下載地址',
|
||||||
saveLocal: '同時保留本地備份(和雲存儲保留份數一致)',
|
saveLocal: '同時保留本地備份(和雲存儲保留份數一致)',
|
||||||
url: 'URL 地址',
|
url: 'URL 地址',
|
||||||
target: '備份到',
|
targetHelper: '備份賬號可在面板設置中維護',
|
||||||
targetHelper: '第三方備份賬號在面板設置中維護',
|
|
||||||
retainCopies: '保留份數',
|
retainCopies: '保留份數',
|
||||||
retainCopiesHelper: '執行記錄及日誌保留份数',
|
retainCopiesHelper: '執行記錄及日誌保留份数',
|
||||||
retainCopiesHelper1: '備份文件保留份数',
|
retainCopiesHelper1: '備份文件保留份数',
|
||||||
@ -1032,7 +1031,6 @@ const message = {
|
|||||||
root: '根目錄',
|
root: '根目錄',
|
||||||
list: '文件列表',
|
list: '文件列表',
|
||||||
sub: '子目錄',
|
sub: '子目錄',
|
||||||
downloadSuccess: '下載完成',
|
|
||||||
theme: '主題',
|
theme: '主題',
|
||||||
language: '語言',
|
language: '語言',
|
||||||
eol: '行尾符',
|
eol: '行尾符',
|
||||||
@ -1244,7 +1242,6 @@ const message = {
|
|||||||
backupData: '備份 1Panel 本地備份目錄',
|
backupData: '備份 1Panel 本地備份目錄',
|
||||||
compress: '製作快照文件',
|
compress: '製作快照文件',
|
||||||
upload: '上傳快照文件',
|
upload: '上傳快照文件',
|
||||||
thirdPartySupport: '僅支持第三方賬號',
|
|
||||||
recoverDetail: '恢復詳情',
|
recoverDetail: '恢復詳情',
|
||||||
createSnapshot: '創建快照',
|
createSnapshot: '創建快照',
|
||||||
importSnapshot: '同步快照',
|
importSnapshot: '同步快照',
|
||||||
|
@ -782,8 +782,7 @@ const message = {
|
|||||||
default_download_path: '默认下载地址',
|
default_download_path: '默认下载地址',
|
||||||
saveLocal: '同时保留本地备份(和云存储保留份数一致)',
|
saveLocal: '同时保留本地备份(和云存储保留份数一致)',
|
||||||
url: 'URL 地址',
|
url: 'URL 地址',
|
||||||
target: '备份到',
|
targetHelper: '备份账号可在面板设置中维护',
|
||||||
targetHelper: '第三方备份账号在面板设置中维护',
|
|
||||||
retainCopies: '保留份数',
|
retainCopies: '保留份数',
|
||||||
retainCopiesHelper: '执行记录及日志保留份数',
|
retainCopiesHelper: '执行记录及日志保留份数',
|
||||||
retainCopiesHelper1: '备份文件保留份数',
|
retainCopiesHelper1: '备份文件保留份数',
|
||||||
@ -1033,7 +1032,6 @@ const message = {
|
|||||||
root: '根目录',
|
root: '根目录',
|
||||||
list: '文件列表',
|
list: '文件列表',
|
||||||
sub: '子目录',
|
sub: '子目录',
|
||||||
downloadSuccess: '下载完成',
|
|
||||||
theme: '主题',
|
theme: '主题',
|
||||||
language: '语言',
|
language: '语言',
|
||||||
eol: '行尾符',
|
eol: '行尾符',
|
||||||
@ -1245,7 +1243,6 @@ const message = {
|
|||||||
backupData: '备份 1Panel 本地备份目录',
|
backupData: '备份 1Panel 本地备份目录',
|
||||||
compress: '制作快照文件',
|
compress: '制作快照文件',
|
||||||
upload: '上传快照文件',
|
upload: '上传快照文件',
|
||||||
thirdPartySupport: '仅支持第三方账号',
|
|
||||||
recoverDetail: '恢复详情',
|
recoverDetail: '恢复详情',
|
||||||
createSnapshot: '创建快照',
|
createSnapshot: '创建快照',
|
||||||
importSnapshot: '同步快照',
|
importSnapshot: '同步快照',
|
||||||
|
@ -113,7 +113,7 @@
|
|||||||
{{ row.lastRecordTime }}
|
{{ row.lastRecordTime }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column :min-width="80" :label="$t('cronjob.target')" prop="defaultDownload">
|
<el-table-column :min-width="80" :label="$t('setting.backupAccount')" prop="defaultDownload">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<div v-for="(item, index) of row.backupAccounts?.split(',')" :key="index">
|
<div v-for="(item, index) of row.backupAccounts?.split(',')" :key="index">
|
||||||
<div v-if="row.accountExpand || (!row.accountExpand && index < 3)">
|
<div v-if="row.accountExpand || (!row.accountExpand && index < 3)">
|
||||||
|
@ -248,7 +248,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<div v-if="isBackup()">
|
<div v-if="isBackup()">
|
||||||
<el-form-item :label="$t('cronjob.target')" prop="backupAccountList">
|
<el-form-item :label="$t('setting.backupAccount')" prop="backupAccountList">
|
||||||
<el-select
|
<el-select
|
||||||
multiple
|
multiple
|
||||||
class="selectClass"
|
class="selectClass"
|
||||||
@ -366,6 +366,7 @@ const acceptParams = (params: DialogProps): void => {
|
|||||||
if (dialogData.value.title === 'create') {
|
if (dialogData.value.title === 'create') {
|
||||||
changeType();
|
changeType();
|
||||||
dialogData.value.rowData.dbType = 'mysql';
|
dialogData.value.rowData.dbType = 'mysql';
|
||||||
|
dialogData.value.rowData.defaultDownload = 'LOCAL';
|
||||||
}
|
}
|
||||||
if (dialogData.value.rowData.backupAccounts) {
|
if (dialogData.value.rowData.backupAccounts) {
|
||||||
dialogData.value.rowData.backupAccountList = dialogData.value.rowData.backupAccounts.split(',');
|
dialogData.value.rowData.backupAccountList = dialogData.value.rowData.backupAccounts.split(',');
|
||||||
|
@ -133,10 +133,7 @@
|
|||||||
>
|
>
|
||||||
<el-row type="flex" justify="center">
|
<el-row type="flex" justify="center">
|
||||||
<el-col :span="22">
|
<el-col :span="22">
|
||||||
<el-form-item
|
<el-form-item :label="$t('setting.backupAccount')" prop="fromAccounts">
|
||||||
:label="$t('cronjob.target') + ' ( ' + $t('setting.thirdPartySupport') + ' )'"
|
|
||||||
prop="fromAccounts"
|
|
||||||
>
|
|
||||||
<el-select multiple @change="changeAccount" v-model="snapInfo.fromAccounts" clearable>
|
<el-select multiple @change="changeAccount" v-model="snapInfo.fromAccounts" clearable>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in backupOptions"
|
v-for="item in backupOptions"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user