backup export path configurable + fix some warning

This commit is contained in:
xiaomlove
2025-05-13 02:27:58 +07:00
parent a3ad2cc2c4
commit 18449ff185
14 changed files with 33 additions and 18 deletions

View File

@@ -66,6 +66,8 @@ return [
'via_ftp_help' => 'Whether to save via FTP. If so, add the configuration information to the .env file, refer to <a href="https://laravel.com/docs/master/filesystem#ftp-driver-configuration">Laravel doc</a>',
'via_sftp' => 'Backup via SFTP',
'via_sftp_help' => 'Whether to save via FTP. If so, add the configuration information to the .env file, refer to <a href="https://laravel.com/docs/master/filesystem#sftp-driver-configuration">Laravel doc</a>',
'export_path' => 'Export to directory',
'export_path_help' => 'Not set to use the system temporary directory::default_path. you can use third-party specialized tools to transfer offsite saves.' ,
],
'hr' => [
'tab_header' => 'H&R',

View File

@@ -55,9 +55,9 @@ return [
'frequency' => '频率',
'frequency_help' => '备份频率',
'hour' => '小时',
'hour_help' => '在这个点钟数进行备份',
'hour_help' => '在这个点钟数进行备份。如果频率是按 \'hourly\',此值会被忽略',
'minute' => '分钟',
'minute_help' => "在前面点钟数的这一分钟进行备份。如果频率是按 'hourly',此值会被忽略",
'minute_help' => "在前面点钟数的这一分钟进行备份。",
'google_drive_client_id' => 'Google Drive client ID',
'google_drive_client_secret' => 'Google Drive client secret',
'google_drive_refresh_token' => 'Google Drive refresh token',
@@ -66,6 +66,8 @@ return [
'via_ftp_help' => '是否通过 FTP 保存。如果通过,把配置信息添加到 .env 文件,参考 <a href="https://laravel.com/docs/master/filesystem#ftp-driver-configuration">Laravel 文档</a>',
'via_sftp' => '通过 SFTP 保存',
'via_sftp_help' => '是否通过 SFTP 保存。如果通过,把配置信息添加到 .env 文件,参考 <a href="https://laravel.com/docs/master/filesystem#sftp-driver-configuration">Laravel 文档</a>',
'export_path' => '导出到目录',
'export_path_help' => '不设置使用系统临时目录::default_path。可以使用第三方专业工具转移异地保存。',
],
'hr' => [
'tab_header' => 'H&R',

View File

@@ -55,9 +55,9 @@ return [
'frequency' => '頻率',
'frequency_help' => '備份頻率',
'hour' => '小時',
'hour_help' => '在這個點鐘數進行備份',
'hour_help' => '在這個點鐘數進行備份。如果頻率是按 \'hourly\',此值會被忽略',
'minute' => '分鐘',
'minute_help' => "在前面點鐘數的這一分鐘進行備份。如果頻率是按 'hourly',此值會被忽略",
'minute_help' => "在前面點鐘數的這一分鐘進行備份",
'google_drive_client_id' => 'Google Drive client ID',
'google_drive_client_secret' => 'Google Drive client secret',
'google_drive_refresh_token' => 'Google Drive refresh token',
@@ -66,6 +66,8 @@ return [
'via_ftp_help' => '是否通過 FTP 保存。如果通過,把配置信息添加到 .env 文件,參考 <a href="https://laravel.com/docs/master/filesystem#ftp-driver-configuration">Laravel 文檔</a>',
'via_sftp' => '通過 SFTP 保存',
'via_sftp_help' => '是否通過 SFTP 保存。如果通過,把配置信息添加到 .env 文件,參考 <a href="https://laravel.com/docs/master/filesystem#sftp-driver-configuration">Laravel 文檔</a>',
'export_path' => '導出到目錄',
'export_path_help' => '不設置使用系統臨時目錄::default_path。可以使用第三方專業工具轉移異地保存。',
],
'hr' => [
'tab_header' => 'H&R',