Skip to content

Commit

Permalink
replace ugettext with gettext
Browse files Browse the repository at this point in the history
  • Loading branch information
benzkji committed Mar 22, 2023
1 parent 371f54a commit 428b6c5
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion filer_addons/filer_gui/admin/upload_inline.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from django.forms import widgets
from django.utils.encoding import force_text
from django.utils.html import mark_safe
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _

from filer.fields.image import (
FilerFileField as OriginalFilerFileField,
Expand Down
4 changes: 1 addition & 3 deletions filer_addons/filer_gui/apps.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
from __future__ import unicode_literals

from django.apps import AppConfig
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _


class FilerGuiConfig(AppConfig):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os
import shutil

from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
from filer import settings as filer_settings

from .base import SubcommandsCommand
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import os

from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
from filer import settings as filer_settings

from .base import SubcommandsCommand
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from __future__ import absolute_import, print_function, unicode_literals

from django.db.models import Count
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _

from filer.models import File
from filer.models import Image
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
from filer.models import File, Image, Folder

from .base import SubcommandsCommand
Expand Down

0 comments on commit 428b6c5

Please sign in to comment.