From 4e5cebc569e82f380810c45e84fa845d0cb65d3d Mon Sep 17 00:00:00 2001 From: mohadeseh safari Date: Mon, 12 May 2025 21:04:32 -0400 Subject: [PATCH] fix Passwordpanel --- .../TabPanels/Account/PasswordPanel.jsx | 2 +- client/src/locales/gb.json | 1 + client/src/locales/ru.json | 16 ++-------------- client/src/locales/tr.json | 1 + 4 files changed, 5 insertions(+), 15 deletions(-) diff --git a/client/src/Components/TabPanels/Account/PasswordPanel.jsx b/client/src/Components/TabPanels/Account/PasswordPanel.jsx index 553290f02..94991ab09 100644 --- a/client/src/Components/TabPanels/Account/PasswordPanel.jsx +++ b/client/src/Components/TabPanels/Account/PasswordPanel.jsx @@ -232,7 +232,7 @@ const PasswordPanel = () => { color="accent" type="submit" loading={isLoading} - loadingIndicator={t("passwordPanel.saving", "Saving...")} + loadingIndicator={t("commonSaving", "Saving...")} disabled={ Object.keys(errors).length > 0 || Object.values(localData).filter((value) => value === "").length > 0 diff --git a/client/src/locales/gb.json b/client/src/locales/gb.json index df47a86c4..138b48d9f 100644 --- a/client/src/locales/gb.json +++ b/client/src/locales/gb.json @@ -302,6 +302,7 @@ "integrationsZapier": "Zapier", "integrationsZapierInfo": "Send all incidents to Zapier, and then see them everywhere", "commonSave": "Save", + "commonSaving": "Saving...", "createYour": "Create your", "createMonitor": "Create monitor", "pause": "Pause", diff --git a/client/src/locales/ru.json b/client/src/locales/ru.json index aae11fb1e..dbeb0de96 100644 --- a/client/src/locales/ru.json +++ b/client/src/locales/ru.json @@ -117,6 +117,8 @@ "settingsAbout": "О", "settingsDevelopedBy": "Developed by Bluewave Labs.", "settingsSave": "Сохранить", + "commonSave": "Сохранить", + "commonSaving": "Сохранение...", "settingsSuccessSaved": "Настройки успешно сохранены", "settingsFailedToSave": "Не удалось сохранить настройки", "settingsStatsCleared": "Статистика успешно очищена", @@ -309,7 +311,6 @@ "integrationsDiscordInfo": "Подключитесь к Discord и просматривайте инциденты прямо в канале", "integrationsZapier": "Zapier", "integrationsZapierInfo": "Отправляйте все инциденты в Zapier, и тогда вы сможете видеть их везде", - "commonSave": "", "createYour": "", "createMonitor": "", "pause": "", @@ -329,19 +330,6 @@ "pingMonitoring": "", "pingMonitoringDescription": "", "dockerContainerMonitoring": "", - "dockerContainerMonitoringDescription": "", - "portMonitoring": "", - "portMonitoringDescription": "", - "createMaintenanceWindow": "", - "createMaintenance": "", - "editMaintenance": "", - "maintenanceWindowName": "", - "friendlyNameInput": "", - "friendlyNamePlaceholder": "", - "maintenanceRepeat": "", - "maintenance": "", - "duration": "", - "addMonitors": "", "window": "", "cancel": "", "message": "", diff --git a/client/src/locales/tr.json b/client/src/locales/tr.json index 95a4888f8..dcc68f223 100644 --- a/client/src/locales/tr.json +++ b/client/src/locales/tr.json @@ -292,6 +292,7 @@ "integrationsZapier": "Zapier", "integrationsZapierInfo": "", "commonSave": "Kaydet", + "commonSaving": "Kaydediliyor...", "createYour": "", "createMonitor": "Monitör oluştur", "pause": "Beklet",