Skip to content

Commit

Permalink
translations, linted, removing grid attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriB01 committed Aug 29, 2024
1 parent b9d28af commit 97d9a42
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@ const CreateCourseDetailsTable = ({ remoteCourse, datePickerValue, setDatePicker
return (
<LocalizationProvider dateAdapter={AdapterDayjs}>
<Grid container direction="column" spacing={3}>
<Grid item container direction="row" justifyContent="space-between" alignItems="center">
<Grid item>
<TextField
label="Kursname"
label={t('components.CreateCourseDetailsTable.courseName')}
defaultValue={remoteCourse?.fullname}
sx={{ width: '100%', mt: '1rem' }}
required
/>
</Grid>
<Grid item container direction="row" justifyContent="space-between" alignItems="center">
<Grid item>
<DateTimePicker
label={t('components.CreateCourseDetailsTable.startdate')}
label={t('components.CreateCourseDetailsTable.startDate')}
value={datePickerValue}
onChange={setDatePickerValue}
sx={{ width: '100%' }}
Expand Down
3 changes: 2 additions & 1 deletion src/shared/translation/translationEnglish.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@
}
],
"components.CourseModal.selectCourse": "Select course",
"components.CreateCourseDetailsTable.startdate": "Startdate",
"components.CreateCourseDetailsTable.courseName": "Course name",
"components.CreateCourseDetailsTable.startDate": "Start date",
"components.CreateCourseModal.createCourse": "Create Course",
"components.CreateCourseTable.alreadyCreatedCourses": "Already created courses",
"components.CreateCourseTable.lmsCourses": "Courses from the LMS",
Expand Down
3 changes: 2 additions & 1 deletion src/shared/translation/translationGerman.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@
}
],
"components.CourseModal.selectCourse": "Kursauswahl",
"components.CreateCourseDetailsTable.startdate": "Startdatum",
"components.CreateCourseDetailsTable.courseName": "Kursname",
"components.CreateCourseDetailsTable.startDate": "Startdatum",
"components.CreateCourseModal.createCourse": "Kurs erstellen",
"components.CreateCourseTable.alreadyCreatedCourses": "Bereits erstellte Kurse",
"components.CreateCourseTable.lmsCourses": "Kurse aus dem LMS",
Expand Down

0 comments on commit 97d9a42

Please sign in to comment.