From ab22f2a04d2029eae5978152d9c6a074a7d96a10 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 16 Jul 2023 19:37:27 +1000 Subject: [PATCH] Fix language code for pt-br (#5256) (#5257) - Has to be lowercase in settings.py to work correctly (cherry picked from commit 20b59c35752fdcae25578ab5399efaa96080f27f) Co-authored-by: Oliver --- InvenTree/InvenTree/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InvenTree/InvenTree/settings.py b/InvenTree/InvenTree/settings.py index 68d8d45659..cb19ddef7a 100644 --- a/InvenTree/InvenTree/settings.py +++ b/InvenTree/InvenTree/settings.py @@ -757,14 +757,14 @@ LANGUAGES = [ ('no', _('Norwegian')), ('pl', _('Polish')), ('pt', _('Portuguese')), - ('pt-BR', _('Portuguese (Brazilian)')), + ('pt-br', _('Portuguese (Brazilian)')), ('ru', _('Russian')), ('sl', _('Slovenian')), ('sv', _('Swedish')), ('th', _('Thai')), ('tr', _('Turkish')), ('vi', _('Vietnamese')), - ('zh-hans', _('Chinese')), + ('zh-hans', _('Chinese (Simplified)')), ] # Testing interface translations