Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
estyxx committed Oct 12, 2024
1 parent 02e4318 commit 27105bb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,24 +29,7 @@ export const NoGrant = ({ deadline }: Props) => {
<Spacer size="small" />
<Text>
{deadlineStatus === DeadlineStatus.HappeningNow && (
<FormattedMessage
id="profile.myGrant.noGrant.body.canSubmit"
values={{
grantInfoLink: (
<Link
href={createHref({
path: "/grants-info",
locale: language,
})}
target="_blank"
>
<Text decoration="underline">
<FormattedMessage id="global.here" />
</Text>
</Link>
),
}}
/>
<FormattedMessage id="profile.myGrant.noGrant.body.canSubmit" />
)}
{deadlineStatus === DeadlineStatus.InThePast && (
<FormattedMessage id="profile.myGrant.noGrant.body.closed" />
Expand Down
10 changes: 6 additions & 4 deletions frontend/src/locale/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,9 @@ Use the 'Manage' button on the page to confirm or decline the grant. You have un
Failing to notify us may impact your eligibility for financial aid at future events.`,
"profile.myGrant.noGrant.heading": "You haven't requested a grant",
"profile.myGrant.noGrant.body.canSubmit": `If you're facing financial difficulties and wish to attend PyCon Italia, our grant application form is currently open!
Find our more information {grantInfoLink} and submit your application below.`,
"profile.myGrant.noGrant.submitGrant": "Request a grant",
Visit the information page for more details and to submit your application.`,
"profile.myGrant.noGrant.submitGrant": "More Information on Grants",
"profile.myGrant.noGrant.body.closed":
"The grant application form is currently closed. Stay tuned for future opportunities.",
"profile.myGrant.noGrant.body.openingSoon":
Expand Down Expand Up @@ -2011,8 +2012,9 @@ Usa il pulsante 'Gestisci' nella pagina per confermare o rifiutare il grant. Hai
"Non hai partecipato alla conferenza.",
"profile.myGrant.noGrant.heading": "Non hai richiesto un grant",
"profile.myGrant.noGrant.body.canSubmit": `Se ti trovi in difficoltà economica e desideri partecipare a PyCon Italia, il nostro modulo per la richiesta di grant è al momento aperto.
Guarda {grantInfoLink} per maggiori informazioni e invia la richiesta qui sotto.`,
"profile.myGrant.noGrant.submitGrant": "Richiedi un grant",
Visita la pagina informativa per maggiori dettagli e per inviare la tua richiesta.`,
"profile.myGrant.noGrant.submitGrant": "Maggiori informazioni sui grant",
"profile.myGrant.noGrant.body.closed":
"Il modulo per la richiesta di grant è al momento chiuso. Purtroppo non possiamo accettare nuove richieste dopo la scadenza.",
"profile.myGrant.noGrant.body.openingSoon":
Expand Down

0 comments on commit 27105bb

Please sign in to comment.