diff options
author | surfdude29 <149612116+surfdude29@users.noreply.github.com> | 2024-10-28 23:12:21 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-28 16:12:21 -0700 |
commit | 498b83ae790776f86ea9df3d887982a11176a888 (patch) | |
tree | 9cdeb1e75c8c15ad7bb3b3c68749511ed75ec764 /src/components/hooks | |
parent | cd6fc13e4b2cea0254d72264d13e75522238f24f (diff) | |
download | voidsky-498b83ae790776f86ea9df3d887982a11176a888.tar.zst |
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
Diffstat (limited to 'src/components/hooks')
-rw-r--r-- | src/components/hooks/dates.ts | 2 |
1 files changed, 2 insertions, 0 deletions
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<AppLanguage, Locale | undefined> = { en: undefined, ca, de, + ['en-GB']: enGB, es, fi, fr, |