diff --git a/src/App.tsx b/src/App.tsx index f1b1488..ef701f9 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -6,6 +6,7 @@ import { Download, FileClock, FileJson, + Github, HelpCircle, Heart, Search, @@ -53,6 +54,13 @@ import { scoreBandDisclaimer } from "./scoring"; import { verificationLabel, verificationTooltip } from "./integrity"; +import { + I18nProvider, + translateScoreBand, + translateScoreBandDescription, + translateVerificationStatus, + useI18n +} from "./i18n"; import { createFollowup, createReport, @@ -105,6 +113,15 @@ const trendMetrics: TrendMetric[] = [ ]; function App() { + return ( + + + + ); +} + +function AppRoutes() { + const { t } = useI18n(); if (window.location.pathname.startsWith("/evaluator") || window.location.pathname.startsWith("/veileder")) { return ; } @@ -121,26 +138,26 @@ function App() {
-

Lokal egenvurdering

-

Arbeidsevne

+

{t("app.eyebrow")}

+

{t("app.title")}

- Veileder + {t("app.evaluator")}
-