feat(frontend): scaffold i18n init, fr.json (~140 keys), status map, format helpers

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Knacky
2026-06-21 23:21:02 +02:00
parent 51fb2e4f95
commit 3723bd009b
6 changed files with 553 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
import i18n from './index';
import type { EngagementStatus, SimulationStatus } from '@/api/types';
export const engagementStatusLabel = (s: EngagementStatus): string =>
i18n.t(`status.engagement.${s}`);
export const simulationStatusLabel = (s: SimulationStatus): string =>
i18n.t(`status.simulation.${s}`);