mirror of https://github.com/jumpserver/jumpserver
fix: 修复命令报警翻译
parent
3325867f8f
commit
1d6dcf9fb5
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue