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>2025-05-31 00:38:09 +0100
committerGitHub <noreply@github.com>2025-05-30 16:38:09 -0700
commite2b842ad4e580caf4ccfe00ff0fb1456db3b9c80 (patch)
treebdf74035c1c8ed7f56c7d4834dd5aef73f40380f /src/locale/helpers.ts
parentbf7845339c1eedc507ac2533756c7221a5e851c4 (diff)
downloadvoidsky-e2b842ad4e580caf4ccfe00ff0fb1456db3b9c80.tar.zst
Add language: European Portuguese (`pt-PT`) (#8375)
* Update app.config.js

* Update lingui.config.js

* Update dates.ts

* Update helpers.ts

* Update i18n.ts

* Update i18n.web.ts

* Update languages.ts

* Create messages.po

* prettier
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 eb91d2e7c..8d650a234 100644
--- a/src/locale/helpers.ts
+++ b/src/locale/helpers.ts
@@ -213,6 +213,8 @@ export function sanitizeAppLanguageSetting(appLanguage: string): AppLanguage {
         return AppLanguage.pl
       case 'pt-BR':
         return AppLanguage.pt_BR
+      case 'pt-PT':
+        return AppLanguage.pt_PT
       case 'ro':
         return AppLanguage.ro
       case 'ru':