Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
Merge pull request #318 from SELab-2/i18n
Browse files Browse the repository at this point in the history
kleine i18n fix
  • Loading branch information
gusvanpoucke authored May 23, 2024
2 parents cceb5e4 + 451cf40 commit 0273bad
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions frontend/frontend/src/i18n/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ const english = {
add_course: 'Add course',
add_project: 'Add project',
no_projects: 'No projects',
may_fail: 'May fail',
}

export default english
1 change: 1 addition & 0 deletions frontend/frontend/src/i18n/nl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ const dutch = {
add_course: 'Voeg vak toe',
add_project: 'Voeg project toe',
no_projects: 'Geen projecten',
may_fail: 'Mag falen',
}

export default dutch
4 changes: 2 additions & 2 deletions frontend/frontend/src/pages/submissionPage/SubmissionPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -442,8 +442,8 @@ export function SubmissionPage() {
}
>
{restriction.moet_slagen
? 'Moet slagen'
: 'Mag falen'}
? t('must_pass')
: t('may_fail')}
</Typography>
{restriction.artifact && (
<Button
Expand Down

0 comments on commit 0273bad

Please sign in to comment.