i18 cleanup

This commit is contained in:
2026-02-25 18:31:50 +03:00
parent 3f66a58b12
commit 1d8eadf796
48 changed files with 1431 additions and 808 deletions

View File

@@ -30,7 +30,7 @@
*/
function getBreadcrumbs(pathname, maxVisible = 3) {
const segments = pathname.split("/").filter(Boolean);
const allItems = [{ label: $t.nav?.home || "Home", path: "/" }];
const allItems = [{ label: $t.nav?.home , path: "/" }];
let currentPath = "";
segments.forEach((segment, index) => {
@@ -136,7 +136,7 @@
<nav
class="mx-4 md:mx-6"
aria-label={$t.nav?.breadcrumb_nav || "Breadcrumb navigation"}
aria-label={$t.nav?.breadcrumb_nav }
>
<div class="inline-flex max-w-full items-center gap-1.5 rounded-xl border border-slate-200/80 bg-white/85 px-2 py-1.5 shadow-sm backdrop-blur">
{#each breadcrumbItems as item, index}