fix: 修复命令报警翻译

pull/7620/head
feng626 2022-02-15 18:14:02 +08:00 committed by Jiangjie.Bai
parent 3325867f8f
commit 1d6dcf9fb5
1 changed files with 1 additions and 3 deletions

View File

@ -1,7 +1,6 @@
from typing import Callable from typing import Callable
import textwrap
from django.utils.translation import gettext_lazy as _ from django.utils.translation import ugettext_lazy as _
from django.conf import settings from django.conf import settings
from django.template.loader import render_to_string from django.template.loader import render_to_string
@ -11,7 +10,6 @@ from notifications.notifications import SystemMessage
from terminal.models import Session, Command from terminal.models import Session, Command
from notifications.models import SystemMsgSubscription from notifications.models import SystemMsgSubscription
from notifications.backends import BACKEND from notifications.backends import BACKEND
from orgs.utils import tmp_to_root_org
from common.utils import lazyproperty from common.utils import lazyproperty
from common.utils.timezone import local_now_display from common.utils.timezone import local_now_display