mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: localize language
This commit is contained in:
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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user