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>
This commit is contained in:
parent
7299c730cf
commit
1fed517a17
7 changed files with 2687 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue