Add translatable key for Incidents page title
This commit is contained in:
1 parent
8a6ca9ea1c
commit
3a18ac9677
4 files changed
+7
-1
No files matched your search
@@ -11,12 +11,15 @@ import { useState } from "react";
|
|||||||
import IncidentTable from "./Components/IncidentTable";
|
import IncidentTable from "./Components/IncidentTable";
|
||||||
import GenericFallback from "../../Components/GenericFallback";
|
import GenericFallback from "../../Components/GenericFallback";
|
||||||
import NetworkError from "../../Components/GenericFallback/NetworkError";
|
import NetworkError from "../../Components/GenericFallback/NetworkError";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
//Constants
|
//Constants
|
||||||
const BREADCRUMBS = [{ name: `Incidents`, path: "/incidents" }];
|
|
||||||
|
|
||||||
const Incidents = () => {
|
const Incidents = () => {
|
||||||
// Redux state
|
// Redux state
|
||||||
const { user } = useSelector((state) => state.auth);
|
const { user } = useSelector((state) => state.auth);
|
||||||
|
const { t } = useTranslation();
|
||||||
|
|
||||||
|
const BREADCRUMBS = [{ name: t("incidentsPageTitle", "Incidents"), path: "/incidents" }];
|
||||||
|
|
||||||
// Local state
|
// Local state
|
||||||
const [selectedMonitor, setSelectedMonitor] = useState("0");
|
const [selectedMonitor, setSelectedMonitor] = useState("0");
|
||||||
|
|||||||
@@ -518,5 +518,6 @@
|
|||||||
"navControls": "Controls",
|
"navControls": "Controls",
|
||||||
"statusBreadCrumbsStatusPages": "Status Pages",
|
"statusBreadCrumbsStatusPages": "Status Pages",
|
||||||
"statusBreadCrumbsDetails": "Details",
|
"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."
|
"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."
|
||||||
}
|
}
|
||||||
@@ -405,6 +405,7 @@
|
|||||||
"uptimeCreateJsonPath": "",
|
"uptimeCreateJsonPath": "",
|
||||||
"uptimeCreateJsonPathQuery": "",
|
"uptimeCreateJsonPathQuery": "",
|
||||||
"maintenanceTableActionMenuDialogTitle": "",
|
"maintenanceTableActionMenuDialogTitle": "",
|
||||||
|
"incidentsPageTitle": "Инциденты",
|
||||||
"pageSpeedWarning": "Предупреждение: Вы не добавили ключ API Google PageSpeed. Без него монитор PageSpeed не будет работать.",
|
"pageSpeedWarning": "Предупреждение: Вы не добавили ключ API Google PageSpeed. Без него монитор PageSpeed не будет работать.",
|
||||||
"pageSpeedLearnMoreLink": "Нажмите здесь, чтобы узнать",
|
"pageSpeedLearnMoreLink": "Нажмите здесь, чтобы узнать",
|
||||||
"pageSpeedAddApiKey": "как добавить ваш ключ API.",
|
"pageSpeedAddApiKey": "как добавить ваш ключ API.",
|
||||||
|
|||||||
@@ -497,5 +497,6 @@
|
|||||||
"navControls": "Kontroller",
|
"navControls": "Kontroller",
|
||||||
"statusBreadCrumbsStatusPages": "Durum Sayfaları",
|
"statusBreadCrumbsStatusPages": "Durum Sayfaları",
|
||||||
"statusBreadCrumbsDetails": "Detaylar",
|
"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."
|
"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."
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user