diff --git a/src/locales/en/translation.json b/src/locales/en/translation.json index c71f263b..ea054f89 100644 --- a/src/locales/en/translation.json +++ b/src/locales/en/translation.json @@ -227,7 +227,8 @@ "seeding": "Seeding", "stop_seeding": "Stop seeding", "resume_seeding": "Resume seeding", - "options": "Manage" + "options": "Manage", + "alldebrid_size_not_supported": "Download info for AllDebrid is not supported yet" }, "settings": { "downloads_path": "Downloads path", diff --git a/src/renderer/src/pages/downloads/download-group.tsx b/src/renderer/src/pages/downloads/download-group.tsx index 86d7a97b..e6ffded4 100644 --- a/src/renderer/src/pages/downloads/download-group.tsx +++ b/src/renderer/src/pages/downloads/download-group.tsx @@ -112,6 +112,15 @@ export function DownloadGroup({ ); } + if (download.downloader === Downloader.AllDebrid) { + return ( + <> +
{progress}
+{t("alldebrid_size_not_supported")}
+ > + ); + } + return ( <>{progress}
@@ -154,6 +163,15 @@ export function DownloadGroup({ } if (download.status === "active") { + if (download.downloader === Downloader.AllDebrid) { + return ( + <> +{formatDownloadProgress(download.progress)}
+{t("alldebrid_size_not_supported")}
+ > + ); + } + return ( <>{formatDownloadProgress(download.progress)}