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:
parent
95ca4e33c7
commit
f1246c726e
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user