From 51b67ad1df17df8a137f32f261a84c94b1b27189 Mon Sep 17 00:00:00 2001 From: Attiya Ishaque Date: Wed, 22 Dec 2021 12:51:56 +0500 Subject: [PATCH] fix: Replace hardcoded 'edx' with platform name. (#29657) --- openedx/core/djangoapps/user_api/accounts/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openedx/core/djangoapps/user_api/accounts/__init__.py b/openedx/core/djangoapps/user_api/accounts/__init__.py index a85279591d..0c36312c5f 100644 --- a/openedx/core/djangoapps/user_api/accounts/__init__.py +++ b/openedx/core/djangoapps/user_api/accounts/__init__.py @@ -61,7 +61,8 @@ EMAIL_CONFLICT_MSG = _( "It looks like {email_address} belongs to an existing account. " "Try again with a different email address." ) -AUTHN_EMAIL_CONFLICT_MSG = _("This email is already associated with an existing or previous edX account") +AUTHN_EMAIL_CONFLICT_MSG = _( # pylint: disable=translation-of-non-string + f'This email is already associated with an existing or previous {settings.PLATFORM_NAME} account') AUTHN_PASSWORD_COMPROMISED_MSG = _( "The password you entered is on a list of known compromised passwords. Please choose a different one." )