diff --git a/app/pages/index.vue b/app/pages/index.vue index 0d0d885c..beeb69c6 100644 --- a/app/pages/index.vue +++ b/app/pages/index.vue @@ -22,6 +22,10 @@ function openVideo() { const { unengagedPeopleGroupsFormatted, totalPeopleGroupsFormatted, unengagedPopulationMillionsFormatted, ensureLoaded } = usePrayerStatistics() await ensureLoaded() +// Locale separators with Latin digits, matching usePrayerStatistics — for the +// bullseye's static figures (e.g. 3.9 → "3,9" and 6602 → "6.602" in pt). +const formatNumber = (n: number) => n.toLocaleString(`${locale.value}-u-nu-latn`) + const mapboxToken = config.public.mapboxToken as string // Preload the heading font (Bebas Neue) for the homepage hero h1 (the LCP text) @@ -164,8 +168,8 @@ useTextHighlight()