diff --git a/apps/i18n/lina/en.json b/apps/i18n/lina/en.json index 5e467addf..bf92bbb92 100644 --- a/apps/i18n/lina/en.json +++ b/apps/i18n/lina/en.json @@ -641,7 +641,7 @@ "LogoIndexTip": "Tip: It will be displayed in the upper left corner of the page (Recommended image size: 185px*55px)", "LogoLogoutTip": "Tip: It will be displayed on the web terminal page of Enterprise Edition users (recommended image size: 82px*82px)", "Logout": "Logout", - "LogsAudit": "Logs", + "LogsAudit": "Activities", "Lowercase": "Lowercase", "LunaSettingUpdate": "Luna", "MFAErrorMsg": "MFA errors, please check", @@ -740,8 +740,9 @@ "OpenStack": "OpenStack", "OpenStatus": "In Approval", "OpenTicket": "Create a Ticket", - "OperateLog": "Operation Logs", + "OperateLog": "Operate Logs", "OperationLogNum": "Operation Logs", + "UserPasswordChangeLog": "User Password Change Log", "OrgAdmin": "Organization Admin", "OrgAuditor": "Org Auditors", "OrgName": "Authorized Organization Name", @@ -997,7 +998,8 @@ "SessionData": "Session Data", "SessionDetail": "Session Details", "SessionID": "Session ID", - "SessionList": "Sessions", + "SessionCommands": "Session Commands", + "SessionList": "Asset Sessions", "SessionMonitor": "Monitor", "SessionOffline": "Historical Sessions", "SessionOnline": "Online Sessions", diff --git a/apps/terminal/api/component/storage.py b/apps/terminal/api/component/storage.py index 9f0b2a94f..45d0a3682 100644 --- a/apps/terminal/api/component/storage.py +++ b/apps/terminal/api/component/storage.py @@ -2,8 +2,8 @@ # from django.utils.translation import gettext_lazy as _ -from django_filters import utils from django_filters import rest_framework as drf_filters +from django_filters import utils from rest_framework import viewsets, generics, status from rest_framework.decorators import action from rest_framework.request import Request @@ -82,7 +82,7 @@ class CommandStorageViewSet(BaseStorageViewSetMixin, viewsets.ModelViewSet): nodes = [ { 'id': storage.id, - 'name': f'{storage.name}({storage.type})({command_count})', + 'name': f'{storage.name}({storage.type}) ({command_count})', 'title': f'{storage.name}({storage.type})', 'pId': 'root', 'isParent': False,