diff --git a/public/locales/en/translation.json b/public/locales/en/translation.json index e2d06a0bf..60df53f6c 100644 --- a/public/locales/en/translation.json +++ b/public/locales/en/translation.json @@ -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", diff --git a/public/locales/fi/translation.json b/public/locales/fi/translation.json index d3f7c2808..32e503ab5 100644 --- a/public/locales/fi/translation.json +++ b/public/locales/fi/translation.json @@ -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ä", diff --git a/src/client/pages/Organisation/OrganisationSurveys.js b/src/client/pages/Organisation/OrganisationSurveys.js index d8235269a..cb962d2ea 100644 --- a/src/client/pages/Organisation/OrganisationSurveys.js +++ b/src/client/pages/Organisation/OrganisationSurveys.js @@ -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 () => {