refactor(dashboard): apply new i18n resolver to dashboard shell and localized fields

This commit is contained in:
poyrazavsever
2026-07-20 10:25:40 +03:00
parent 7a4f2bf2ea
commit 763c243962
5 changed files with 24 additions and 9 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
import { getPublicBranding } from "@/server/branding/runtime";
import { resolveRequestLocale } from "@/server/i18n/resolver";
import { resolveRootLocale } from "@/server/i18n/resolver";
import { createTranslator } from "@/server/i18n/translator";
import Link from "next/link";
import { Button, Typography } from "poyraz-ui/atoms";
export default async function NotFoundPage() {
const locale = await resolveRequestLocale();
const locale = await resolveRootLocale();
const t = createTranslator(locale.locale, ["common"]).t;
const branding = getPublicBranding();