diff --git a/cms/templates/html_error.html b/cms/templates/html_error.html index 5cf980d73d..4493a273cc 100644 --- a/cms/templates/html_error.html +++ b/cms/templates/html_error.html @@ -1,4 +1,4 @@ -<%! from django.utils.translation import ugettext as _ %> +<%! from django.utils.translation import gettext as _ %> <%! from django.urls import reverse %> <%block name="content"> diff --git a/cms/templates/widgets/html-edit.html b/cms/templates/widgets/html-edit.html index 15cf178965..8074e0d583 100644 --- a/cms/templates/widgets/html-edit.html +++ b/cms/templates/widgets/html-edit.html @@ -1,4 +1,4 @@ -<%! from django.utils.translation import ugettext as _ %> +<%! from django.utils.translation import gettext as _ %>
diff --git a/common/templates/emails/sync_learner_profile_data_email_change_subject.txt b/common/templates/emails/sync_learner_profile_data_email_change_subject.txt index 48dd43534f..128bad6d3e 100644 --- a/common/templates/emails/sync_learner_profile_data_email_change_subject.txt +++ b/common/templates/emails/sync_learner_profile_data_email_change_subject.txt @@ -1,4 +1,4 @@ -<%! from django.utils.translation import ugettext as _ %> +<%! from django.utils.translation import gettext as _ %> <%! from openedx.core.djangoapps.site_configuration import helpers as configuration_helpers %> ${_("Your {platform_name} account email has been updated").format( diff --git a/common/test/test-theme/lms/templates/static_templates/embargo.html b/common/test/test-theme/lms/templates/static_templates/embargo.html index b7006b0111..20b0b57092 100644 --- a/common/test/test-theme/lms/templates/static_templates/embargo.html +++ b/common/test/test-theme/lms/templates/static_templates/embargo.html @@ -1,6 +1,6 @@ <%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" /> diff --git a/lms/templates/annotatable.html b/lms/templates/annotatable.html index 7d7015d272..dcd51a0cd5 100644 --- a/lms/templates/annotatable.html +++ b/lms/templates/annotatable.html @@ -1,4 +1,4 @@ -<%! from django.utils.translation import ugettext as _ %> +<%! from django.utils.translation import gettext as _ %>