Skip to content

Commit

Permalink
Add info to reminder email about preamble translating
Browse files Browse the repository at this point in the history
  • Loading branch information
Veikkosuhonen committed Jul 25, 2023
1 parent 9e89a67 commit e816615
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@
"modalTitle": "Send a reminder about feedback via email",
"writeAMessage": "Write a message to students",
"emailMessage": "Dear student! \n Please give feedback for the course {{courseName}}. The feedback period ends on {{closesAt}}. Thank you!\n << The message you write will appear here >>",
"emailMessageInfo": "(The preamble is translated to the student's preferred language)",
"modalSubtitle": "Students who have already given feedback wont receive this email",
"emailSent": "Reminder email sent",
"setHidden": "Hide this answer",
Expand Down
1 change: 1 addition & 0 deletions public/locales/fi/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@
"modalTitle": "Lähetä muistutus palautteesta sähköpostilla",
"writeAMessage": "Kirjoita viesti opiskelijoille",
"emailMessage": "Hyvä opiskelija! \n Vastaathan kurssin {{courseName}} palautteeseen. Palautejakso päättyy {{closesAt}}. Kiitos!\n << Kirjoittamasi viesti tulee tähän >>",
"emailMessageInfo": "(Viestin alkuosa kääntyy opiskelijan käyttämälle kielelle)",
"modalSubtitle": "Opiskelijat, jotka ovat jo antaneet palautetta, eivät saa muistutusviestiä",
"emailSent": "Muistutusviesti lähetetty",
"setHidden": "Piilota näkyvistä",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const styles = {
},
textField: {
whiteSpace: 'pre-line',
marginBottom: 5,
mb: 1,
},
}

Expand Down Expand Up @@ -72,6 +72,9 @@ const ReminderEmailModal = ({ open, onClose, feedbackTarget }) => {
closesAt,
})}
</Typography>
<Typography variant="body2" component="p" sx={styles.subtitle}>
{t('feedbackTargetResults:emailMessageInfo')}
</Typography>
<Box mb={2} />
<TextField
label={t('feedbackTargetResults:writeAMessage')}
Expand Down

0 comments on commit e816615

Please sign in to comment.