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

Commit

Permalink
added locales
Browse files Browse the repository at this point in the history
  • Loading branch information
AronBuzogany committed May 23, 2024
1 parent edffe21 commit a6f6947
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions frontend/public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@
"submit": "Submit",
"previousSubmissions": "Previous Submissions",
"noFileSelected": "No file selected",
"delete": "Delete",
"deleteProjectWarning": "Are you sure you want to delete this project?",
"imSure": "Yes, I'm sure",
"submissionGrid": {
"late": "Late",
"fail": "Fail",
Expand Down
3 changes: 3 additions & 0 deletions frontend/public/locales/nl/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@
"submit": "Indienen",
"previousSubmissions": "Vorige indieningen",
"noFileSelected": "Er is geen bestand geselecteerd",
"delete": "Verwijder",
"deleteProjectWarning": "Bent u zeker dat u dit project wilt verwijderen?",
"imSure": "Ja, ik ben zeker",
"submissionGrid": {
"late": "Te laat",
"fail": "Gefaald",
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/pages/project/projectView/ProjectView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ export default function ProjectView() {
color="error"
onClick={() => setAlertVisibility(true)}
>
Delete
{t("delete")}
</Button>
</Box>
</Box>
Expand All @@ -281,7 +281,7 @@ export default function ProjectView() {
>
<Box sx={{ border: 1, p: 1, bgcolor: "background.paper" }}>
<Typography>
Are you sure you want to delete this project
{t("deleteProjectWarning")}
</Typography>
<Box
display="flex"
Expand All @@ -293,7 +293,7 @@ export default function ProjectView() {
width="100%"
>
<Button variant="contained" onClick={deleteProject}>
Yes I'm Sure
{t("imSure")}
</Button>
</Box>
</Box>
Expand Down

0 comments on commit a6f6947

Please sign in to comment.