From a3209679496dd4b4e7e944868982971b744b3be7 Mon Sep 17 00:00:00 2001 From: Vishnu Sreekumaran Nair <200557136@student.georgianc.on.ca> Date: Fri, 14 Mar 2025 22:33:21 -0400 Subject: [PATCH] update gb.json to include edit translations --- src/Pages/Infrastructure/Create/index.jsx | 4 ++-- src/locales/gb.json | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Pages/Infrastructure/Create/index.jsx b/src/Pages/Infrastructure/Create/index.jsx index 3973d2181..fa228828a 100644 --- a/src/Pages/Infrastructure/Create/index.jsx +++ b/src/Pages/Infrastructure/Create/index.jsx @@ -270,7 +270,7 @@ const CreateInfrastructureMonitor = () => { component="span" fontSize="inherit" > - {t("infrastructureCreateYour")}{" "} + {t(isCreate? "infrastructureCreateYour": "infrastructureEditYour")}{" "} { onClick={handleCreateInfrastructureMonitor} loading={monitorState?.isLoading} > - {t("infrastructureCreateMonitor")} + {t(isCreate? "infrastructureCreateMonitor": "infrastructureEditMonitor")} diff --git a/src/locales/gb.json b/src/locales/gb.json index e8ba56ffc..d01dad274 100644 --- a/src/locales/gb.json +++ b/src/locales/gb.json @@ -150,11 +150,13 @@ "incidentsOptionsHeaderLastWeek": "Last week", "incidentsOptionsPlaceholderAllServers": "All servers", "infrastructureCreateYour": "Create your", + "infrastructureEditYour": "Edit your", "infrastructureCreateGeneralSettingsDescription": "Here you can select the URL of the host, together with the friendly name and authorization secret to connect to the server agent.", "infrastructureServerRequirement": "The server you are monitoring must be running the", "infrastructureCustomizeAlerts": "Customize alerts", "infrastructureAlertNotificationDescription": "Send a notification to user(s) when thresholds exceed a specified percentage.", "infrastructureCreateMonitor": "Create Infrastructure Monitor", + "infrastructureEditMonitor": "Save Infrastructure Monitor", "infrastructureProtocol": "Protocol", "infrastructureServerUrlLabel": "Server URL", "infrastructureDisplayNameLabel": "Display name",