diff --git a/client/src/Components/GenericFallback/NetworkError.jsx b/client/src/Components/GenericFallback/NetworkError.jsx
index b26037a57..ddffa1c31 100644
--- a/client/src/Components/GenericFallback/NetworkError.jsx
+++ b/client/src/Components/GenericFallback/NetworkError.jsx
@@ -1,8 +1,11 @@
import { Typography } from "@mui/material";
import { useTheme } from "@emotion/react";
+import { useTranslation } from "react-i18next";
const NetworkError = () => {
const theme = useTheme();
+ const { t } = useTranslation();
+
return (
<>
{
marginY={theme.spacing(4)}
color={theme.palette.primary.contrastTextTertiary}
>
- Network error
+ {t("common.toasts.networkError")}
- Please check your connection
+ {t("common.toasts.checkConnection")}
>
);
};
diff --git a/client/src/Pages/Infrastructure/Details/index.jsx b/client/src/Pages/Infrastructure/Details/index.jsx
index f7f96f931..fefb7d2aa 100644
--- a/client/src/Pages/Infrastructure/Details/index.jsx
+++ b/client/src/Pages/Infrastructure/Details/index.jsx
@@ -46,9 +46,9 @@ const InfrastructureDetails = () => {
marginY={theme.spacing(4)}
color={theme.palette.primary.contrastTextTertiary}
>
- {t("networkError")}
+ {t("common.toasts.networkError")}
- {t("checkConnection")}
+ {t("common.toasts.checkConnection")}
);
}
diff --git a/client/src/Pages/Infrastructure/Monitors/index.jsx b/client/src/Pages/Infrastructure/Monitors/index.jsx
index 9797736c4..bfba843c0 100644
--- a/client/src/Pages/Infrastructure/Monitors/index.jsx
+++ b/client/src/Pages/Infrastructure/Monitors/index.jsx
@@ -66,9 +66,9 @@ const InfrastructureMonitors = () => {
marginY={theme.spacing(4)}
color={theme.palette.primary.contrastTextTertiary}
>
- {t("networkError")}
+ {t("common.toasts.networkError")}
- {t("checkConnection")}
+ {t("common.toasts.checkConnection")}
);
}
diff --git a/client/src/Pages/Maintenance/index.jsx b/client/src/Pages/Maintenance/index.jsx
index eccc95b50..f155680a5 100644
--- a/client/src/Pages/Maintenance/index.jsx
+++ b/client/src/Pages/Maintenance/index.jsx
@@ -58,9 +58,9 @@ const Maintenance = () => {
marginY={theme.spacing(4)}
color={theme.palette.primary.contrastTextTertiary}
>
- {t("networkError")}
+ {t("common.toasts.networkError")}
- {t("checkConnection")}
+ {t("common.toasts.checkConnection")}
);
}
diff --git a/client/src/Pages/PageSpeed/Details/index.jsx b/client/src/Pages/PageSpeed/Details/index.jsx
index d429858d2..5724f12a1 100644
--- a/client/src/Pages/PageSpeed/Details/index.jsx
+++ b/client/src/Pages/PageSpeed/Details/index.jsx
@@ -52,9 +52,9 @@ const PageSpeedDetails = () => {
marginY={theme.spacing(4)}
color={theme.palette.primary.contrastTextTertiary}
>
- {t("networkError")}
+ {t("common.toasts.networkError")}
- {t("checkConnection")}
+ {t("common.toasts.checkConnection")}
);
}
diff --git a/client/src/Pages/PageSpeed/Monitors/index.jsx b/client/src/Pages/PageSpeed/Monitors/index.jsx
index bd40aedff..808541cee 100644
--- a/client/src/Pages/PageSpeed/Monitors/index.jsx
+++ b/client/src/Pages/PageSpeed/Monitors/index.jsx
@@ -35,9 +35,9 @@ const PageSpeed = () => {
marginY={theme.spacing(4)}
color={theme.palette.primary.contrastTextTertiary}
>
- {t("networkError")}
+ {t("common.toasts.networkError")}
- {t("checkConnection")}
+ {t("common.toasts.checkConnection")}
);
}
diff --git a/client/src/Pages/StatusPage/Create/index.jsx b/client/src/Pages/StatusPage/Create/index.jsx
index d1bb8d196..50535cd90 100644
--- a/client/src/Pages/StatusPage/Create/index.jsx
+++ b/client/src/Pages/StatusPage/Create/index.jsx
@@ -208,9 +208,9 @@ const CreateStatusPage = () => {
marginY={theme.spacing(4)}
color={theme.palette.primary.contrastTextTertiary}
>
- {t("networkError")}
+ {t("common.toasts.networkError")}
- {t("checkConnection")}
+ {t("common.toasts.checkConnection")}
);
}
diff --git a/client/src/Pages/StatusPage/Status/index.jsx b/client/src/Pages/StatusPage/Status/index.jsx
index 341c6d731..ee1ec436c 100644
--- a/client/src/Pages/StatusPage/Status/index.jsx
+++ b/client/src/Pages/StatusPage/Status/index.jsx
@@ -69,9 +69,9 @@ const PublicStatus = () => {
marginY={theme.spacing(4)}
color={theme.palette.primary.contrastTextTertiary}
>
- {t("networkError")}
+ {t("common.toasts.networkError")}
- {t("checkConnection")}
+ {t("common.toasts.checkConnection")}
);
}
diff --git a/client/src/Pages/StatusPage/StatusPages/index.jsx b/client/src/Pages/StatusPage/StatusPages/index.jsx
index 095023d76..650307bdb 100644
--- a/client/src/Pages/StatusPage/StatusPages/index.jsx
+++ b/client/src/Pages/StatusPage/StatusPages/index.jsx
@@ -32,9 +32,9 @@ const StatusPages = () => {
marginY={theme.spacing(4)}
color={theme.palette.primary.contrastTextTertiary}
>
- {t("networkError")}
+ {t("common.toasts.networkError")}
- {t("checkConnection")}
+ {t("common.toasts.checkConnection")}
);
}
diff --git a/client/src/Pages/Uptime/Details/index.jsx b/client/src/Pages/Uptime/Details/index.jsx
index 5ad8bd61b..570b687d5 100644
--- a/client/src/Pages/Uptime/Details/index.jsx
+++ b/client/src/Pages/Uptime/Details/index.jsx
@@ -95,9 +95,9 @@ const UptimeDetails = () => {
marginY={theme.spacing(4)}
color={theme.palette.primary.contrastTextTertiary}
>
- {t("networkError")}
+ {t("common.toasts.networkError")}
- {t("checkConnection")}
+ {t("common.toasts.checkConnection")}
);
}
diff --git a/client/src/Pages/Uptime/Monitors/index.jsx b/client/src/Pages/Uptime/Monitors/index.jsx
index ce9123816..793731190 100644
--- a/client/src/Pages/Uptime/Monitors/index.jsx
+++ b/client/src/Pages/Uptime/Monitors/index.jsx
@@ -158,9 +158,9 @@ const UptimeMonitors = () => {
marginY={theme.spacing(4)}
color={theme.palette.primary.contrastTextTertiary}
>
- {t("networkError")}
+ {t("common.toasts.networkError")}
- {t("checkConnection")}
+ {t("common.toasts.checkConnection")}
);
}
diff --git a/client/src/locales/cs.json b/client/src/locales/cs.json
index 10a0f3c45..5f2fde219 100644
--- a/client/src/locales/cs.json
+++ b/client/src/locales/cs.json
@@ -4,6 +4,10 @@
"monitoringAgentName": "Capture",
"buttons": {
"toggleTheme": "Přepnout mezi světlým a tmavým motivem"
+ },
+ "toasts": {
+ "networkError": "Chyba připojení k síti",
+ "checkConnection": "Zkontrolujte prosím své připojení k síti"
}
},
"errorPages": {
@@ -128,7 +132,6 @@
"now": "",
"delete": "",
"configure": "",
- "networkError": "",
"responseTime": "",
"ms": "",
"bar": "",
@@ -136,7 +139,6 @@
"country": "",
"city": "",
"response": "",
- "checkConnection": "",
"passwordreset": "",
"authRegisterStepOnePersonalDetails": "",
"authCheckEmailOpenEmailButton": "",
diff --git a/client/src/locales/de.json b/client/src/locales/de.json
index 9c13009b7..fb1a58019 100644
--- a/client/src/locales/de.json
+++ b/client/src/locales/de.json
@@ -4,6 +4,10 @@
"monitoringAgentName": "Capture",
"buttons": {
"toggleTheme": ""
+ },
+ "toasts": {
+ "networkError": "",
+ "checkConnection": ""
}
},
"errorPages": {
@@ -128,7 +132,6 @@
"now": "",
"delete": "",
"configure": "",
- "networkError": "",
"responseTime": "",
"ms": "",
"bar": "",
@@ -136,7 +139,6 @@
"country": "",
"city": "",
"response": "",
- "checkConnection": "",
"passwordreset": "",
"authRegisterStepOnePersonalDetails": "",
"authCheckEmailOpenEmailButton": "",
diff --git a/client/src/locales/en.json b/client/src/locales/en.json
index 055ddbdca..145aa0af3 100644
--- a/client/src/locales/en.json
+++ b/client/src/locales/en.json
@@ -4,6 +4,10 @@
"monitoringAgentName": "Capture",
"buttons": {
"toggleTheme": "Toggles light & dark"
+ },
+ "toasts": {
+ "networkError": "Network error",
+ "checkConnection": "Please check your connection"
}
},
"errorPages": {
@@ -124,7 +128,6 @@
"now": "Now",
"delete": "Delete",
"configure": "Configure",
- "networkError": "Network error",
"responseTime": "Response time",
"ms": "ms",
"bar": "Bar",
@@ -132,7 +135,6 @@
"country": "COUNTRY",
"city": "CITY",
"response": "RESPONSE",
- "checkConnection": "Please check your connection",
"passwordreset": "Password Reset",
"authRegisterStepOnePersonalDetails": "Enter your personal details",
"authCheckEmailOpenEmailButton": "Open email app",
diff --git a/client/src/locales/es.json b/client/src/locales/es.json
index 2f76a6c93..722833d99 100644
--- a/client/src/locales/es.json
+++ b/client/src/locales/es.json
@@ -4,6 +4,10 @@
"monitoringAgentName": "Capture",
"buttons": {
"toggleTheme": ""
+ },
+ "toasts": {
+ "networkError": "",
+ "checkConnection": ""
}
},
"errorPages": {
@@ -128,7 +132,6 @@
"now": "",
"delete": "",
"configure": "",
- "networkError": "",
"responseTime": "",
"ms": "",
"bar": "",
@@ -136,7 +139,6 @@
"country": "",
"city": "",
"response": "",
- "checkConnection": "",
"passwordreset": "",
"authRegisterStepOnePersonalDetails": "",
"authCheckEmailOpenEmailButton": "",
diff --git a/client/src/locales/fi.json b/client/src/locales/fi.json
index 463665ef5..16517778a 100644
--- a/client/src/locales/fi.json
+++ b/client/src/locales/fi.json
@@ -4,6 +4,10 @@
"monitoringAgentName": "Capture",
"buttons": {
"toggleTheme": ""
+ },
+ "toasts": {
+ "networkError": "Verkkovirhe",
+ "checkConnection": "Tarkista yhteytesi"
}
},
"errorPages": {
@@ -128,7 +132,6 @@
"now": "Nyt",
"delete": "Poista",
"configure": "Määritä",
- "networkError": "Verkkovirhe",
"responseTime": "Vasteaika",
"ms": "ms",
"bar": "Palkki",
@@ -136,7 +139,6 @@
"country": "MAA",
"city": "KAUPUNKI",
"response": "Vastaus",
- "checkConnection": "Tarkista yhteytesi",
"passwordreset": "Salasanan nollaus",
"authRegisterStepOnePersonalDetails": "Syötä henkilökohtaiset tietosi",
"authCheckEmailOpenEmailButton": "Avaa sähköpostisovellus",
diff --git a/client/src/locales/fr.json b/client/src/locales/fr.json
index b430ea903..4acde5888 100644
--- a/client/src/locales/fr.json
+++ b/client/src/locales/fr.json
@@ -4,6 +4,10 @@
"monitoringAgentName": "Capture",
"buttons": {
"toggleTheme": ""
+ },
+ "toasts": {
+ "networkError": "",
+ "checkConnection": "Vérifiez votre connexion"
}
},
"errorPages": {
@@ -128,7 +132,6 @@
"now": "",
"delete": "Supprimer",
"configure": "",
- "networkError": "",
"responseTime": "",
"ms": "",
"bar": "",
@@ -136,7 +139,6 @@
"country": "PAYS",
"city": "VILLE",
"response": "",
- "checkConnection": "Vérifiez votre connexion",
"passwordreset": "",
"authRegisterStepOnePersonalDetails": "Saisissez vos infos",
"authCheckEmailOpenEmailButton": "Ouvrir l'appli mail",
diff --git a/client/src/locales/pt-BR.json b/client/src/locales/pt-BR.json
index 273e40d67..25f14086e 100644
--- a/client/src/locales/pt-BR.json
+++ b/client/src/locales/pt-BR.json
@@ -4,6 +4,10 @@
"monitoringAgentName": "Capture",
"buttons": {
"toggleTheme": ""
+ },
+ "toasts": {
+ "networkError": "Erro de rede",
+ "checkConnection": "Verifique sua conexão"
}
},
"errorPages": {
@@ -127,7 +131,6 @@
"now": "Agora",
"delete": "Deletar",
"configure": "Configurar",
- "networkError": "Erro de rede",
"responseTime": "Tempo de resposta",
"ms": "ms",
"bar": "Bar",
@@ -135,7 +138,6 @@
"country": "PAÍS",
"city": "CIDADE",
"response": "RESPOSTA",
- "checkConnection": "Verifique sua conexão",
"passwordreset": "Redefinição de senha",
"authRegisterStepOnePersonalDetails": "Insira seus dados pessoais",
"authCheckEmailOpenEmailButton": "Abra o aplicativo de e-mail",
diff --git a/client/src/locales/ru.json b/client/src/locales/ru.json
index facd85cb3..ae83dc57a 100644
--- a/client/src/locales/ru.json
+++ b/client/src/locales/ru.json
@@ -4,6 +4,10 @@
"monitoringAgentName": "Capture",
"buttons": {
"toggleTheme": ""
+ },
+ "toasts": {
+ "networkError": "Ошибка сети",
+ "checkConnection": "Пожалуйста, проверьте ваше соединение"
}
},
"errorPages": {
@@ -124,7 +128,6 @@
"now": "Сейчас",
"delete": "Удалить",
"configure": "Настроить",
- "networkError": "Ошибка сети",
"responseTime": "Время ответа:",
"ms": "мс",
"bar": "Bar",
@@ -132,7 +135,6 @@
"country": "СТРАНА",
"city": "ГОРОД",
"response": "ОТВЕТ",
- "checkConnection": "Пожалуйста, проверьте ваше соединение",
"passwordreset": "Сброс пароля",
"authRegisterStepOnePersonalDetails": "Введите свои личные данные",
"authCheckEmailOpenEmailButton": "Откройте приложение почты",
diff --git a/client/src/locales/tr.json b/client/src/locales/tr.json
index c7a0d300a..59e911118 100644
--- a/client/src/locales/tr.json
+++ b/client/src/locales/tr.json
@@ -4,6 +4,10 @@
"monitoringAgentName": "Capture",
"buttons": {
"toggleTheme": ""
+ },
+ "toasts": {
+ "networkError": "Ağ hatası",
+ "checkConnection": "Lütfen bağlantınızı kontrol edin"
}
},
"errorPages": {
@@ -128,7 +132,6 @@
"now": "Şimdi",
"delete": "Sil",
"configure": "Yapılandır",
- "networkError": "Ağ hatası",
"responseTime": "Yanıt süresi:",
"ms": "ms",
"bar": "Çubuk",
@@ -136,7 +139,6 @@
"country": "ÜLKE",
"city": "ŞEHİR",
"response": "YANIT",
- "checkConnection": "Lütfen bağlantınızı kontrol edin",
"passwordreset": "Parola Sıfırlama",
"authRegisterStepOnePersonalDetails": "Kişisel bilgilerinizi girin",
"authCheckEmailOpenEmailButton": "Eposta uygulamasını aç",
diff --git a/client/src/locales/zh-TW.json b/client/src/locales/zh-TW.json
index ff48a0ddc..98fed65ef 100644
--- a/client/src/locales/zh-TW.json
+++ b/client/src/locales/zh-TW.json
@@ -4,6 +4,10 @@
"monitoringAgentName": "Capture",
"buttons": {
"toggleTheme": ""
+ },
+ "toasts": {
+ "networkError": "",
+ "checkConnection": ""
}
},
"errorPages": {
@@ -128,7 +132,6 @@
"now": "",
"delete": "",
"configure": "",
- "networkError": "",
"responseTime": "",
"ms": "",
"bar": "",
@@ -136,7 +139,6 @@
"country": "",
"city": "",
"response": "",
- "checkConnection": "",
"passwordreset": "",
"authRegisterStepOnePersonalDetails": "",
"authCheckEmailOpenEmailButton": "",