From ccc7b322af90cb91c5b813a677e1dedbd39582e2 Mon Sep 17 00:00:00 2001 From: Johan Seto Kaiba <51926076+johanseto@users.noreply.github.com> Date: Mon, 23 Dec 2024 13:22:42 -0500 Subject: [PATCH] fix!: redwood gettext for payment notifications (#235) --- .../payment_notifications/templates/payment_notifications.html | 2 +- .../templates/payment_notifications_with_frame.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eox_nelp/payment_notifications/templates/payment_notifications.html b/eox_nelp/payment_notifications/templates/payment_notifications.html index f4805bd6..92fb9a40 100644 --- a/eox_nelp/payment_notifications/templates/payment_notifications.html +++ b/eox_nelp/payment_notifications/templates/payment_notifications.html @@ -2,7 +2,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 django.contrib.auth import get_user_model from lms.djangoapps.grades.api import CourseGradeFactory from opaque_keys.edx.keys import CourseKey diff --git a/eox_nelp/payment_notifications/templates/payment_notifications_with_frame.html b/eox_nelp/payment_notifications/templates/payment_notifications_with_frame.html index b77b1215..70d862b1 100644 --- a/eox_nelp/payment_notifications/templates/payment_notifications_with_frame.html +++ b/eox_nelp/payment_notifications/templates/payment_notifications_with_frame.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'/> <%inherit file="/main.html" />