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
|
||||
const crumbs = [
|
||||
{ name: t("statusBredCrumbsStatusPages"), path: "/status" },
|
||||
{ name: t("statusBreadCrumbsStatusPages"), path: "/status" },
|
||||
];
|
||||
if (isCreate) {
|
||||
crumbs.push({ name: t("statusBredCrumbsCreate"), path: "/status/uptime/create" });
|
||||
crumbs.push({ name: t("statusBreadCrumbsCreate"), path: "/status/uptime/create" });
|
||||
} else {
|
||||
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}` }
|
||||
);
|
||||
}
|
||||
|
||||
@@ -36,8 +36,8 @@ const PublicStatus = () => {
|
||||
|
||||
// Breadcrumbs
|
||||
const crumbs = [
|
||||
{ name: t("statusBredCrumbsStatusPages"), path: "/status" },
|
||||
{ name: t("statusBredCrumbsDetails"), path: `/status/uptime/${statusPage?.url}` },
|
||||
{ name: t("statusBreadCrumbsStatusPages"), path: "/status" },
|
||||
{ name: t("statusBreadCrumbsDetails"), path: `/status/uptime/${statusPage?.url}` },
|
||||
];
|
||||
|
||||
// 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.",
|
||||
"pageSpeedLearnMoreLink": "Click here to learn",
|
||||
"pageSpeedAddApiKey": "how to add your API key.",
|
||||
"statusBredCrumbsDetails": "Details",
|
||||
"statusBredCrumbsCreate": "Create",
|
||||
"statusBredCrumbsStatusPages": "Status Pages"
|
||||
"statusBreadCrumbsDetails": "Details",
|
||||
"statusBreadCrumbsCreate": "Create",
|
||||
"statusBreadCrumbsStatusPages": "Status Pages"
|
||||
}
|
||||
Reference in new issue
Block a user