fix strings

This commit is contained in:
tresabhi committed 2026-11-19 10:44:29 -06:00
1 parent bf2f417546
commit eeac6cfe5e
1 file changed
+2 -2
@@ -1,6 +1,6 @@
--- ---
import locales from "@blitzkit/i18n/locales.json"; import locales from "@blitzkit/i18n/locales.json";
import { getStrings } from "../core/i18n/getStrings"; import { api } from "../api/dynamic";
export interface Props { export interface Props {
path: string; path: string;
@@ -9,7 +9,7 @@ export interface Props {
const { path, locale } = Astro.props; const { path, locale } = Astro.props;
const strings = getStrings(locale); const strings = await api.strings(locale);
const resolvedPath = `/${locale === locales.default ? "" : `${locale}/`}${path}`; const resolvedPath = `/${locale === locales.default ? "" : `${locale}/`}${path}`;
--- ---