diff --git a/cms/templates/accessibility.html b/cms/templates/accessibility.html index 07e30120ac..bb7a13f114 100644 --- a/cms/templates/accessibility.html +++ b/cms/templates/accessibility.html @@ -3,7 +3,7 @@ <%def name="online_help_token()"><% return "accessibility" %>%def> <%! 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 openedx.core.djangolib.js_utils import js_escaped_string, dump_js_escaped_json %> diff --git a/cms/templates/asset_index.html b/cms/templates/asset_index.html index fed7e22c06..44fe759cda 100644 --- a/cms/templates/asset_index.html +++ b/cms/templates/asset_index.html @@ -3,7 +3,7 @@ <%def name="online_help_token()"><% return "files" %>%def> <%! 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 openedx.core.djangolib.js_utils import js_escaped_string, dump_js_escaped_json %> diff --git a/cms/templates/certificates.html b/cms/templates/certificates.html index 8c7853d89d..edf4e45c6c 100644 --- a/cms/templates/certificates.html +++ b/cms/templates/certificates.html @@ -4,7 +4,7 @@ <%namespace name='static' file='static_content.html'/> <%! from cms.djangoapps.contentstore import utils -from django.utils.translation import ugettext as _ +from django.utils.translation import gettext as _ from openedx.core.djangolib.markup import HTML, Text from openedx.core.djangolib.js_utils import ( dump_js_escaped_json, js_escaped_string diff --git a/cms/templates/checklists.html b/cms/templates/checklists.html index bfe7fa2908..44d456de26 100644 --- a/cms/templates/checklists.html +++ b/cms/templates/checklists.html @@ -7,7 +7,7 @@ from cms.djangoapps.contentstore import utils from cms.djangoapps.contentstore.config.waffle_utils import should_show_checklists_quality 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 openedx.core.djangolib.js_utils import js_escaped_string, dump_js_escaped_json from common.djangoapps.util.course import has_certificates_enabled diff --git a/cms/templates/component.html b/cms/templates/component.html index ccf3c58225..6ebad77c8f 100644 --- a/cms/templates/component.html +++ b/cms/templates/component.html @@ -1,5 +1,5 @@ <%page expression_filter="h"/> -<%! from django.utils.translation import ugettext as _ %> +<%! from django.utils.translation import gettext as _ %> <%namespace name='static' file='static_content.html'/>