diff --git a/frontend/packages/vkt/public/i18n/fi-FI/clerk.json b/frontend/packages/vkt/public/i18n/fi-FI/clerk.json index 406f4f8f4..481c1cbbd 100644 --- a/frontend/packages/vkt/public/i18n/fi-FI/clerk.json +++ b/frontend/packages/vkt/public/i18n/fi-FI/clerk.json @@ -2,6 +2,9 @@ "vkt": { "component": { "clerkEnrollmentDetails": { + "attachment": { + "download": "Lataa tiedosto" + }, "cancelEnrollment": "Peruuta ilmoittautuminen", "cancelEnrollmentDialog": { "description": "Tätä toimintoa ei voi peruuttaa!", diff --git a/frontend/packages/vkt/src/components/clerkEnrollment/overview/ClerkEnrollmentDetailsFields.tsx b/frontend/packages/vkt/src/components/clerkEnrollment/overview/ClerkEnrollmentDetailsFields.tsx index c56257f63..20380d21f 100644 --- a/frontend/packages/vkt/src/components/clerkEnrollment/overview/ClerkEnrollmentDetailsFields.tsx +++ b/frontend/packages/vkt/src/components/clerkEnrollment/overview/ClerkEnrollmentDetailsFields.tsx @@ -89,6 +89,10 @@ const CheckboxField = ({ }; const DownloadAttachment = ({ attachment }: { attachment: Attachment }) => { + const { t } = useClerkTranslation({ + keyPrefix: 'vkt.component.clerkEnrollmentDetails.attachment', + }); + return (
{attachment.name} @@ -102,7 +106,7 @@ const DownloadAttachment = ({ attachment }: { attachment: Attachment }) => { color={Color.Secondary} startIcon={} > - Lataa tiedosto + {t('download')}