about summary refs log tree commit diff
path: root/src/components/hooks/dates.ts
diff options
context:
space:
mode:
authorsurfdude29 <149612116+surfdude29@users.noreply.github.com>2024-10-28 23:12:21 +0000
committerGitHub <noreply@github.com>2024-10-28 16:12:21 -0700
commit498b83ae790776f86ea9df3d887982a11176a888 (patch)
tree9cdeb1e75c8c15ad7bb3b3c68749511ed75ec764 /src/components/hooks/dates.ts
parentcd6fc13e4b2cea0254d72264d13e75522238f24f (diff)
downloadvoidsky-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/dates.ts')
-rw-r--r--src/components/hooks/dates.ts2
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,