Fix breadcrumb translation keys for consistency
This commit is contained in:
1 parent
1ede02842d
commit
6383d60dd2
3 files changed
+8
-8
No files matched your search
@@ -62,13 +62,13 @@ const CreateStatusPage = () => {
|
|||||||
|
|
||||||
// Breadcrumbs
|
// Breadcrumbs
|
||||||
const crumbs = [
|
const crumbs = [
|
||||||
{ name: t("statusBredCrumbsStatusPages"), path: "/status" },
|
{ name: t("statusBreadCrumbsStatusPages"), path: "/status" },
|
||||||
];
|
];
|
||||||
if (isCreate) {
|
if (isCreate) {
|
||||||
crumbs.push({ name: t("statusBredCrumbsCreate"), path: "/status/uptime/create" });
|
crumbs.push({ name: t("statusBreadCrumbsCreate"), path: "/status/uptime/create" });
|
||||||
} else {
|
} else {
|
||||||
crumbs.push(
|
crumbs.push(
|
||||||
{ name: t("statusBredCrumbsDetails"), path: `/status/uptime/${statusPage?.url}` },
|
{ name: t("statusBreadCrumbsDetails"), path: `/status/uptime/${statusPage?.url}` },
|
||||||
{ name: t("configure"), path: `/status/uptime/configure/${statusPage?.url}` }
|
{ name: t("configure"), path: `/status/uptime/configure/${statusPage?.url}` }
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -36,8 +36,8 @@ const PublicStatus = () => {
|
|||||||
|
|
||||||
// Breadcrumbs
|
// Breadcrumbs
|
||||||
const crumbs = [
|
const crumbs = [
|
||||||
{ name: t("statusBredCrumbsStatusPages"), path: "/status" },
|
{ name: t("statusBreadCrumbsStatusPages"), path: "/status" },
|
||||||
{ name: t("statusBredCrumbsDetails"), path: `/status/uptime/${statusPage?.url}` },
|
{ name: t("statusBreadCrumbsDetails"), path: `/status/uptime/${statusPage?.url}` },
|
||||||
];
|
];
|
||||||
|
|
||||||
// Setup
|
// Setup
|
||||||
|
|||||||
+3
-3
@@ -379,7 +379,7 @@
|
|||||||
"pageSpeedWarning": "Warning: You haven't added a Google PageSpeed API key. Without it, the PageSpeed monitor won't function.",
|
"pageSpeedWarning": "Warning: You haven't added a Google PageSpeed API key. Without it, the PageSpeed monitor won't function.",
|
||||||
"pageSpeedLearnMoreLink": "Click here to learn",
|
"pageSpeedLearnMoreLink": "Click here to learn",
|
||||||
"pageSpeedAddApiKey": "how to add your API key.",
|
"pageSpeedAddApiKey": "how to add your API key.",
|
||||||
"statusBredCrumbsDetails": "Details",
|
"statusBreadCrumbsDetails": "Details",
|
||||||
"statusBredCrumbsCreate": "Create",
|
"statusBreadCrumbsCreate": "Create",
|
||||||
"statusBredCrumbsStatusPages": "Status Pages"
|
"statusBreadCrumbsStatusPages": "Status Pages"
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user