From 19c5f4c8c358fddd537bc36b8a30d193a73b3b77 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Tue, 1 Jul 2025 15:25:45 +0800 Subject: [PATCH] update strings --- client/src/Pages/Settings/SettingsEmail.jsx | 5 +---- client/src/locales/en.json | 6 ++++-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/client/src/Pages/Settings/SettingsEmail.jsx b/client/src/Pages/Settings/SettingsEmail.jsx index 6c527eaec..5897ee36d 100644 --- a/client/src/Pages/Settings/SettingsEmail.jsx +++ b/client/src/Pages/Settings/SettingsEmail.jsx @@ -87,10 +87,7 @@ const SettingsEmail = ({ !emailConfig.systemEmailPassword ) { createToast({ - body: t( - "settingsEmailRequiredFields", - "Email address, host, port and password are required" - ), + body: t("settingsPage.emailSettings.toastEmailRequiredFieldsError"), variant: "error", }); return; diff --git a/client/src/locales/en.json b/client/src/locales/en.json index 313c640f7..d38c398a4 100644 --- a/client/src/locales/en.json +++ b/client/src/locales/en.json @@ -1,5 +1,6 @@ { "settingsAppearance": "Appearance", + "settingsDisplayTimezone": "Display timezone", "confirmPassword": "Confirm password", "submit": "Submit", "title": "Title", @@ -61,7 +62,7 @@ "description": "To send data to a Discord channel from Checkmate via Discord notifications using webhooks, you can use Discord's incoming Webhooks feature.", "webhookLabel": "Discord Webhook URL", "webhookPlaceholder": "https://discord.com/api/webhooks/...", - "webhookRequired": "Discord webhook URL is required" + "webhookRequired": "Discord webhook URL is f" }, "telegram": { "label": "Telegram", @@ -792,7 +793,8 @@ "labelUser": "Email user - Username for authentication, overrides email address if specified", "linkTransport": "See specifications here", "placeholderUser": "Leave empty if not required", - "title": "Email" + "title": "Email", + "toastEmailRequiredFieldsError": "Email address, host, port and password are required" }, "pageSpeedSettings": { "description": "Enter your Google PageSpeed API key to enable Google PageSpeed monitoring. Click Reset to update the key.",