Skip to content

Commit

Permalink
Add missing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
obieler committed Sep 13, 2024
1 parent c7a4ea7 commit 46617f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions authority/admin.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from django import forms
from django.http import HttpResponseRedirect
from django.utils.translation import ugettext, ungettext, gettext_lazy as _
from django.utils.translation import gettext, ngettext, gettext_lazy as _
from django.shortcuts import render
from django.utils.safestring import mark_safe
from django.forms.formsets import all_valid
Expand Down Expand Up @@ -100,7 +100,7 @@ def edit_permissions(modeladmin, request, queryset):

context = {
"errors": ActionErrorList(formsets),
"title": ugettext("Permissions for %s") % force_text(opts.verbose_name_plural),
"title": gettext("Permissions for %s") % force_text(opts.verbose_name_plural),
"inline_admin_formsets": inline_admin_formsets,
"app_label": app_label,
"change": True,
Expand Down
2 changes: 1 addition & 1 deletion authority/views.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from django.shortcuts import render, get_object_or_404
from django.http import HttpResponseRedirect, HttpResponseForbidden
from django.apps import apps
from django.utils.translation import ugettext as _
from django.utils.translation import gettext as _
from django.template import loader
from django.contrib.auth.decorators import login_required

Expand Down

0 comments on commit 46617f4

Please sign in to comment.