about summary refs log tree commit diff
path: root/src/locale/i18n.web.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/locale/i18n.web.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/locale/i18n.web.ts')
-rw-r--r--src/locale/i18n.web.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/locale/i18n.web.ts b/src/locale/i18n.web.ts
index f2ec0146e..bab6af2ef 100644
--- a/src/locale/i18n.web.ts
+++ b/src/locale/i18n.web.ts
@@ -20,6 +20,10 @@ export async function dynamicActivate(locale: AppLanguage) {
       mod = await import(`./locales/de/messages`)
       break
     }
+    case AppLanguage.en_GB: {
+      mod = await import(`./locales/en-GB/messages`)
+      break
+    }
     case AppLanguage.es: {
       mod = await import(`./locales/es/messages`)
       break