Merge pull request #15433 from edx/nedbat/pedantic-footer-2

Correct spelling of 'Open edX', and pedantic typography in the copyright footer
This commit is contained in:
Ned Batchelder
2017-06-29 12:15:14 -04:00
committed by GitHub
7 changed files with 22 additions and 19 deletions

View File

@@ -118,8 +118,8 @@ def _footer_copyright():
# Translators: 'EdX', 'edX', and 'Open edX' are trademarks of 'edX Inc.'.
# Please do not translate any of these trademarks and company names.
u"\u00A9 {org_name}. All rights reserved except where noted. "
u"EdX, Open edX and the edX and Open EdX logos are registered trademarks "
u"or trademarks of edX Inc."
u"EdX, Open edX and their respective logos are trademarks "
u"or registered trademarks of edX Inc."
).format(org_name=configuration_helpers.get_value('PLATFORM_NAME', settings.PLATFORM_NAME))

View File

@@ -48,8 +48,10 @@ class TestFooter(TestCase):
def test_get_footer(self):
actual_footer = get_footer(is_secure=True)
expected_footer = {
'copyright': '\xa9 \xe9dX. All rights reserved except where noted. EdX, Open edX and the edX and Open'
' EdX logos are registered trademarks or trademarks of edX Inc.',
'copyright':
'\xa9 \xe9dX. All rights reserved except where noted. '
'EdX, Open edX and their respective logos '
'are trademarks or registered trademarks of edX Inc.',
'navigation_links': [
{'url': 'https://edx.org/about-us', 'name': 'about', 'title': 'About'},
{'url': 'https://edx.org/enterprise', 'name': 'enterprise', 'title': '\xe9dX for Business'},

View File

@@ -215,8 +215,7 @@ def footer(request):
"image": "http://example.com/openedx.png"
},
"logo_image": "http://example.com/static/images/logo.png",
"copyright": "EdX, Open edX, and the edX and Open edX logos are \
registered trademarks or trademarks of edX Inc."
"copyright": "EdX, Open edX and their respective logos are trademarks or registered trademarks of edX Inc."
}
@@ -226,7 +225,7 @@ def footer(request):
Accepts: text/html
Example: Including the footer with the "Powered by OpenEdX" logo
Example: Including the footer with the "Powered by Open edX" logo
GET /api/branding/v1/footer?show-openedx-logo=1
Accepts: text/html

View File

@@ -64,9 +64,9 @@
</div>
## Please leave this link and use one of the logos provided
## The OpenEdX link may be hidden when this view is served
## The Open edX link may be hidden when this view is served
## through an API to partner sites (such as marketing sites or blogs),
## which are not technically powered by OpenEdX.
## which are not technically powered by Open edX.
% if not hide_openedx_link:
<div class="footer-about-openedx">
<p>