diff --git a/lms/templates/_gated_content.html b/lms/templates/_gated_content.html index 2039baec5a..0ba5375b26 100644 --- a/lms/templates/_gated_content.html +++ b/lms/templates/_gated_content.html @@ -1,7 +1,7 @@ <%page args="prereq_url, prereq_section_name, gated_section_name" expression_filter="h"/> <%! -from django.utils.translation import ugettext as _ +from django.utils.translation import gettext as _ from openedx.core.djangolib.markup import Text %> diff --git a/lms/templates/courseware/course_about.html b/lms/templates/courseware/course_about.html index 9a80e4feb4..fbabfe0d36 100644 --- a/lms/templates/courseware/course_about.html +++ b/lms/templates/courseware/course_about.html @@ -1,7 +1,7 @@ <%page expression_filter="h"/> <%namespace name='static' file='../static_content.html'/> <%! -from django.utils.translation import ugettext as _ +from django.utils.translation import gettext as _ from django.utils.translation import pgettext from django.urls import reverse from lms.djangoapps.courseware.courses import get_course_about_section diff --git a/lms/templates/courseware/courseware-error.html b/lms/templates/courseware/courseware-error.html index 403e4a35eb..0969b9875b 100644 --- a/lms/templates/courseware/courseware-error.html +++ b/lms/templates/courseware/courseware-error.html @@ -1,5 +1,5 @@ <%page expression_filter="h"/> -<%! from django.utils.translation import ugettext as _ +<%! from django.utils.translation import gettext as _ from openedx.core.djangolib.markup import HTML, Text %> <%inherit file="/main.html" /> @@ -7,7 +7,7 @@ from openedx.core.djangolib.markup import HTML, Text <%block name="bodyclass">courseware%block> <%block name="pagetitle">${_("Courseware")}%block> <%! -from django.utils.translation import ugettext as _ +from django.utils.translation import gettext as _ from openedx.core.djangolib.markup import HTML, Text %> diff --git a/lms/templates/courseware/news.html b/lms/templates/courseware/news.html index f50a4ce709..e4d1d453bf 100644 --- a/lms/templates/courseware/news.html +++ b/lms/templates/courseware/news.html @@ -1,7 +1,7 @@ <%page expression_filter="h"/> <%inherit file="main.html" /> <%namespace name='static' file='../static_content.html'/> -<%! from django.utils.translation import ugettext as _ %> +<%! from django.utils.translation import gettext as _ %> <%block name="bodyclass">courseware news%block> <%block name="pagetitle">${_("News - MITx 6.002x")}%block> diff --git a/lms/templates/courseware/static_tab.html b/lms/templates/courseware/static_tab.html index f19787db6a..38b08f85ee 100644 --- a/lms/templates/courseware/static_tab.html +++ b/lms/templates/courseware/static_tab.html @@ -3,7 +3,7 @@ <%page expression_filter="h"/> <%! -from django.utils.translation import ugettext as _ +from django.utils.translation import gettext as _ from openedx.core.djangolib.markup import HTML %> diff --git a/lms/templates/courseware/syllabus.html b/lms/templates/courseware/syllabus.html index f2cff56fb0..1f29c282d0 100644 --- a/lms/templates/courseware/syllabus.html +++ b/lms/templates/courseware/syllabus.html @@ -2,7 +2,7 @@ <%inherit file="/main.html" /> <%namespace name='static' file='/static_content.html'/> <%! -from django.utils.translation import ugettext as _ +from django.utils.translation import gettext as _ from lms.djangoapps.courseware.courses import get_course_syllabus_section %> diff --git a/lms/templates/dashboard.html b/lms/templates/dashboard.html index 0543f827a0..5c4443c6bb 100644 --- a/lms/templates/dashboard.html +++ b/lms/templates/dashboard.html @@ -7,7 +7,7 @@ import pytz import six from datetime import datetime, timedelta from django.urls import reverse -from django.utils.translation import ugettext as _ +from django.utils.translation import gettext as _ from django.template import RequestContext from common.djangoapps.entitlements.models import CourseEntitlement from common.djangoapps.third_party_auth import pipeline diff --git a/lms/templates/dashboard/_dashboard_certificate_information.html b/lms/templates/dashboard/_dashboard_certificate_information.html index bfb9d293d1..861c724c40 100644 --- a/lms/templates/dashboard/_dashboard_certificate_information.html +++ b/lms/templates/dashboard/_dashboard_certificate_information.html @@ -3,7 +3,7 @@ <%! from django.urls import reverse -from django.utils.translation import ugettext as _ +from django.utils.translation import gettext as _ from openedx.core.djangolib.markup import HTML, Text from common.djangoapps.course_modes.models import CourseMode from lms.djangoapps.certificates.data import CertificateStatuses diff --git a/lms/templates/dashboard/_dashboard_course_listing.html b/lms/templates/dashboard/_dashboard_course_listing.html index 0ea955a0ae..617fd4cb8f 100644 --- a/lms/templates/dashboard/_dashboard_course_listing.html +++ b/lms/templates/dashboard/_dashboard_course_listing.html @@ -6,7 +6,7 @@ import six from django.conf import settings from django.utils.http import urlencode, urlquote_plus -from django.utils.translation import ugettext as _ +from django.utils.translation import gettext as _ from django.utils.translation import ungettext from django.urls import reverse from common.djangoapps.course_modes.models import CourseMode diff --git a/lms/templates/dashboard/_dashboard_course_resume.html b/lms/templates/dashboard/_dashboard_course_resume.html index a4d3c03c2d..c9e15f60e2 100644 --- a/lms/templates/dashboard/_dashboard_course_resume.html +++ b/lms/templates/dashboard/_dashboard_course_resume.html @@ -2,7 +2,7 @@ <%! import six -from django.utils.translation import ugettext as _ +from django.utils.translation import gettext as _ %> % if resume_button_url != '': diff --git a/lms/templates/dashboard/_dashboard_entitlement_actions.html b/lms/templates/dashboard/_dashboard_entitlement_actions.html index 8d97eb7563..767d516541 100644 --- a/lms/templates/dashboard/_dashboard_entitlement_actions.html +++ b/lms/templates/dashboard/_dashboard_entitlement_actions.html @@ -2,7 +2,7 @@ <%! import six -from django.utils.translation import ugettext as _ +from django.utils.translation import gettext as _ from django.urls import reverse %> diff --git a/lms/templates/dashboard/_dashboard_entitlement_unenrollment_modal.html b/lms/templates/dashboard/_dashboard_entitlement_unenrollment_modal.html index f04d8a1114..63f6beac10 100644 --- a/lms/templates/dashboard/_dashboard_entitlement_unenrollment_modal.html +++ b/lms/templates/dashboard/_dashboard_entitlement_unenrollment_modal.html @@ -1,7 +1,7 @@ <%page expression_filter="h"/> <%! -from django.utils.translation import ugettext as _ +from django.utils.translation import gettext as _ %>
- \ No newline at end of file + diff --git a/lms/templates/dashboard/_dashboard_status_verification.html b/lms/templates/dashboard/_dashboard_status_verification.html index 4fec2ea30b..0c22e169ce 100644 --- a/lms/templates/dashboard/_dashboard_status_verification.html +++ b/lms/templates/dashboard/_dashboard_status_verification.html @@ -3,7 +3,7 @@ <%! from django.conf import settings from django.urls import reverse -from django.utils.translation import ugettext as _ +from django.utils.translation import gettext as _ from lms.djangoapps.verify_student.services import IDVerificationService %> diff --git a/lms/templates/dashboard/_reason_survey.html b/lms/templates/dashboard/_reason_survey.html index dcd034f092..5b80292a83 100644 --- a/lms/templates/dashboard/_reason_survey.html +++ b/lms/templates/dashboard/_reason_survey.html @@ -1,6 +1,6 @@ <%page expression_filter="h"/> <%! -from django.utils.translation import ugettext as _ +from django.utils.translation import gettext as _ %>