perf: Translate

This commit is contained in:
feng 2025-05-14 18:01:42 +08:00 committed by Bryan
parent 43775096d1
commit 6aafb0f01a
11 changed files with 27 additions and 19 deletions

View File

@ -222,7 +222,7 @@ class PlatformSerializer(ResourceLabelsMixin, CommonSerializerMixin, WritableNes
return
name = self.initial_data.get('name')
if ' ' in name:
if name is not None and ' ' in name:
self.initial_data['name'] = name.replace(' ', '-')
if self.instance:

View File

@ -13,6 +13,7 @@
"CopyShareURLSuccess": "Copy Share URL Success",
"CreateLink": "Create Share Link",
"CreateSuccess": "Success",
"CurrentUser": "Current user",
"Custom Setting": "Custom Setting",
"DangerWarning": "This is a dangerous action",
"Delete": "Delete",
@ -29,6 +30,7 @@
"FileManagement": "File",
"FileManagementExpired": "The current file management session has expired.",
"FileUploadInterrupted": "File upload interrupted",
"Format": "Format",
"GetShareUser": "Enter username",
"Hotkeys": "Hotkeys",
"InputVerifyCode": "Input Verify Code",
@ -47,6 +49,8 @@
"Name": "Name",
"NewFolder": "New Folder",
"NoLink": "No Link",
"NoOnlineUser": "No online user",
"OnlineUser": "Online user",
"OnlineUsers": "Online Users",
"OperationSuccessful": "Operation successful",
"Paste": "Paste",
@ -78,6 +82,7 @@
"Theme": "Theme",
"ThemeColors": "Theme Colors",
"ThemeConfig": "Theme",
"ThemeSyncSuccessful": "Theme sync successful",
"TransferHistory": "Transfer history",
"Type": "Type",
"UpArrow": "Up arrow",
@ -91,12 +96,7 @@
"User": "User",
"VerifyCode": "Verify Code",
"WaitFileTransfer": "Wait file transfer to finish",
"Warning": "Warning",
"WebSocketClosed": "WebSocket closed",
"Writable": "Writable",
"CurrentUser": "Current user",
"OnlineUser": "Online user",
"NoOnlineUser": "No online user",
"Format": "Format",
"ThemeSyncSuccessful": "Theme sync successful",
"Warning": "Warning"
"Writable": "Writable"
}

View File

@ -13,6 +13,7 @@
"CopyShareURLSuccess": "复制分享地址成功",
"CreateLink": "创建分享链接",
"CreateSuccess": "创建成功",
"CurrentUser": "当前用户",
"Custom Setting": "自定义设置",
"DangerWarning": "这是一个危险的操作",
"Delete": "删除",
@ -29,6 +30,7 @@
"FileManagement": "文件管理",
"FileManagementExpired": "当前文件管理会话已过期。",
"FileUploadInterrupted": "文件上传中断",
"Format": "格式",
"GetShareUser": "输入用户名",
"Hotkeys": "快捷键",
"InputVerifyCode": "请输入验证码",
@ -47,6 +49,8 @@
"Name": "名称",
"NewFolder": "新建文件夹",
"NoLink": "无地址",
"NoOnlineUser": "暂无在线用户",
"OnlineUser": "在线用户",
"OnlineUsers": "在线人员",
"OperationSuccessful": "操作成功",
"Paste": "粘贴",
@ -78,6 +82,7 @@
"Theme": "主题",
"ThemeColors": "主题颜色",
"ThemeConfig": "主题",
"ThemeSyncSuccessful": "主题同步成功",
"TransferHistory": "传输历史",
"Type": "类型",
"UpArrow": "向上箭头",
@ -91,12 +96,7 @@
"User": "用户",
"VerifyCode": "验证码",
"WaitFileTransfer": "等待文件传输结束",
"Warning": "警告",
"WebSocketClosed": "WebSocket 已关闭",
"Writable": "可写",
"CurrentUser": "当前用户",
"OnlineUser": "在线用户",
"NoOnlineUser": "暂无在线用户",
"Format": "格式",
"ThemeSyncSuccessful": "主题同步成功",
"Warning": "警告"
"Writable": "可写"
}

View File

@ -180,6 +180,7 @@
"Audits": "Audits",
"Auth": "Authentication",
"AuthConfig": "Authentication",
"AuthIntegration": "AuthIntegration",
"AuthLimit": "Login restriction",
"AuthSAMLCertHelpText": "Save after uploading the certificate key, then view sp metadata",
"AuthSAMLKeyHelpText": "Sp certificates and keys are used for encrypted communication with idp",
@ -520,6 +521,7 @@
"EmptyPassword": "Empty password",
"Enable": "Enable",
"EnableDomain": "Gateway enabled",
"EnableGateway": "Enable gateway",
"EnableKoKoSSHHelpText": "When switched on, connecting to the asset will display ssh client pull-up method",
"Endpoint": "Endpoint",
"EndpointListHelpMessage": "The service endpoint is the address (port) for users to access the service. when users connect to assets, they choose service endpoints based on endpoint rules and asset tags, using them as access points to establish connections and achieve distributed connections to assets",
@ -1546,6 +1548,5 @@
"removeWarningMsg": "Are you sure you want to remove",
"setVariable": "Set variable",
"userId": "User ID",
"userName": "User name",
"AuthIntegration": "AuthIntegration"
"userName": "User name"
}

View File

@ -520,6 +520,7 @@
"EmptyPassword": "Contraseña vacía",
"Enable": "habilitar",
"EnableDomain": "Habilitar dominio",
"EnableGateway": "Habilitar el gateway de dominio.",
"EnableKoKoSSHHelpText": "Al activar, la conexión al activo se mostrará en modo cliente SSH",
"Endpoint": "Punto de servicio",
"EndpointListHelpMessage": "El punto final del servidor de servicios es la dirección (puerto) que los usuarios utilizan para acceder a los servicios. Cuando el usuario conecta los activos, se selecciona el punto final del servicio según las reglas del punto final y las etiquetas de los activos, estableciendo así una conexión como entrada para acceder a activos distribuidos.",

View File

@ -525,6 +525,7 @@
"EmptyPassword": "空のパスワード",
"Enable": "有効化",
"EnableDomain": "ドメインの有効化",
"EnableGateway": "ドメインゲートウェイを有効にする",
"EnableKoKoSSHHelpText": "起動時にアセットに接続すると、 SSH Client の起動方法が表示されます",
"Endpoint": "サーバーエンドポイント",
"EndpointListHelpMessage": "サービスエンドポイントはユーザーがサービスにアクセスするアドレス(ポート)で、ユーザーが資産に接続する際、エンドポイントルールと資産ラベルに基づいてサービスエンドポイントを選択し、アクセスポイントを設定して分散接続資産を実現します",

View File

@ -520,6 +520,7 @@
"EmptyPassword": "빈 비밀번호",
"Enable": "활성화",
"EnableDomain": "도메인 활성화",
"EnableGateway": "도메인 게이트웨이 활성화",
"EnableKoKoSSHHelpText": "연결 시 자산이 SSH 클라이언트 호출 방식으로 표시됩니다",
"Endpoint": "서버 엔드포인트",
"EndpointListHelpMessage": "서비스 엔드포인트는 사용자가 서비스에 접근하는 주소(포트)로, 사용자가 자산에 연결할 때 엔드포인트 규칙과 자산 태그에 따라 서비스 엔드포인트를 선택하여 접근 경로를 통해 연결을 구축하고 분산 자산 연결을 실현합니다",

View File

@ -521,6 +521,7 @@
"EmptyPassword": "Senha vazia",
"Enable": "Ativar",
"EnableDomain": "Ativar domínio",
"EnableGateway": "Ativar o gateway de domínio.",
"EnableKoKoSSHHelpText": "Ao iniciar, conectar ao ativo mostrará o método de lançamento do SSH Client",
"Endpoint": "Ponto de serviço",
"EndpointListHelpMessage": "O ponto de serviço é o endereço (porta) onde o usuário acessa o serviço. Quando o usuário se conecta ao recurso, ele escolhe o ponto de serviço de acordo com as regras do ponto final e etiquetas de recurso, estabelecendo a conexão como entrada de acesso, realizando a conexão distribuída ao recurso",

View File

@ -522,6 +522,7 @@
"EmptyPassword": "Пустой пароль",
"Enable": "Включить",
"EnableDomain": "Включить зону",
"EnableGateway": "Включить шлюз доменной сети",
"EnableKoKoSSHHelpText": "Если включено, при подключении к ресурсу будет отображаться метод подключения клиента по ssh",
"Endpoint": "Конечная точка",
"EndpointListHelpMessage": "Конечная точка сервиса — это адрес (порт), по которому пользователи могут получить доступ к службе. Когда пользователи подключаются к активам, они выбирают конечные точки служб на основе правил конечных точек и тегов активов, используя их в качестве точек доступа для установки соединений и реализации распределения подключений с активами.",

View File

@ -180,6 +180,7 @@
"Audits": "审计台",
"Auth": "认证设置",
"AuthConfig": "配置认证",
"AuthIntegration": "认证集成",
"AuthLimit": "登录限制",
"AuthSAMLCertHelpText": "上传证书密钥后保存, 然后查看 SP Metadata",
"AuthSAMLKeyHelpText": "SP 证书和密钥 是用来和 IDP 加密通信的",
@ -519,6 +520,7 @@
"EmptyPassword": "空密码",
"Enable": "启用",
"EnableDomain": "启用网域",
"EnableGateway": "启用网域网关",
"EnableKoKoSSHHelpText": "开启时连接资产会显示 SSH Client 拉起方式",
"Endpoint": "服务端点",
"EndpointListHelpMessage": "服务端点是用户访问服务的地址(端口),当用户在连接资产时,会根据端点规则和资产标签选择服务端点,作为访问入口建立连接,实现分布式连接资产",
@ -1551,6 +1553,5 @@
"removeWarningMsg": "你确定要移除",
"setVariable": "设置参数",
"userId": "用户ID",
"userName": "用户名",
"AuthIntegration": "认证集成"
"userName": "用户名"
}

View File

@ -525,6 +525,7 @@
"EmptyPassword": "空密碼",
"Enable": "啟用",
"EnableDomain": "啟用網域",
"EnableGateway": "啟用網域網關",
"EnableKoKoSSHHelpText": "開啟時連接資產會顯示 SSH Client 拉起方式",
"Endpoint": "服務端點",
"EndpointListHelpMessage": "服務端點是用戶訪問服務的地址(埠),當用戶在連接資產時,會根據端點規則和資產標籤選擇服務端點,作為訪問入口建立連接,實現分布式連接資產",