diff --git a/frontend/src/lib/components/dashboard/StatusNotificationBig.svelte b/frontend/src/lib/components/dashboard/StatusNotificationBig.svelte index 0ed77a7..f80ab93 100644 --- a/frontend/src/lib/components/dashboard/StatusNotificationBig.svelte +++ b/frontend/src/lib/components/dashboard/StatusNotificationBig.svelte @@ -1,4 +1,6 @@ diff --git a/frontend/src/translations/cs/index.ts b/frontend/src/translations/cs/index.ts index 7051331..d3d8dd0 100644 --- a/frontend/src/translations/cs/index.ts +++ b/frontend/src/translations/cs/index.ts @@ -71,15 +71,29 @@ const cs: BaseTranslation = { components: { dashboard: { coverLetterUploadCard: { - title: "Motivační dopis", - placeholder: "svůj motivanční dopis", + title: 'Motivační dopis', + placeholder: 'svůj motivanční dopis' }, dashboardUploadCard: { - dropHere: "Sem přetáhněte,", - orUpload: "Nebo nahrajte {placeholder:string}", - uploaded: "Nahráno", - sent: "Odesláno", - delete: "Smazat", + dropHere: 'Sem přetáhněte,', + orUpload: 'Nebo nahrajte {placeholder:string}', + uploaded: 'Nahráno', + sent: 'Odesláno', + delete: 'Smazat' + }, + statusNotificationBig: { + submitted: { + title: 'Soubory odevzdány!', + description: 'Vaše soubory smažete kliknutím zde' + }, + uploaded: { + title: 'Soubory nebyly odevzdány!', + description: 'Odevzdejte soubory kliknutím zde' + }, + missing: { + title: 'Soubory nebyly nahrány!', + description: 'Nahrajte včechny soubory prosím', + } } }, checkbox: { @@ -124,7 +138,7 @@ const cs: BaseTranslation = { adminId: 'Admin Id', password: 'Heslo', submit: 'Odeslat', - continue: "Pokračovat", + continue: 'Pokračovat', parent: { nameSurname: 'Jméno a příjmení zákonného zástupce', email: 'E-mail zákonného zástupce', diff --git a/frontend/src/translations/i18n-types.ts b/frontend/src/translations/i18n-types.ts index 65729e6..41656b4 100644 --- a/frontend/src/translations/i18n-types.ts +++ b/frontend/src/translations/i18n-types.ts @@ -184,6 +184,38 @@ type RootTranslation = { */ 'delete': string } + statusNotificationBig: { + submitted: { + /** + * S​o​u​b​o​r​y​ ​o​d​e​v​z​d​á​n​y​! + */ + title: string + /** + * V​a​š​e​ ​s​o​u​b​o​r​y​ ​s​m​a​ž​e​t​e​ ​k​l​i​k​n​u​t​í​m​ ​z​d​e + */ + description: string + } + uploaded: { + /** + * S​o​u​b​o​r​y​ ​n​e​b​y​l​y​ ​o​d​e​v​z​d​á​n​y​! + */ + title: string + /** + * O​d​e​v​z​d​e​j​t​e​ ​s​o​u​b​o​r​y​ ​k​l​i​k​n​u​t​í​m​ ​z​d​e + */ + description: string + } + missing: { + /** + * S​o​u​b​o​r​y​ ​n​e​b​y​l​y​ ​n​a​h​r​á​n​y​! + */ + title: string + /** + * N​a​h​r​a​j​t​e​ ​v​č​e​c​h​n​y​ ​s​o​u​b​o​r​y​ ​p​r​o​s​í​m + */ + description: string + } + } } checkbox: { accountLinkCheckBox: { @@ -509,6 +541,38 @@ export type TranslationFunctions = { */ 'delete': () => LocalizedString } + statusNotificationBig: { + submitted: { + /** + * Soubory odevzdány! + */ + title: () => LocalizedString + /** + * Vaše soubory smažete kliknutím zde + */ + description: () => LocalizedString + } + uploaded: { + /** + * Soubory nebyly odevzdány! + */ + title: () => LocalizedString + /** + * Odevzdejte soubory kliknutím zde + */ + description: () => LocalizedString + } + missing: { + /** + * Soubory nebyly nahrány! + */ + title: () => LocalizedString + /** + * Nahrajte včechny soubory prosím + */ + description: () => LocalizedString + } + } } checkbox: { accountLinkCheckBox: {