feat: add i18n dictionaries and service data

Locale-aware EN/FR string dictionaries and the two-service data model
(CVE Watch with per-locale URLs, Convert with a single URL).
This commit is contained in:
2026-08-02 15:51:45 +02:00
parent e9d34f9d13
commit 2606508713
6 changed files with 164 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
import { en } from './en';
import { fr } from './fr';
import type { Dictionary } from './en';
import type { Locale } from './locale';
const dictionaries: Record<Locale, Dictionary> = { en, fr };
export function getDictionary(locale: Locale): Dictionary {
return dictionaries[locale];
}