diff options
author | Ansh <anshnanda10@gmail.com> | 2024-01-04 00:15:56 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-04 00:15:56 +0530 |
commit | 1fed517a17fd66940e4ec5d455a91485bee22a67 (patch) | |
tree | 0164386491cfaea823d41ff0390e0c5ba1626551 /src/locale/__tests__/helpers.test.ts | |
parent | 7299c730cf4eb6d750b932d8438ec4552b09b1d1 (diff) | |
download | voidsky-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/__tests__/helpers.test.ts')
-rw-r--r-- | src/locale/__tests__/helpers.test.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/locale/__tests__/helpers.test.ts b/src/locale/__tests__/helpers.test.ts index d4028c643..15b420fde 100644 --- a/src/locale/__tests__/helpers.test.ts +++ b/src/locale/__tests__/helpers.test.ts @@ -5,6 +5,7 @@ import {AppLanguage} from '#/locale/languages' test('sanitizeAppLanguageSetting', () => { expect(sanitizeAppLanguageSetting('en')).toBe(AppLanguage.en) + expect(sanitizeAppLanguageSetting('pt-BR')).toBe(AppLanguage.pt_BR) expect(sanitizeAppLanguageSetting('hi')).toBe(AppLanguage.hi) expect(sanitizeAppLanguageSetting('foo')).toBe(AppLanguage.en) expect(sanitizeAppLanguageSetting('en,foo')).toBe(AppLanguage.en) |