Browse Source

perf: 修改翻译

pull/13122/head
ibuler 7 months ago
parent
commit
5b41eddacc
  1. 8
      apps/i18n/lina/en.json
  2. 4
      apps/terminal/api/component/storage.py

8
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",

4
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,

Loading…
Cancel
Save