mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 23:56:42 +08:00
Add site batch import/export functionality with preview and validation
Co-authored-by: jxxghp <jxxghp@live.cn>
This commit is contained in:
@@ -1002,6 +1002,7 @@ export default {
|
||||
limitSeconds: '訪問間隔(秒)',
|
||||
useProxy: '使用代理訪問',
|
||||
browserSimulation: '瀏覽器仿真',
|
||||
selectFile: '選擇文件',
|
||||
},
|
||||
hints: {
|
||||
url: '格式:http://www.example.com/',
|
||||
@@ -1019,16 +1020,36 @@ export default {
|
||||
limitSeconds: '每次訪問需要間隔的最小時間',
|
||||
useProxy: '使用代理服務器訪問該站點',
|
||||
browserSimulation: '使用瀏覽器模擬真實訪問該站點',
|
||||
import: '批量導入站點數據,支持JSON格式文件',
|
||||
selectFile: '選擇JSON文件',
|
||||
dragDropFile: '拖拽文件到此處或點擊選擇文件',
|
||||
supportedFormat: '支持JSON格式的站點配置文件',
|
||||
},
|
||||
actions: {
|
||||
add: '新增站點',
|
||||
edit: '編輯站點',
|
||||
import: '批量導入',
|
||||
export: '批量導出',
|
||||
startImport: '開始導入',
|
||||
},
|
||||
messages: {
|
||||
addSuccess: '新增站點成功',
|
||||
addFailed: '新增站點失敗',
|
||||
updateSuccess: '更新成功',
|
||||
updateFailed: '更新失敗',
|
||||
exportSuccess: '站點導出成功',
|
||||
exportFailed: '站點導出失敗',
|
||||
importSuccess: '成功導入 {count} 個站點',
|
||||
importFailed: '站點導入失敗',
|
||||
importPartialFailed: '導入完成,成功 {success} 個,失敗 {failed} 個',
|
||||
noDataToImport: '沒有數據可導入',
|
||||
noValidData: '沒有有效的數據',
|
||||
someInvalidData: '部分數據無效,有效數據 {valid}/{total} 個',
|
||||
invalidFileType: '不支持的文件類型,請選擇JSON文件',
|
||||
invalidFileFormat: '文件格式無效,請檢查文件內容',
|
||||
parseFileError: '文件解析失敗,請檢查文件格式',
|
||||
previewData: '預覽數據 ({count} 個站點)',
|
||||
importing: '正在導入... ({progress}%)',
|
||||
},
|
||||
errors: {
|
||||
loadDownloader: '加載下載器設置失敗',
|
||||
@@ -1063,6 +1084,13 @@ export default {
|
||||
accessTime: '訪問時間',
|
||||
responseTime: '響應時間',
|
||||
noTimeRecords: '暫無耗時記錄',
|
||||
preview: {
|
||||
title: '預覽站點',
|
||||
showing: '顯示 {count}/{total}',
|
||||
unnamed: '未命名站點',
|
||||
noUrl: '無站點地址',
|
||||
invalid: '數據無效',
|
||||
},
|
||||
},
|
||||
message: {
|
||||
loadMore: '加載更多',
|
||||
|
||||
Reference in New Issue
Block a user