Skip to content

Commit

Permalink
Cleanup translations (#442)
Browse files Browse the repository at this point in the history
* fix: show toggle button project list also when there are only projects in the past

* fix: cleanup translations

* fix: default submission status argument

* chore: remove unused translations

* chore: cleanup translations

* fix: linting
  • Loading branch information
BramMeir authored May 20, 2024
1 parent 1ab223e commit 00f5ea2
Show file tree
Hide file tree
Showing 15 changed files with 90 additions and 159 deletions.
88 changes: 23 additions & 65 deletions frontend/src/assets/lang/app/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,14 @@
"layout": {
"header": {
"logo": "Ghent University logo",
"login": "login",
"login": "Login",
"view": "View as {0}",
"user": "Logged in as {0}",
"navigation": {
"dashboard": "Dashboard",
"calendar": "Calendar",
"courses": "courses",
"projects": "projects",
"settings": "preferences",
"help": "help"
"courses": "Courses",
"projects": "Projects"
},
"language": {
"nl": "Nederlands",
Expand Down Expand Up @@ -46,7 +44,7 @@
"coming": "Near deadlines",
"deadline": "Deadline",
"days": "Today at {hour} | Tomorrow at {hour} | In {count} days",
"ago": "{count} days ago",
"ago": "1 day ago | {count} days ago",
"groupName": "Group name",
"groupPopulation": "Size",
"groupStatus": "Status",
Expand All @@ -63,10 +61,10 @@
"edit": "Edit project",
"name": "Project name",
"description": "Description",
"start_date": "Start project",
"group_size": "Number of students in a group (1 for an individual project)",
"number_of_groups": "Number of groups (optional, otherwise #students / group size)",
"max_score": "Maximum score that can be achieved",
"startDate": "Start project",
"numberStudentsGroup": "Number of students in a group (1 for an individual project)",
"numberOfGroups": "Number of groups (optional, otherwise #students / group size)",
"maxScore": "Maximum score that can be achieved",
"visibility": "Make project visible to students",
"scoreVisibility": "Make score, when uploaded, automatically visible to students",
"submissionStructure": "Structure of how a submission should be made",
Expand All @@ -82,7 +80,7 @@
"dockerImage": "Docker image",
"timeLimit": "Time limit for execution (in seconds)",
"memoryLimit": "Memory limit for execution (in MB)",
"showLog": "Making the extra logs of the docker container visible to the students"
"showLog": "Make the extra logs of the docker container visible to the students"
}
},
"submissions": {
Expand Down Expand Up @@ -110,7 +108,6 @@
"clone": "Clone course",
"cloneAssistants": "Clone assistants:",
"cloneTeachers": "Clone teachers:",
"cloneCourse": "Clone teachers:",
"name": "Course name",
"description": "Description",
"excerpt": "Short description",
Expand All @@ -122,17 +119,14 @@
"noProjects": "No projects available for this course",
"teachersAndAssistants": {
"title": "People linked to this course",
"enroll": "Add as {0}",
"leave": "Remove from course",
"edit": "Edit users",
"search": {
"search": "Search",
"faculty": "Faculty",
"role": "Role",
"no_role": "None",
"noRole": "None",
"placeholder": "Search a user by name",
"title": "Find users to link to this course",
"results": "{0} users found for set filters"
"results": "1 user found for set filters | {count} users found for set filters"
}
},
"search": {
Expand All @@ -141,10 +135,7 @@
"year": "Academic year",
"placeholder": "Search a course by name",
"title": "Search a course",
"results": "{0} courses found for set filters"
},
"searchByLink": {
"placeholder": "Find a course using the registration link"
"results": "1 course found for set filters | {count} courses found for set filters"
},
"share": {
"title": "Activate invitation link",
Expand All @@ -157,14 +148,13 @@
"helpers": {
"errors": {
"notFound": "Not found",
"notFoundDetail": "Source not found",
"unauthorized": "unauthorized",
"notFoundDetail": "Source not found.",
"unauthorized": "Unauthorized",
"unauthorizedDetail": "You are not authorized to access this resource.",
"server": "Server Error",
"serverDetail": "An error occurred on the server.",
"network": "Network Error",
"server": "Server error",
"network": "Network error",
"networkDetail": "Unable to reach the server.",
"request": "request error",
"request": "Request error",
"requestDetail": "An error occurred while creating the request."
}
}
Expand All @@ -176,8 +166,6 @@
"createProject": "Create a new project",
"searchCourse": "Search a course",
"createCourse": "Create a new course",
"public": "Public",
"protected": "Protected",
"csv": "Download grades as a .csv file"
},
"card": {
Expand All @@ -201,7 +189,6 @@
"teacher": "No courses found. Create a new course with the button below.",
"search": "No courses found for the given search criteria."
},
"noResults": "No results.",
"noIncomingProjects": "No projects with a deadline within 7 days.",
"selectCourse": "Select the course for which you want to create a project:",
"showPastProjects": "Projects with passed deadline"
Expand Down Expand Up @@ -250,7 +237,7 @@
"save": {
"error": {
"title": "Invalid save operation",
"detail": "You are trying to save an item without selecting it"
"detail": "You are trying to save an item without selecting it."
}
}
}
Expand All @@ -266,25 +253,8 @@
"leaveCourse": "Are you sure you want to leave this course? You will no longer have access to this course.",
"shareCourse": "By activating the invitation link, you allow students in possession of this link to enroll in this course. Please copy the generated link, only when you click on \"Activate invitation link\" will this link become active."
},
"protectedCourses": {
"screen1": {
"title": "Obtain invitation link",
"content": "Teachers can choose to make their courses private. This means you have to ask the teacher for an invitation link, to be able to join the course."
},
"screen2": {
"title": "Search course",
"content": "Use the invitation link to search a course. If you can't find the course, ask the teacher to share a new link."

},
"screen3": {
"title": "Enroll",
"content": "Enroll in the course. Now you can see all the current projects, deadlines, ..."

}
},
"admin": {
"title": "Admin",
"keyword": "Keyword",
"id": "ID",
"list": "List",
"add": "Add",
Expand All @@ -303,31 +273,19 @@
"roles": "Roles"
},
"user": "User",
"assistants": {
"title": "Assistants"
},
"assistant": "Assistant",
"students": {
"title": "Students"
},
"student": "Student",
"teachers": {
"title": "Teachers"
},
"teacher": "Teacher",
"catalog": "Catalog",
"docker_images": {
"dockerImages": {
"title": "Docker Images",
"name_input": "Name of docker image",
"nameInput": "Name of docker image",
"name": "Name",
"owner": "Owner ID",
"public": "Public",
"private": "Private"
"public": "Public"
},
"none_found": "No matching data.",
"noneFound": "No matching data.",
"loading": "Loading data. Please wait.",
"safeGuard": "Are you sure?",
"no_file": "No file found."
"safeGuard": "Are you sure?"
},
"primevue": {
"startsWith": "Starts with",
Expand Down
Loading

0 comments on commit 00f5ea2

Please sign in to comment.