From 9b686ddd9c83eb8b99be6dd7969950304c92e11d Mon Sep 17 00:00:00 2001 From: WilliamThorenfeldt <133344438+WilliamThorenfeldt@users.noreply.github.com> Date: Thu, 14 Dec 2023 18:12:57 +0100 Subject: [PATCH] fixing the message (#11861) --- .../app-development/features/processEditor/ProcessEditor.tsx | 2 +- frontend/language/src/nb.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/app-development/features/processEditor/ProcessEditor.tsx b/frontend/app-development/features/processEditor/ProcessEditor.tsx index 6c2ea02f9ea..67c3cfdf8c6 100644 --- a/frontend/app-development/features/processEditor/ProcessEditor.tsx +++ b/frontend/app-development/features/processEditor/ProcessEditor.tsx @@ -23,7 +23,7 @@ export const ProcessEditor = () => { { bpmnXml: xml }, { onSuccess: () => { - toast.success('Bpmn saved successfully'); + toast.success(t('process_editor.saved_successfully')); }, }, ); diff --git a/frontend/language/src/nb.json b/frontend/language/src/nb.json index db55d81b415..2f952f1cccc 100644 --- a/frontend/language/src/nb.json +++ b/frontend/language/src/nb.json @@ -648,6 +648,7 @@ "process_editor.not_found_process_error_message": "Det finnes ingen prosess definert innenfor BPMN, Du kan verifisere om prosessen finnes i BPMN-filen.", "process_editor.not_found_process_heading": "Ingen tilgjengelig prosess", "process_editor.save": "Lagre", + "process_editor.saved_successfully": "Bpmn prosessen ble lagret", "process_editor.too_old_version_text": "Applikasjonen din har versjon {{ version }} av app-lib-pakken.\nVi støtter kun redigering av prosesser for applikasjoner som bruker versjon 8 eller nyere.", "process_editor.too_old_version_title": "Du kan ikke redigere denne prosessen", "process_editor.unknown_heading_error_message": "Obs, noe gikk galt!",