Skip to content

Commit

Permalink
VKT(Frontend): Take updated FileUpload component into use [deploy]
Browse files Browse the repository at this point in the history
  • Loading branch information
pkoivisto committed Aug 26, 2024
1 parent 39f848f commit f5e99ad
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion frontend/packages/vkt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
},
"dependencies": {
"reduxjs-toolkit-persist": "^7.2.1",
"shared": "npm:@opetushallitus/[email protected].7"
"shared": "npm:@opetushallitus/[email protected].8"
}
}
3 changes: 2 additions & 1 deletion frontend/packages/vkt/public/i18n/fi-FI/public.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@
"helpText2": "Opetushallituksen virkailija tarkastaa, täyttävätkö lähettämäsi asiakirjat maksuttomuuden ehdot.",
"maxAttachmentsReached": "Olet lisännyt jo 10 asiakirjaa. Et voi enää lisätä uusia asiakirjoja.",
"title": "Lähetä tutkintotodistus tai opiskelutodistus *",
"uploadFile": "Lähetä tiedosto"
"uploadFile": "Lähetä tiedosto",
"dropFile": "Pudota tiedosto tähän"
}
},
"preview": {
Expand Down
3 changes: 2 additions & 1 deletion frontend/packages/vkt/public/i18n/sv-SE/public.json
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@
"helpText2": "Dina dokument granskas på Utbildningsstyrelsen.",
"maxAttachmentsReached": "Du har redan bifogat tio dokument. Du kan inte lägga till fler dokument.",
"title": "Skicka examensintyg eller studieintyg *",
"uploadFile": "Skicka filen"
"uploadFile": "Skicka filen",
"dropFile": "Släpp filen här"
}
},
"preview": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@ const UploadAttachments = ({
accept="application/pdf,image/jpeg,image/png,image/heic,image/tiff,image/webp"
onChange={handleFileUpload}
error={showError}
labelText={t('uploadFile')}
buttonText={t('uploadFile')}
dropZoneText={t('dropFile')}
/>
</LoadingProgressIndicator>
)}
Expand Down
4 changes: 2 additions & 2 deletions frontend/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2687,7 +2687,7 @@ __metadata:
languageName: unknown
linkType: soft

"@opetushallitus/kieli-ja-kaantajatutkinnot.shared@workspace:packages/shared, shared@npm:@opetushallitus/[email protected].7":
"@opetushallitus/kieli-ja-kaantajatutkinnot.shared@workspace:packages/shared, shared@npm:@opetushallitus/[email protected].8":
version: 0.0.0-use.local
resolution: "@opetushallitus/kieli-ja-kaantajatutkinnot.shared@workspace:packages/shared"
languageName: unknown
Expand All @@ -2698,7 +2698,7 @@ __metadata:
resolution: "@opetushallitus/kieli-ja-kaantajatutkinnot.vkt@workspace:packages/vkt"
dependencies:
reduxjs-toolkit-persist: "npm:^7.2.1"
shared: "npm:@opetushallitus/[email protected].7"
shared: "npm:@opetushallitus/[email protected].8"
languageName: unknown
linkType: soft

Expand Down

0 comments on commit f5e99ad

Please sign in to comment.