From 11fd2afa3a50e18b24345d6fccb5fb01eb5bdff4 Mon Sep 17 00:00:00 2001 From: fit2bot <68588906+fit2bot@users.noreply.github.com> Date: Tue, 26 Oct 2021 17:27:01 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E4=B8=8B=E8=BD=BD?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=20(#7082)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: ibuler Co-authored-by: Jiangjie.Bai <32935519+BaiJiangJie@users.noreply.github.com> --- apps/locale/zh/LC_MESSAGES/django.po | 21 ++++++++++++++++++++ apps/templates/resource_download.html | 28 +++++++++++++++++++++++---- 2 files changed, 45 insertions(+), 4 deletions(-) diff --git a/apps/locale/zh/LC_MESSAGES/django.po b/apps/locale/zh/LC_MESSAGES/django.po index 76db7d1d4..763d0a248 100644 --- a/apps/locale/zh/LC_MESSAGES/django.po +++ b/apps/locale/zh/LC_MESSAGES/django.po @@ -4014,6 +4014,27 @@ msgstr "前" msgid "Login in " msgstr "登录了" +#: templates/resource_download.html:15 templates/resource_download.html:21 +#: templates/resource_download.html:22 templates/resource_download.html:27 +msgid "Client" +msgstr "客户端" + +#: templates/resource_download.html:17 +msgid "" +"JumpServer Client, currently used to launch the client, now only support " +"launch RDP client, The SSH client will next" +msgstr "JumpServer 客户端,目前用来唤起 特定客户端程序 连接资产, 目前仅支持 RDP 客户端,SSH、Telnet 会在未来支持" + +#: templates/resource_download.html:27 +msgid "Official" +msgstr "官方" + +#: templates/resource_download.html:29 +msgid "" +"macOS needs to download the client to connect RDP asset, which comes with " +"Windows" +msgstr "macOS 需要下载客户端来连接 RDP 资产,Windows 系统默认安装了该程序" + #: templates/rest_framework/base.html:128 msgid "Filters" msgstr "过滤" diff --git a/apps/templates/resource_download.html b/apps/templates/resource_download.html index df1dbc31c..f03b20686 100644 --- a/apps/templates/resource_download.html +++ b/apps/templates/resource_download.html @@ -1,16 +1,36 @@ {% extends '_without_nav_base.html' %} +{% load i18n %} {% block body %} +
-

JumpServer Clients

+

JumpServer {% trans 'Client' %}

+

+ {% trans 'JumpServer Client, currently used to launch the client, now only support launch RDP client, The SSH client will next' %} +{# //JumpServer 客户端,支持 RDP 的本地拉起,后续会支持拉起 ssh。#} +

-

RDP Clients

+

{% trans 'Microsoft' %} RDP {% trans 'Official' %}{% trans 'Client' %}

+

+ {% trans 'macOS needs to download the client to connect RDP asset, which comes with Windows' %} +