{description}
}+ {invalidMessage} +
+ )}{title}
{description}
-{t("system:retentionWarningThresholdsTitle")}
++ {t("system:retentionWarningThresholdsDescription")} +
++ {t("system:retentionAdvancedSettingsDescription")} +
++ {t("system:retentionActiveWorkProtection")} +
{!canEdit && ({t("system:retentionAdminOnly")}
)} @@ -353,160 +525,6 @@ function RetentionPolicyCard({ ); } -function SweptTableRow({ label, result }: { label: string; result: RetentionSweptTableResult }) { - const { t } = useTranslation(); - return ( -- {t("system:retentionNeverSweptMessage")} -
- ); - } - return ( -- {t("system:retentionSweepStartedAtLabel")}: {formatDateTime(lastSweep.started_at)} - {" · "} - {t("system:retentionSweepFinishedAtLabel")}: {formatDateTime(lastSweep.finished_at)} -
-{t("system:retentionRetainedCountsTitle")}
-- {t("system:retentionSkipCountLabel")}: {status.skip_count} - {status.last_skip_at && ( - <> - {" · "} - {t("system:retentionLastSkipAtLabel")}: {formatDateTime(status.last_skip_at)} - > - )} -
- )} -+ {t("system:retentionSweepStartedAtLabel")}: {formatDateTime(lastSweep.started_at)} + {" · "} + {t("system:retentionSweepFinishedAtLabel")}: {formatDateTime(lastSweep.finished_at)} +
+ {entries.map((entry) => ( ++ + {label}: {result.error || t("system:retentionBacklogLabel")} + +
+ ))} ++ {t("system:retentionSkipCountLabel")}: {status.skip_count} + {status.last_skip_at && ( + <> + {" · "} + {t("system:retentionLastSkipAtLabel")}: {formatDateTime(status.last_skip_at)} + > + )} +
+ )} ++ {t("system:retentionAutomaticCleanupLabel")} +
++ {status.settings.enabled + ? t("system:retentionEnabledValue") + : t("system:retentionDisabledValue")} +
+{t("system:retentionLastCleanupLabel")}
+ {status.last_sweep ? ( ++ {outcomeLabel} · {formatDateTime(status.last_sweep.finished_at)} +
+ ) : ( ++ {outcomeLabel} +
+ )} ++ {t("system:retentionDeletionTotal", { count: model.sweep.deletionTotal })} +
+ )} + {model.sweep.hasError && ( ++ {t("system:retentionOutcomeError")} +
+ )} + {model.sweep.hasBacklog && ( ++ {t("system:retentionBacklogNotice")} +
+ )} +{t("system:retentionRetainedCountsTitle")}
++ {t("system:retentionStoredCountsDescription")} +
+ {model.commonAsOf && ( ++ {t("system:retentionUpdatedLabel")}: {formatDateTime(model.commonAsOf)} +
+ )} +{t("system:storageTemporaryArtifactsPolicyAge")}
+{t("system:storageTemporaryArtifactsPolicySummary")}
{t("system:storageTemporaryArtifactsPolicyQuarantine")}
-{t("system:storageTemporaryArtifactsPolicyShared")}