Initial commit: fristy.net personal site
Build & Push / Lint & Build (push) Failing after 1m23s
Build & Push / Build & Push Image (push) Skipped

This commit is contained in:
fristy committed 2026-09-10 04:27:38 +03:00
commit bab59de461
51 files changed
+6033

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
import type { Locale } from "./locales";
import tr from "./dictionaries/tr.json";
import en from "./dictionaries/en.json";
import de from "./dictionaries/de.json";
const dictionaries = { tr, en, de } as const;
export type Dictionary = typeof tr;
export function getDictionary(locale: Locale): Dictionary {
return dictionaries[locale] ?? dictionaries.tr;
}