diff --git a/src/Pages/Infrastructure/Create/index.jsx b/src/Pages/Infrastructure/Create/index.jsx index 6fd0f1fbe..144f499fd 100644 --- a/src/Pages/Infrastructure/Create/index.jsx +++ b/src/Pages/Infrastructure/Create/index.jsx @@ -199,7 +199,7 @@ const CreateInfrastructureMonitor = () => { : await dispatch(updateInfrastructureMonitor({ monitorId, monitor: form })); if (action.meta.requestStatus === "fulfilled") { createToast({ - body: isCreate ? "Infrastructure monitor created successfully!" : "Infrastructure monitor updated successfully!", + body: isCreate ? t("infrastructureMonitorCreated") : t("infrastructureMonitorUpdated"), }); navigate("/infrastructure"); } else { diff --git a/src/locales/gb.json b/src/locales/gb.json index dbc40ec9c..ab5b581d1 100644 --- a/src/locales/gb.json +++ b/src/locales/gb.json @@ -326,6 +326,8 @@ "infrastructureAlertNotificationDescription": "Send a notification to user(s) when thresholds exceed a specified percentage.", "infrastructureCreateMonitor": "Create Infrastructure Monitor", "infrastructureEditMonitor": "Save Infrastructure Monitor", + "infrastructureMonitorCreated": "Infrastructure monitor created successfully!", + "infrastructureMonitorUpdated": "Infrastructure monitor updated successfully!", "infrastructureProtocol": "Protocol", "infrastructureServerUrlLabel": "Server URL", "infrastructureDisplayNameLabel": "Display name",