fix: Replace hardcoded 'edx' with platform name. (#29657)

This commit is contained in:
Attiya Ishaque
2021-12-22 12:51:56 +05:00
committed by GitHub
parent 1caf29ab14
commit 51b67ad1df

View File

@@ -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."
)