Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
01018ec4
Commit
01018ec4
authored
Jun 29, 2017
by
Ned Batchelder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct spelling of 'Open edX', and pedantic typography in the copyright footer
parent
beba48a5
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
22 additions
and
19 deletions
+22
-19
conf/locale/eo/LC_MESSAGES/django.mo
+0
-0
conf/locale/eo/LC_MESSAGES/django.po
+6
-6
lms/djangoapps/branding/api.py
+2
-2
lms/djangoapps/branding/tests/test_api.py
+4
-2
lms/djangoapps/branding/views.py
+2
-3
lms/templates/footer.html
+2
-2
themes/edx.org/lms/templates/footer.html
+6
-4
No files found.
conf/locale/eo/LC_MESSAGES/django.mo
View file @
01018ec4
No preview for this file type
conf/locale/eo/LC_MESSAGES/django.po
View file @
01018ec4
...
...
@@ -5724,11 +5724,11 @@ msgstr ""
#, python-brace-format
msgid ""
"© {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 "
"the
ir respective logos are trademarks or registered
trademarks of edX "
"Inc."
msgstr ""
"© {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 єłιт, ѕє∂ ∂σ "
"єιυѕмσ∂ тємρσя ιη¢ι∂ι∂υηт υт łαвσяє єт ∂σłσяє мαgηα αłιqυα. υт єηιм α∂ мιηιм"
" νєηιαм, qυιѕ ησѕтяυ∂ єχєя¢ιтαтιση υłłαм¢σ łαвσяιѕ ηιѕι υт αłιqυιρ єχ єα "
...
...
@@ -22144,12 +22144,12 @@ msgstr "édX Hömé Pägé Ⱡ'σяєм ιρѕυм ∂σłσя ѕι#"
#: themes/edx.org/lms/templates/footer.html
msgid ""
"© 2012
-
{year} edX Inc. All rights reserved except where noted. EdX, Open "
"edX and the edX and Open
E
dX logos are registered trademarks or trademarks "
"© 2012
–
{year} edX Inc. All rights reserved except where noted. EdX, Open "
"edX and the edX and Open
e
dX logos are registered trademarks or trademarks "
"of edX Inc."
msgstr ""
"© 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 "
"© 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 "
"öf édX Ìnç. Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢σηѕє¢тєтυя α∂ιριѕι¢ιηg єłιт, ѕє∂ "
"∂σ єιυѕмσ∂ тємρσя ιη¢ι∂ι∂υηт υт łαвσяє єт ∂σłσяє мαgηα αłιqυα. υт єηιм α∂ "
"мιηιм νєηιαм, qυιѕ ησѕтяυ∂ єχєя¢ιтαтιση υłłαм¢σ łαвσяιѕ ηιѕι υт αłιqυιρ єχ "
lms/djangoapps/branding/api.py
View file @
01018ec4
...
...
@@ -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 the
ir respective logos are
trademarks "
u"or
registered
trademarks of edX Inc."
)
.
format
(
org_name
=
configuration_helpers
.
get_value
(
'PLATFORM_NAME'
,
settings
.
PLATFORM_NAME
))
...
...
lms/djangoapps/branding/tests/test_api.py
View file @
01018ec4
...
...
@@ -48,8 +48,10 @@ class TestFooter(TestCase):
def
test_get_footer
(
self
):
actual_footer
=
get_footer
(
is_secure
=
True
)
expected_footer
=
{
'copyright'
:
'
\xa9
\xe9
dX. 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
\xe9
dX. 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'
:
'
\xe9
dX for Business'
},
...
...
lms/djangoapps/branding/views.py
View file @
01018ec4
...
...
@@ -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 Open
E
dX" logo
Example: Including the footer with the "Powered by Open
e
dX" logo
GET /api/branding/v1/footer?show-openedx-logo=1
Accepts: text/html
...
...
lms/templates/footer.html
View file @
01018ec4
...
...
@@ -64,9 +64,9 @@
</div>
## Please leave this link and use one of the logos provided
## The Open
E
dX link may be hidden when this view is served
## The Open
e
dX 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 Open
E
dX.
## which are not technically powered by Open
e
dX.
% if not hide_openedx_link:
<div
class=
"footer-about-openedx"
>
<p>
...
...
themes/edx.org/lms/templates/footer.html
View file @
01018ec4
...
...
@@ -50,17 +50,19 @@
<
%
include
file=
"${static.get_template_path('widgets/footer-language-selector.html')}"
/>
% endif
## \u00A9 is the copyright symbol.
## \u2013 is the en-dash. It looks like a year, but it isn't.
<p
class=
"copyright"
>
${_(
u"\u00A9 2012
-
{year} edX Inc. All rights reserved except where noted. "
u"EdX, Open edX and the edX and Open
E
dX logos are registered trademarks "
u"\u00A9 2012
\u2013
{year} edX Inc. All rights reserved except where noted. "
u"EdX, Open edX and the edX and Open
e
dX logos are registered trademarks "
u"or trademarks of edX Inc."
).format(year=datetime.datetime.now().year)}
${u" | {icp}".format(icp=getattr(settings,'ICP_LICENSE')) if getattr(settings,'ICP_LICENSE',False) else ""}
</p>
## The Open
E
dX link may be hidden when this view is served
## The Open
e
dX 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 Open
E
dX.
## which are not technically powered by Open
e
dX.
% if not hide_openedx_link:
<div
class=
"openedx-link"
>
<a
href=
"${footer['openedx_link']['url']}"
title=
"${footer['openedx_link']['title']}"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment