feat(storage): add archive storage support for assets

This commit is contained in:
yiling
2026-11-02 13:19:10 +08:00
parent 49a2d7c380
commit 9097ec12bb
100 changed files with 6180 additions and 170 deletions
+28 -1
View File
@@ -1615,5 +1615,32 @@
"cancel_upload_task_confirm_title": "Cancel upload task?",
"cancel_upload_task_confirm_description": "Files that have already finished uploading will be kept in your project. Any incomplete or pending uploads will be canceled and removed.",
"upload_task_canceled": "Upload task canceled",
"failed_to_cancel_upload_task": "Failed to cancel upload task"
"failed_to_cancel_upload_task": "Failed to cancel upload task",
"archive": "Archive",
"restore_from_archive": "Restore from archive",
"archived": "Archived",
"archiving": "Archiving...",
"restoring": "Restoring...",
"archived_status": "Archived",
"archiving_status": "Archiving...",
"restoring_status": "Restoring...",
"archive_confirm_title": "Archive Original File(s)",
"archive_confirm_description": "This will move the original raw file(s) to archive storage. Previews, proxy streams, comments, and metadata will remain available, but original file downloads will be disabled until restored.",
"restore_archive_confirm_title": "Restore from Archive",
"restore_archive_confirm_description": "This will restore the original raw file(s) back to main storage. If stored in cold archive tiers (such as Glacier), restoration may take minutes to hours.",
"archive_started_toast": "Archiving started in the background",
"restore_archive_started_toast": "Restore from archive started in the background",
"archive_no_eligible_assets_toast": "No eligible processed files found to archive",
"restore_archive_no_eligible_assets_toast": "No archived files found to restore",
"archive_failed_toast": "Failed to start archive",
"restore_archive_failed_toast": "Failed to start restore from archive",
"original_archived_tooltip": "Original file is archived — restore to download original",
"pdf_archived_placeholder": "Original PDF is archived — restore to view PDF",
"download_skipped_archived_notice": "{count} archived file(s) were skipped because their original files are in archive storage.",
"download_all_archived_error": "All selected files are archived. Restore them first to download original files.",
"filter_archived": "Archive Status",
"filter_archived_only": "Archived",
"filter_not_archived": "Not Archived",
"task_type_archive_asset": "Archive Asset",
"task_type_restore_asset": "Restore Asset"
}
+28 -1
View File
@@ -1615,5 +1615,32 @@
"cancel_upload_task_confirm_title": "取消上传任务?",
"cancel_upload_task_confirm_description": "已完成上传的文件将保留在项目中。任何未完成或等待中的上传将被取消并移除。",
"upload_task_canceled": "上传任务已取消",
"failed_to_cancel_upload_task": "取消上传任务失败"
"failed_to_cancel_upload_task": "取消上传任务失败",
"archive": "归档",
"restore_from_archive": "从归档恢复",
"archived": "已归档",
"archiving": "归档中...",
"restoring": "恢复中...",
"archived_status": "已归档",
"archiving_status": "归档中...",
"restoring_status": "恢复中...",
"archive_confirm_title": "归档原始文件",
"archive_confirm_description": "此操作会将原始文件移动到归档存储。预览、代理视频流、评论和元数据仍可正常使用,但在从归档恢复之前将无法下载原始文件。",
"restore_archive_confirm_title": "从归档恢复",
"restore_archive_confirm_description": "此操作会将原始文件从归档存储恢复回主存储。如果保存在冷归档存储层(如 Glacier),恢复可能需要几分钟到数小时。",
"archive_started_toast": "已在后台开始归档",
"restore_archive_started_toast": "已在后台开始从归档恢复",
"archive_no_eligible_assets_toast": "未找到可归档的已处理文件",
"restore_archive_no_eligible_assets_toast": "未找到可恢复的已归档文件",
"archive_failed_toast": "启动归档失败",
"restore_archive_failed_toast": "启动从归档恢复失败",
"original_archived_tooltip": "原始文件已归档 — 请先恢复以下载原文件",
"pdf_archived_placeholder": "原始 PDF 文件已归档 — 请先恢复以查看 PDF",
"download_skipped_archived_notice": "已跳过 {count} 个已归档文件,因为其原始文件位于归档存储中。",
"download_all_archived_error": "所选文件均已归档。请先恢复后再下载原始文件。",
"filter_archived": "归档状态",
"filter_archived_only": "已归档",
"filter_not_archived": "未归档",
"task_type_archive_asset": "归档资产",
"task_type_restore_asset": "恢复归档资产"
}