chore: auto-fix lint & formatting [skip ci]

This commit is contained in:
github-actions[bot] 2026-08-02 16:44:42 +00:00
parent 4edd468ace
commit 2e4cb24c1d
17 changed files with 386 additions and 120 deletions

View file

@ -53,6 +53,9 @@ export function t(
translations?: Translations,
): string {
const dict = translations ?? en;
const raw = getByPath(dict as Record<string, unknown>, key) ?? getByPath(en as Record<string, unknown>, key) ?? key;
const raw =
getByPath(dict as Record<string, unknown>, key) ??
getByPath(en as Record<string, unknown>, key) ??
key;
return params ? interpolate(raw, params) : raw;
}