diff --git a/common/test/test-theme/lms/templates/static_templates/embargo.html b/common/test/test-theme/lms/templates/static_templates/embargo.html index 284824fa20..b7006b0111 100644 --- a/common/test/test-theme/lms/templates/static_templates/embargo.html +++ b/common/test/test-theme/lms/templates/static_templates/embargo.html @@ -12,12 +12,12 @@ from openedx.core.djangolib.markup import HTML, Text

${Text(_("Our system indicates that you are trying to access this {platform_name} " - "course from a country or region currently subject to U.S. economic and trade sanctions." - "Unfortunately, because {platform_name} is required to comply with export controls," + "course from a country or region currently subject to U.S. economic and trade sanctions. " + "Unfortunately, because {platform_name} is required to comply with export controls, " "we cannot allow you to access this course at this time." - )).format( + )).format( platform_name=Text(settings.PLATFORM_NAME), - )} + )}

diff --git a/lms/templates/static_templates/embargo.html b/lms/templates/static_templates/embargo.html index bb2188e7eb..4a22d27ed4 100644 --- a/lms/templates/static_templates/embargo.html +++ b/lms/templates/static_templates/embargo.html @@ -15,13 +15,13 @@ from openedx.core.djangolib.markup import HTML, Text % endif

- <%block name="pagecontent">${page_content or Text(_("Our system indicates that you are trying to access this {platform_name} " - "course from a country or region currently subject to U.S. economic and trade sanctions." - "Unfortunately, because {platform_name} is required to comply with export controls," - "we cannot allow you to access this course at this time." - )).format( + <%block name="pagecontent">${page_content or Text(_("Our system indicates that you are trying to access this {platform_name} " + "course from a country or region currently subject to U.S. economic and trade sanctions. " + "Unfortunately, because {platform_name} is required to comply with export controls, " + "we cannot allow you to access this course at this time." + )).format( platform_name=Text(settings.PLATFORM_NAME), - )}} + )}