perf: 修改翻译

pull/13122/head
ibuler 2024-04-17 13:49:43 +08:00
parent a432af1a6d
commit 5b41eddacc
2 changed files with 7 additions and 5 deletions

View File

@ -641,7 +641,7 @@
"LogoIndexTip": "Tip: It will be displayed in the upper left corner of the page (Recommended image size: 185px*55px)", "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)", "LogoLogoutTip": "Tip: It will be displayed on the web terminal page of Enterprise Edition users (recommended image size: 82px*82px)",
"Logout": "Logout", "Logout": "Logout",
"LogsAudit": "Logs", "LogsAudit": "Activities",
"Lowercase": "Lowercase", "Lowercase": "Lowercase",
"LunaSettingUpdate": "Luna", "LunaSettingUpdate": "Luna",
"MFAErrorMsg": "MFA errors, please check", "MFAErrorMsg": "MFA errors, please check",
@ -740,8 +740,9 @@
"OpenStack": "OpenStack", "OpenStack": "OpenStack",
"OpenStatus": "In Approval", "OpenStatus": "In Approval",
"OpenTicket": "Create a Ticket", "OpenTicket": "Create a Ticket",
"OperateLog": "Operation Logs", "OperateLog": "Operate Logs",
"OperationLogNum": "Operation Logs", "OperationLogNum": "Operation Logs",
"UserPasswordChangeLog": "User Password Change Log",
"OrgAdmin": "Organization Admin", "OrgAdmin": "Organization Admin",
"OrgAuditor": "Org Auditors", "OrgAuditor": "Org Auditors",
"OrgName": "Authorized Organization Name", "OrgName": "Authorized Organization Name",
@ -997,7 +998,8 @@
"SessionData": "Session Data", "SessionData": "Session Data",
"SessionDetail": "Session Details", "SessionDetail": "Session Details",
"SessionID": "Session ID", "SessionID": "Session ID",
"SessionList": "Sessions", "SessionCommands": "Session Commands",
"SessionList": "Asset Sessions",
"SessionMonitor": "Monitor", "SessionMonitor": "Monitor",
"SessionOffline": "Historical Sessions", "SessionOffline": "Historical Sessions",
"SessionOnline": "Online Sessions", "SessionOnline": "Online Sessions",

View File

@ -2,8 +2,8 @@
# #
from django.utils.translation import gettext_lazy as _ 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 rest_framework as drf_filters
from django_filters import utils
from rest_framework import viewsets, generics, status from rest_framework import viewsets, generics, status
from rest_framework.decorators import action from rest_framework.decorators import action
from rest_framework.request import Request from rest_framework.request import Request
@ -82,7 +82,7 @@ class CommandStorageViewSet(BaseStorageViewSetMixin, viewsets.ModelViewSet):
nodes = [ nodes = [
{ {
'id': storage.id, '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})', 'title': f'{storage.name}({storage.type})',
'pId': 'root', 'pId': 'root',
'isParent': False, 'isParent': False,