From d88c812ba7dc011523166cb974aebe61d483aba9 Mon Sep 17 00:00:00 2001 From: wuzekai <3025054974@qq.com> Date: Mon, 24 Aug 2026 16:42:50 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B1=89=E5=8C=96=20/histories=20?= =?UTF-8?q?=E4=B8=8E=20/datasets=20=E8=B7=AF=E7=94=B1=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - /histories 列表/查看/归档/导出页面汉化 - /datasets 列表/查看/复制/详情页面汉化 - 历史卡片操作、数据集操作、状态提示等界面文本中文化 --- client/src/components/Dataset/DatasetCopy.vue | 14 +- .../src/components/Dataset/DatasetDisplay.vue | 6 +- client/src/components/Dataset/DatasetList.vue | 42 +++--- .../Dataset/DatasetPermissionsForm.vue | 2 +- .../Dataset/DatasetStorage/DatasetStorage.vue | 2 +- .../Dataset/DatasetStorage/RelocateLink.vue | 2 +- client/src/components/Dataset/DatasetView.vue | 30 ++--- .../Dataset/useDatasetTableActions.ts | 34 ++--- .../DatasetInformation/DatasetDetails.vue | 5 +- .../HistoryArchiveExportSelector.vue | 65 ++++------ .../Archiving/HistoryArchiveSimple.vue | 12 +- .../Archiving/HistoryArchiveWizard.vue | 10 +- .../History/Content/ContentItem.vue | 12 +- .../History/Content/ContentOptions.vue | 8 +- .../Content/Dataset/DatasetActions.vue | 12 +- .../Content/Dataset/DatasetDownload.vue | 4 +- .../Content/Dataset/DatasetMiscInfo.vue | 18 +-- .../History/Content/GenericItem.vue | 2 +- .../History/CurrentHistory/HistoryPanel.vue | 10 +- .../History/Export/HistoryExport.vue | 9 +- .../History/Export/HistoryExportWizard.vue | 66 +++++----- .../History/HistoryDatasetsBadge.vue | 6 +- client/src/components/History/HistoryList.vue | 120 +++++++++--------- .../src/components/History/HistoryOptions.vue | 20 +-- client/src/components/History/HistoryView.vue | 16 +-- .../History/useHistoryCardActions.ts | 8 +- lib/galaxy/agents/router.py | 14 +- 27 files changed, 261 insertions(+), 288 deletions(-) diff --git a/client/src/components/Dataset/DatasetCopy.vue b/client/src/components/Dataset/DatasetCopy.vue index 39f22d7..3eb13e3 100644 --- a/client/src/components/Dataset/DatasetCopy.vue +++ b/client/src/components/Dataset/DatasetCopy.vue @@ -77,7 +77,7 @@ async function loadHistories() { await loadContents(); } } else { - errorMessage.value = "No Histories found."; + errorMessage.value = "未找到历史记录。"; } loading.value = false; } @@ -145,7 +145,7 @@ async function onCopy() { } loading.value = false; } else { - errorMessage.value = "Please select datasets and collections."; + errorMessage.value = "请选择数据集和集合。"; } } @@ -162,7 +162,7 @@ defineExpose({
This dataset has been discarded and its files are not available to Galaxy.
+此数据集已被弃用,其文件对 Galaxy 不可用。
diff --git a/client/src/components/Dataset/DatasetStorage/RelocateLink.vue b/client/src/components/Dataset/DatasetStorage/RelocateLink.vue
index e88dd21..7eff0c5 100644
--- a/client/src/components/Dataset/DatasetStorage/RelocateLink.vue
+++ b/client/src/components/Dataset/DatasetStorage/RelocateLink.vue
@@ -92,7 +92,7 @@ async function relocate(objectStoreId: string) {
-