feat: localize language

This commit is contained in:
tresabhi committed 2025-01-10 20:46:15 -06:00
1 parent cb3e759f75
commit 06cbe1e733
7 files changed
+82 -50

No files matched your search

@@ -1,6 +1,6 @@
import { assertSecret, DEFAULT_LOCALE, localizedStrings } from '@blitzkit/core';
export function resolveBranchName(locale = DEFAULT_LOCALE) {
export function resolveBranchName(locale: string = DEFAULT_LOCALE) {
const strings = localizedStrings[locale];
const secret = assertSecret(import.meta.env.PUBLIC_ASSET_BRANCH);