about summary refs log tree commit diff
path: root/src/locale/helpers.ts
diff options
context:
space:
mode:
authorAnsh <anshnanda10@gmail.com>2024-01-04 00:15:56 +0530
committerGitHub <noreply@github.com>2024-01-04 00:15:56 +0530
commit1fed517a17fd66940e4ec5d455a91485bee22a67 (patch)
tree0164386491cfaea823d41ff0390e0c5ba1626551 /src/locale/helpers.ts
parent7299c730cf4eb6d750b932d8438ec4552b09b1d1 (diff)
downloadvoidsky-1fed517a17fd66940e4ec5d455a91485bee22a67.tar.zst
Add Portuguese Localization (#2407)
* Create messages.

* Update helpers.test.ts

* Update helpers.ts

* Update i18n.ts

* Update i18n.web.ts

* Update languages.ts

* Update i18n.ts

* Update lingui.config.js

* Correct file name and remove unused variables!

* Update Language-Team

* Update Bump ios build

* Fix for Stop the user from posting before the link card finishes loading #2328

* Update based in model en

* Update last version lang

* Update messages.po tsx:160 and tsx:143

* Bump ios build number and android version code

* adjustment

* adjustment 100%

* Update Date

* Update Day for Merge

* Update Name Maison for Maison da Silva

* fix order of case

* fix lint

* add tag for BR portugese

* add tag for BR

* update `pt` to `pt-BR`

---------

Co-authored-by: Maison da Silva <maisonmdsgreen@hotmail.com>
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 a9752c76a..a24b69b4e 100644
--- a/src/locale/helpers.ts
+++ b/src/locale/helpers.ts
@@ -124,6 +124,8 @@ export function sanitizeAppLanguageSetting(appLanguage: string): AppLanguage {
         return AppLanguage.ja
       case 'ko':
         return AppLanguage.ko
+      case 'pt-BR':
+        return AppLanguage.pt_BR
       default:
         continue
     }