From 498b83ae790776f86ea9df3d887982a11176a888 Mon Sep 17 00:00:00 2001 From: surfdude29 <149612116+surfdude29@users.noreply.github.com> Date: Mon, 28 Oct 2024 23:12:21 +0000 Subject: Add `en-GB` localisation (#5952) * Create blank en-GB/messages.po * localise certain strings for en-GB * Update lingui.config.js * Update dates.ts * Update helpers.ts * Update i18n.ts * Update i18n.web.ts * Update languages.ts * Update i18n.ts --- src/components/hooks/dates.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/components/hooks/dates.ts') diff --git a/src/components/hooks/dates.ts b/src/components/hooks/dates.ts index 8bfe0144e..73c4593be 100644 --- a/src/components/hooks/dates.ts +++ b/src/components/hooks/dates.ts @@ -12,6 +12,7 @@ import {formatDistance, Locale} from 'date-fns' import { ca, de, + enGB, es, fi, fr, @@ -39,6 +40,7 @@ const locales: Record = { en: undefined, ca, de, + ['en-GB']: enGB, es, fi, fr, -- cgit 1.4.1