0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00

Change more instances of ugettext to gettext

This commit is contained in:
Alex Tomkins 2020-08-01 17:21:00 +01:00 committed by Matt Westcott
parent 95ca4e33c7
commit f1246c726e
2 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
from django import forms
from django.core.exceptions import ImproperlyConfigured, ValidationError
from django.utils.functional import cached_property
from django.utils.translation import ugettext as _
from django.utils.translation import ugettext_lazy as __
from django.utils.translation import gettext as _
from django.utils.translation import gettext_lazy as __
from wagtail.admin import widgets
from wagtail.admin.edit_handlers import FieldPanel, InlinePanel, ObjectList

View File

@ -9,7 +9,7 @@ from django.template.response import TemplateResponse
from django.urls import reverse
from django.utils.functional import cached_property
from django.utils.http import is_safe_url
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
from django.utils.translation import ngettext
from django.views.decorators.http import require_POST