From 703cefd9ae9e59ecacc1aad73b93b237b7b3283f Mon Sep 17 00:00:00 2001 From: Akshay Joshi Date: Mon, 12 Sep 2022 14:51:18 +0530 Subject: [PATCH] Replace the language selection 'Brazilian' with 'Portuguese (Brazilian). Fixes #7693 --- docs/en_US/release_notes_6_14.rst | 1 + web/config.py | 2 +- .../{br => pt_BR}/LC_MESSAGES/messages.mo | Bin .../{br => pt_BR}/LC_MESSAGES/messages.po | 0 4 files changed, 2 insertions(+), 1 deletion(-) rename web/pgadmin/translations/{br => pt_BR}/LC_MESSAGES/messages.mo (100%) rename web/pgadmin/translations/{br => pt_BR}/LC_MESSAGES/messages.po (100%) diff --git a/docs/en_US/release_notes_6_14.rst b/docs/en_US/release_notes_6_14.rst index 96219282c..63a0a831e 100644 --- a/docs/en_US/release_notes_6_14.rst +++ b/docs/en_US/release_notes_6_14.rst @@ -35,3 +35,4 @@ Bug fixes | `Issue #7649 `_ - Fixed an issue with the non-visibility of columns added prior to import/export data. | `Issue #7656 `_ - Fixed an issue where textarea of the JSON Editor does not resize with dialog. | `Issue #7663 `_ - Fixed ModuleNotFoundError when running setup.py to load/dump servers. + | `Issue #7693 `_ - Replace the language selection 'Brazilian' with 'Portuguese (Brazilian). diff --git a/web/config.py b/web/config.py index ce64f6c73..a3d42a917 100644 --- a/web/config.py +++ b/web/config.py @@ -74,7 +74,6 @@ HELP_PATH = '../../../docs/en_US/_build/html/' # Languages we support in the UI LANGUAGES = { 'en': 'English', - 'br': 'Brazilian', 'zh': 'Chinese (Simplified)', 'cs': 'Czech', 'fr': 'French', @@ -83,6 +82,7 @@ LANGUAGES = { 'ja': 'Japanese', 'ko': 'Korean', 'pl': 'Polish', + 'pt_BR': 'Portuguese (Brazilian)', 'ru': 'Russian', 'es': 'Spanish', } diff --git a/web/pgadmin/translations/br/LC_MESSAGES/messages.mo b/web/pgadmin/translations/pt_BR/LC_MESSAGES/messages.mo similarity index 100% rename from web/pgadmin/translations/br/LC_MESSAGES/messages.mo rename to web/pgadmin/translations/pt_BR/LC_MESSAGES/messages.mo diff --git a/web/pgadmin/translations/br/LC_MESSAGES/messages.po b/web/pgadmin/translations/pt_BR/LC_MESSAGES/messages.po similarity index 100% rename from web/pgadmin/translations/br/LC_MESSAGES/messages.po rename to web/pgadmin/translations/pt_BR/LC_MESSAGES/messages.po