about summary refs log tree commit diff
path: root/src/locale/helpers.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/helpers.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/helpers.ts')
-rw-r--r--src/locale/helpers.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/locale/helpers.ts b/src/locale/helpers.ts
index af82de0b9..f740aaf51 100644
--- a/src/locale/helpers.ts
+++ b/src/locale/helpers.ts
@@ -123,6 +123,8 @@ export function sanitizeAppLanguageSetting(appLanguage: string): AppLanguage {
         return AppLanguage.ca
       case 'de':
         return AppLanguage.de
+      case 'en-GB':
+        return AppLanguage.en_GB
       case 'es':
         return AppLanguage.es
       case 'fi':