2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-29 20:16:44 +00:00

Fix language code for pt-br (#5256)

- Has to be lowercase in settings.py to work correctly
This commit is contained in:
Oliver 2023-07-16 19:35:03 +10:00 committed by GitHub
parent 370021bc7c
commit 20b59c3575
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -762,14 +762,14 @@ LANGUAGES = [
('no', _('Norwegian')), ('no', _('Norwegian')),
('pl', _('Polish')), ('pl', _('Polish')),
('pt', _('Portuguese')), ('pt', _('Portuguese')),
('pt-BR', _('Portuguese (Brazilian)')), ('pt-br', _('Portuguese (Brazilian)')),
('ru', _('Russian')), ('ru', _('Russian')),
('sl', _('Slovenian')), ('sl', _('Slovenian')),
('sv', _('Swedish')), ('sv', _('Swedish')),
('th', _('Thai')), ('th', _('Thai')),
('tr', _('Turkish')), ('tr', _('Turkish')),
('vi', _('Vietnamese')), ('vi', _('Vietnamese')),
('zh-hans', _('Chinese')), ('zh-hans', _('Chinese (Simplified)')),
] ]
# Testing interface translations # Testing interface translations