Skip to content

Commit

Permalink
chore: translations added + remove unnecessary template in html #458
Browse files Browse the repository at this point in the history
  • Loading branch information
bsilkyn committed May 23, 2024
1 parent fdeb184 commit 4912701
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
6 changes: 4 additions & 2 deletions frontend/src/assets/lang/app/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"leaveGroup": "Leave group",
"create": "Create new project",
"save": "Save project",
"edit": "Save project",
"edit": "Edit project",
"name": "Project name",
"description": "Description",
"startDate": "Start project",
Expand All @@ -90,7 +90,9 @@
"title": "Structure checks",
"placeholder": "Give a name to this folder",
"cancelSelection": "Deselect {0}",
"newFolder": "New folder"
"newFolder": "New folder",
"obligatedExtensions": "Obligated extensions",
"blockedExtensions": "Blocked extensions"
},
"extraChecks": {
"title": "Automatic checks on a submission",
Expand Down
4 changes: 3 additions & 1 deletion frontend/src/assets/lang/app/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@
"title": "Indieningsstructuur",
"placeholder": "Geef deze nieuwe map een naam",
"cancelSelection": "Deselecteer {0}",
"newFolder": "Nieuwe map"
"newFolder": "Nieuwe map",
"obligatedExtensions": "Verplichte extensies",
"blockedExtensions": "Niet toegelaten extensies"
},
"extraChecks": {
"title": "Automatische checks op een indiening",
Expand Down
8 changes: 3 additions & 5 deletions frontend/src/components/projects/ProjectStructure.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,9 @@ console.log(props.structureChecks);
</template>
<template v-else>
<div class="flex align-items-center justify-content-between gap-3">
<template>
<span>
{{ node.label }}
</span>
</template>
<span>
{{ node.label }}
</span>
</div>
</template>
</template>
Expand Down

0 comments on commit 4912701

Please sign in to comment.