diff --git a/public/locales/de/translations.json b/public/locales/de/translations.json index 00afde9c..622d8595 100644 --- a/public/locales/de/translations.json +++ b/public/locales/de/translations.json @@ -607,6 +607,7 @@ "volunteerType": "Freiwilligen-Typ", "activities": "Aktivitäten", "skills": "Fähigkeiten & Erfahrungen", + "comments": "Kommentare", "cancel": "Abbrechen", "saveChanges": "Änderungen speichern", "saveSuccess": "Profil erfolgreich aktualisiert", diff --git a/public/locales/en/translations.json b/public/locales/en/translations.json index 95509e2e..e59911ef 100644 --- a/public/locales/en/translations.json +++ b/public/locales/en/translations.json @@ -606,6 +606,7 @@ "volunteerType": "Volunteer type", "activities": "Activities", "skills": "Skills & experience", + "comments": "Comments", "cancel": "Cancel", "saveChanges": "Save changes", "saveSuccess": "Profile updated successfully", diff --git a/src/components/Dashboard/Profile/sections/VolunteerProfile/DisplayFields.tsx b/src/components/Dashboard/Profile/sections/VolunteerProfile/DisplayFields.tsx index 72602cbe..01841a64 100644 --- a/src/components/Dashboard/Profile/sections/VolunteerProfile/DisplayFields.tsx +++ b/src/components/Dashboard/Profile/sections/VolunteerProfile/DisplayFields.tsx @@ -48,6 +48,7 @@ type Props = { volunteerTypeStatus: StatusValue | undefined; activities: string[]; skills: string[]; + comments: string | undefined; t: (key: string) => string; }; @@ -60,6 +61,7 @@ export function DisplayFields({ volunteerTypeStatus, activities, skills, + comments, t, }: Props) { return ( @@ -120,6 +122,11 @@ export function DisplayFields({ )} + + + {t("dashboard.volunteerProfile.profileSection.comments")} + {comments || } + ); } diff --git a/src/components/Dashboard/Profile/sections/VolunteerProfile/VolunteerProfile.tsx b/src/components/Dashboard/Profile/sections/VolunteerProfile/VolunteerProfile.tsx index c98fb2cf..cfe79b33 100644 --- a/src/components/Dashboard/Profile/sections/VolunteerProfile/VolunteerProfile.tsx +++ b/src/components/Dashboard/Profile/sections/VolunteerProfile/VolunteerProfile.tsx @@ -169,6 +169,7 @@ export const VolunteerProfile = forwardRef(function volunteerTypeStatus={volunteer.statusType} activities={extractTitles(volunteer.activities)} skills={extractTitles(volunteer.skills)} + comments={volunteer.infoAbout} t={t} /> )}