Skip to content

Commit

Permalink
Add localization
Browse files Browse the repository at this point in the history
  • Loading branch information
Keskimaki committed Oct 10, 2023
1 parent ffb6c27 commit a2c0d1a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,9 @@
"courseUnitTagInfo": "Course realisation inherits {{count}} studytracks from its course unit {{code}}",
"setStudyTracksForSelection": "Set studytracks for course realisations",
"noTags": "Show only courses with no studytracks",
"showCurName": "Show course realisation names"
"showCurName": "Show course realisation names",
"confirmRemoveSurvey": "Are you sure you want to remove this organisation survey?",
"removeSuccess": "Organisation survey removed"
},
"feedbackTargetView": {
"feedbackDisabled": "This feedback is disabled",
Expand Down
4 changes: 3 additions & 1 deletion public/locales/fi/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,9 @@
"courseUnitTagInfo": "Kurssilla {{code}} on {{count}} opintosuunta(a), jotka periytyvät tälle toteutukselle",
"setStudyTracksForSelection": "Merkkaa kurssitoteutusten opintosuunnat",
"noTags": "Näytä vain kurssit ilman opintosuuntia",
"showCurName": "Näytä kurssitoteutusten nimet"
"showCurName": "Näytä kurssitoteutusten nimet",
"confirmRemoveSurvey": "Haluatko varmasti poistaa tämän koulutusohjelman kyselyn?",
"removeSuccess": "Koulutusohjelman kysely poistettu"
},
"feedbackTargetView": {
"feedbackDisabled": "Tämä palaute ei ole käytössä",
Expand Down
1 change: 0 additions & 1 deletion src/client/pages/Organisation/OrganisationSurveys.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ const OrganisationSurveyItem = ({ organisationSurvey }) => {
const mutation = useDeleteOrganisationSurveyMutation(code)
const deleteOrganisationSurvey = useInteractiveMutation(surveyId => mutation.mutateAsync(surveyId), {
success: t('organisationSettings:removeSuccess'),
error: t('organisationSettings:removeError'),
})

const handleDelete = async () => {
Expand Down

0 comments on commit a2c0d1a

Please sign in to comment.