Commit 01018ec4 by Ned Batchelder

Correct spelling of 'Open edX', and pedantic typography in the copyright footer

parent beba48a5
...@@ -5724,11 +5724,11 @@ msgstr "" ...@@ -5724,11 +5724,11 @@ msgstr ""
#, python-brace-format #, python-brace-format
msgid "" msgid ""
"© {org_name}. All rights reserved except where noted. EdX, Open edX and " "© {org_name}. All rights reserved except where noted. EdX, Open edX and "
"the edX and Open EdX logos are registered trademarks or trademarks of edX " "their respective logos are trademarks or registered trademarks of edX "
"Inc." "Inc."
msgstr "" msgstr ""
"© {org_name}. Àll rïghts résérvéd éxçépt whéré nötéd. ÉdX, Öpén édX änd " "© {org_name}. Àll rïghts résérvéd éxçépt whéré nötéd. ÉdX, Öpén édX änd "
"thé édX änd Öpén ÉdX lögös äré régïstéréd trädémärks ör trädémärks öf édX " "théir réspéçtïvé lögös äré trädémärks ör régïstéréd trädémärks öf édX "
"Ìnç. Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢σηѕє¢тєтυя α∂ιριѕι¢ιηg єłιт, ѕє∂ ∂σ " "Ìnç. Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢σηѕє¢тєтυя α∂ιριѕι¢ιηg єłιт, ѕє∂ ∂σ "
"єιυѕмσ∂ тємρσя ιη¢ι∂ι∂υηт υт łαвσяє єт ∂σłσяє мαgηα αłιqυα. υт єηιм α∂ мιηιм" "єιυѕмσ∂ тємρσя ιη¢ι∂ι∂υηт υт łαвσяє єт ∂σłσяє мαgηα αłιqυα. υт єηιм α∂ мιηιм"
" νєηιαм, qυιѕ ησѕтяυ∂ єχєя¢ιтαтιση υłłαм¢σ łαвσяιѕ ηιѕι υт αłιqυιρ єχ єα " " νєηιαм, qυιѕ ησѕтяυ∂ єχєя¢ιтαтιση υłłαм¢σ łαвσяιѕ ηιѕι υт αłιqυιρ єχ єα "
...@@ -22144,12 +22144,12 @@ msgstr "édX Hömé Pägé Ⱡ'σяєм ιρѕυм ∂σłσя ѕι#" ...@@ -22144,12 +22144,12 @@ msgstr "édX Hömé Pägé Ⱡ'σяєм ιρѕυм ∂σłσя ѕι#"
#: themes/edx.org/lms/templates/footer.html #: themes/edx.org/lms/templates/footer.html
msgid "" msgid ""
"© 2012-{year} edX Inc. All rights reserved except where noted. EdX, Open " "© 2012{year} edX Inc. All rights reserved except where noted. EdX, Open "
"edX and the edX and Open EdX logos are registered trademarks or trademarks " "edX and the edX and Open edX logos are registered trademarks or trademarks "
"of edX Inc." "of edX Inc."
msgstr "" msgstr ""
"© 2012-{year} édX Ìnç. Àll rïghts résérvéd éxçépt whéré nötéd. ÉdX, Öpén " "© 2012{year} édX Ìnç. Àll rïghts résérvéd éxçépt whéré nötéd. ÉdX, Öpén "
"édX änd thé édX änd Öpén ÉdX lögös äré régïstéréd trädémärks ör trädémärks " "édX änd thé édX änd Öpén édX lögös äré régïstéréd trädémärks ör trädémärks "
"öf édX Ìnç. Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢σηѕє¢тєтυя α∂ιριѕι¢ιηg єłιт, ѕє∂ " "öf édX Ìnç. Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢σηѕє¢тєтυя α∂ιριѕι¢ιηg єłιт, ѕє∂ "
"∂σ єιυѕмσ∂ тємρσя ιη¢ι∂ι∂υηт υт łαвσяє єт ∂σłσяє мαgηα αłιqυα. υт єηιм α∂ " "∂σ єιυѕмσ∂ тємρσя ιη¢ι∂ι∂υηт υт łαвσяє єт ∂σłσяє мαgηα αłιqυα. υт єηιм α∂ "
"мιηιм νєηιαм, qυιѕ ησѕтяυ∂ єχєя¢ιтαтιση υłłαм¢σ łαвσяιѕ ηιѕι υт αłιqυιρ єχ " "мιηιм νєηιαм, qυιѕ ησѕтяυ∂ єχєя¢ιтαтιση υłłαм¢σ łαвσяιѕ ηιѕι υт αłιqυιρ єχ "
...@@ -118,8 +118,8 @@ def _footer_copyright(): ...@@ -118,8 +118,8 @@ def _footer_copyright():
# Translators: 'EdX', 'edX', and 'Open edX' are trademarks of 'edX Inc.'. # Translators: 'EdX', 'edX', and 'Open edX' are trademarks of 'edX Inc.'.
# Please do not translate any of these trademarks and company names. # Please do not translate any of these trademarks and company names.
u"\u00A9 {org_name}. All rights reserved except where noted. " 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"EdX, Open edX and their respective logos are trademarks "
u"or trademarks of edX Inc." u"or registered trademarks of edX Inc."
).format(org_name=configuration_helpers.get_value('PLATFORM_NAME', settings.PLATFORM_NAME)) ).format(org_name=configuration_helpers.get_value('PLATFORM_NAME', settings.PLATFORM_NAME))
......
...@@ -48,8 +48,10 @@ class TestFooter(TestCase): ...@@ -48,8 +48,10 @@ class TestFooter(TestCase):
def test_get_footer(self): def test_get_footer(self):
actual_footer = get_footer(is_secure=True) actual_footer = get_footer(is_secure=True)
expected_footer = { expected_footer = {
'copyright': '\xa9 \xe9dX. All rights reserved except where noted. EdX, Open edX and the edX and Open' 'copyright':
' EdX logos are registered trademarks or trademarks of edX Inc.', '\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': [ 'navigation_links': [
{'url': 'https://edx.org/about-us', 'name': 'about', 'title': 'About'}, {'url': 'https://edx.org/about-us', 'name': 'about', 'title': 'About'},
{'url': 'https://edx.org/enterprise', 'name': 'enterprise', 'title': '\xe9dX for Business'}, {'url': 'https://edx.org/enterprise', 'name': 'enterprise', 'title': '\xe9dX for Business'},
......
...@@ -215,8 +215,7 @@ def footer(request): ...@@ -215,8 +215,7 @@ def footer(request):
"image": "http://example.com/openedx.png" "image": "http://example.com/openedx.png"
}, },
"logo_image": "http://example.com/static/images/logo.png", "logo_image": "http://example.com/static/images/logo.png",
"copyright": "EdX, Open edX, and the edX and Open edX logos are \ "copyright": "EdX, Open edX and their respective logos are trademarks or registered trademarks of edX Inc."
registered trademarks or trademarks of edX Inc."
} }
...@@ -226,7 +225,7 @@ def footer(request): ...@@ -226,7 +225,7 @@ def footer(request):
Accepts: text/html 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 GET /api/branding/v1/footer?show-openedx-logo=1
Accepts: text/html Accepts: text/html
......
...@@ -64,9 +64,9 @@ ...@@ -64,9 +64,9 @@
</div> </div>
## Please leave this link and use one of the logos provided ## 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), ## 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: % if not hide_openedx_link:
<div class="footer-about-openedx"> <div class="footer-about-openedx">
<p> <p>
......
...@@ -50,17 +50,19 @@ ...@@ -50,17 +50,19 @@
<%include file="${static.get_template_path('widgets/footer-language-selector.html')}"/> <%include file="${static.get_template_path('widgets/footer-language-selector.html')}"/>
% endif % endif
## \u00A9 is the copyright symbol.
## \u2013 is the en-dash. It looks like a year, but it isn't.
<p class="copyright">${_( <p class="copyright">${_(
u"\u00A9 2012-{year} edX Inc. All rights reserved except where noted. " u"\u00A9 2012\u2013{year} edX Inc. All rights reserved except where noted. "
u"EdX, Open edX and the edX and Open EdX logos are registered trademarks " u"EdX, Open edX and the edX and Open edX logos are registered trademarks "
u"or trademarks of edX Inc." u"or trademarks of edX Inc."
).format(year=datetime.datetime.now().year)} ).format(year=datetime.datetime.now().year)}
${u" | {icp}".format(icp=getattr(settings,'ICP_LICENSE')) if getattr(settings,'ICP_LICENSE',False) else ""} ${u" | {icp}".format(icp=getattr(settings,'ICP_LICENSE')) if getattr(settings,'ICP_LICENSE',False) else ""}
</p> </p>
## 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), ## 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: % if not hide_openedx_link:
<div class="openedx-link"> <div class="openedx-link">
<a href="${footer['openedx_link']['url']}" title="${footer['openedx_link']['title']}"> <a href="${footer['openedx_link']['url']}" title="${footer['openedx_link']['title']}">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment