Update Breadcrumbs to use new translation keys for improved localization
This commit is contained in:
1 parent
cae3d9ed4f
commit
9b63016d56
3 files changed
+8
-8
No files matched your search
@@ -62,13 +62,13 @@ const CreateStatusPage = () => {
|
||||
|
||||
// Breadcrumbs
|
||||
const crumbs = [
|
||||
{ name: t("statusPages"), path: "/status" },
|
||||
{ name: t("statusBredCrumbsStatusPages"), path: "/status" },
|
||||
];
|
||||
if (isCreate) {
|
||||
crumbs.push({ name: t("create"), path: "/status/create" });
|
||||
crumbs.push({ name: t("statusBredCrumbsCreate"), path: "/status/uptime/create" });
|
||||
} else {
|
||||
crumbs.push(
|
||||
{ name: t("details"), path: `/status/uptime/${statusPage?.url}` },
|
||||
{ name: t("statusBredCrumbsDetails"), path: `/status/uptime/${statusPage?.url}` },
|
||||
{ name: t("configure"), path: "" }
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user