Skip to content

Commit

Permalink
feat: add missing localisations
Browse files Browse the repository at this point in the history
  • Loading branch information
HRemonen committed Oct 11, 2023
1 parent cdcc3b7 commit 78c8ab6
Show file tree
Hide file tree
Showing 4 changed files with 4 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 @@ -346,6 +346,7 @@
},
"organisationSurveys": {
"heading": "Organisation Surveys",
"viewFeedbackSummary": "View survey summary",
"addSurvey": "Create new organisation survey",
"newSurveyName": "Survey name",
"responsibleTeacherTitle": "Add new responsible teachers",
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 @@ -346,6 +346,7 @@
},
"organisationSurveys": {
"heading": "Organisaation kyselyt",
"viewFeedbackSummary": "Näytä kyselyn yhteenveto",
"addSurvey": "Luo uusi organisaatiokysely",
"newSurveyName": "Kyselyn nimi",
"responsibleTeacherTitle": "Lisää uusi vastuuopettaja",
Expand Down
1 change: 1 addition & 0 deletions public/locales/sv/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@
},
"organisationSurveys": {
"heading": "Organisaation kyselyt",
"viewFeedbackSummary": "Näytä kyselyn yhteenveto",
"addSurvey": "Luo uusi organisaatiokysely",
"newSurveyName": "Kyselyn nimi",
"responsibleTeacherTitle": "Lisää uusi vastuuopettaja",
Expand Down
2 changes: 1 addition & 1 deletion src/client/pages/Organisation/OrganisationSurveys.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const OrganisationSurveyItem = ({ organisationSurvey }) => {
</Typography>

<Button color="primary" variant="outlined" sx={{ mt: 2 }} component={Link} to={viewPath}>
{t('userFeedbacks:viewFeedbackSummary')}
{t('organisationSurveys:viewFeedbackSummary')}
</Button>

<Button color="error" variant="outlined" sx={{ mt: 2, ml: 2 }} onClick={handleDelete}>
Expand Down

0 comments on commit 78c8ab6

Please sign in to comment.