diff --git a/client/src/Pages/Incidents/index.jsx b/client/src/Pages/Incidents/index.jsx index 8a5d1560a..36ff66707 100644 --- a/client/src/Pages/Incidents/index.jsx +++ b/client/src/Pages/Incidents/index.jsx @@ -11,12 +11,15 @@ import { useState } from "react"; import IncidentTable from "./Components/IncidentTable"; import GenericFallback from "../../Components/GenericFallback"; import NetworkError from "../../Components/GenericFallback/NetworkError"; +import { useTranslation } from "react-i18next"; //Constants -const BREADCRUMBS = [{ name: `Incidents`, path: "/incidents" }]; const Incidents = () => { // Redux state const { user } = useSelector((state) => state.auth); + const { t } = useTranslation(); + + const BREADCRUMBS = [{ name: t("incidentsPageTitle", "Incidents"), path: "/incidents" }]; // Local state const [selectedMonitor, setSelectedMonitor] = useState("0"); diff --git a/client/src/locales/gb.json b/client/src/locales/gb.json index 99dc05299..44c78fed2 100644 --- a/client/src/locales/gb.json +++ b/client/src/locales/gb.json @@ -518,5 +518,6 @@ "navControls": "Controls", "statusBreadCrumbsStatusPages": "Status Pages", "statusBreadCrumbsDetails": "Details", + "incidentsPageTitle": "Incidents", "uptimeCreateSelectURL": "Enter the URL or IP to monitor (e.g., https://example.com/ or 192.168.1.100) and add a clear display name that appears on the dashboard." } diff --git a/client/src/locales/ru.json b/client/src/locales/ru.json index a9c6ff886..7ba728d5e 100644 --- a/client/src/locales/ru.json +++ b/client/src/locales/ru.json @@ -405,6 +405,7 @@ "uptimeCreateJsonPath": "", "uptimeCreateJsonPathQuery": "", "maintenanceTableActionMenuDialogTitle": "", + "incidentsPageTitle": "Инциденты", "pageSpeedWarning": "Предупреждение: Вы не добавили ключ API Google PageSpeed. Без него монитор PageSpeed не будет работать.", "pageSpeedLearnMoreLink": "Нажмите здесь, чтобы узнать", "pageSpeedAddApiKey": "как добавить ваш ключ API.", diff --git a/client/src/locales/tr.json b/client/src/locales/tr.json index 156db1d7c..bb3e14192 100644 --- a/client/src/locales/tr.json +++ b/client/src/locales/tr.json @@ -497,5 +497,6 @@ "navControls": "Kontroller", "statusBreadCrumbsStatusPages": "Durum Sayfaları", "statusBreadCrumbsDetails": "Detaylar", + "incidentsPageTitle": "Olaylar", "uptimeCreateSelectURL": "İzlenecek URL veya IP adresini girin (örn. https://example.com/ veya 192.168.1.100) ve kontrol panelinde görünecek net bir görüntü adı ekleyin." }