chore: add message context in envelope download dialog (#2136)

This commit is contained in:
Konrad
2025-11-11 00:42:30 +01:00
committed by GitHub
parent 34dba0b6ff
commit 95a647034a

View File

@ -176,7 +176,7 @@ export const EnvelopeDownloadDialog = ({
{!isDownloadingState[generateDownloadKey(item.id, 'original')] && ( {!isDownloadingState[generateDownloadKey(item.id, 'original')] && (
<DownloadIcon className="mr-2 h-4 w-4" /> <DownloadIcon className="mr-2 h-4 w-4" />
)} )}
<Trans>Original</Trans> <Trans context="Original document (adjective)">Original</Trans>
</Button> </Button>
{envelopeStatus === DocumentStatus.COMPLETED && ( {envelopeStatus === DocumentStatus.COMPLETED && (
@ -190,7 +190,7 @@ export const EnvelopeDownloadDialog = ({
{!isDownloadingState[generateDownloadKey(item.id, 'signed')] && ( {!isDownloadingState[generateDownloadKey(item.id, 'signed')] && (
<DownloadIcon className="mr-2 h-4 w-4" /> <DownloadIcon className="mr-2 h-4 w-4" />
)} )}
<Trans>Signed</Trans> <Trans context="Signed document (adjective)">Signed</Trans>
</Button> </Button>
)} )}
</div> </div>