refactor: update cancel download confirmation text and enhance error handling in JsHttpDownloader

This commit is contained in:
Moyasee
2026-01-10 19:47:55 +02:00
parent 562e30eecf
commit da0ae54b60
4 changed files with 13 additions and 6 deletions

View File

@@ -844,7 +844,7 @@ export function DownloadGroup({
visible={cancelModalVisible}
title={t("cancel_download")}
descriptionText={t("cancel_download_description")}
confirmButtonLabel={t("cancel")}
confirmButtonLabel={t("yes_cancel")}
cancelButtonLabel={t("keep_downloading")}
onConfirm={handleConfirmCancel}
onClose={handleCancelModalClose}
@@ -877,7 +877,7 @@ export function DownloadGroup({
visible={cancelModalVisible}
title={t("cancel_download")}
descriptionText={t("cancel_download_description")}
confirmButtonLabel={t("cancel")}
confirmButtonLabel={t("yes_cancel")}
cancelButtonLabel={t("keep_downloading")}
onConfirm={handleConfirmCancel}
onClose={handleCancelModalClose}

View File

@@ -91,6 +91,7 @@
display: flex;
flex-direction: column;
gap: globals.$spacing-unit;
padding-bottom: calc(globals.$spacing-unit * 3);
}
&__empty {
@@ -134,5 +135,6 @@
display: flex;
justify-content: center;
padding: calc(globals.$spacing-unit * 2);
padding-bottom: calc(globals.$spacing-unit * 3);
}
}