perf: update download

This commit is contained in:
ibuler
2026-06-24 17:54:03 +08:00
parent 3b2a6d316a
commit d40cebd528
11 changed files with 48 additions and 0 deletions

View File

@@ -8941,6 +8941,10 @@ msgstr ""
msgid "Client, currently used to launch the client"
msgstr ""
#: templates/resource_download.html:32
msgid "More download"
msgstr "More downloads"
#: terminal/api/applet/applet.py:55 terminal/api/virtualapp/virtualapp.py:43
msgid "Invalid zip file"
msgstr ""

View File

@@ -9732,6 +9732,10 @@ msgstr ""
"Cliente, actualmente utilizado para invocar un programa cliente específico "
"para conectar activos"
#: templates/resource_download.html:32
msgid "More download"
msgstr "Más descargas"
#: terminal/api/applet/applet.py:55 terminal/api/virtualapp/virtualapp.py:43
msgid "Invalid zip file"
msgstr "archivo zip inválido"

View File

@@ -9368,6 +9368,10 @@ msgstr ""
"クライアントは、特定のクライアントプログラムを呼び起こして資産に接続するため"
"に使用されます"
#: templates/resource_download.html:32
msgid "More download"
msgstr "その他のダウンロード"
#: terminal/api/applet/applet.py:55 terminal/api/virtualapp/virtualapp.py:43
msgid "Invalid zip file"
msgstr "zip ファイルが無効です"

View File

@@ -9362,6 +9362,10 @@ msgid "Client, currently used to launch the client"
msgstr ""
"클라이언트, 현재 특정 클라이언트 프로그램을 호출하여 자산에 연결하고 있습니다"
#: templates/resource_download.html:32
msgid "More download"
msgstr "추가 다운로드"
#: terminal/api/applet/applet.py:55 terminal/api/virtualapp/virtualapp.py:43
msgid "Invalid zip file"
msgstr "유효하지 않은 zip 파일"

View File

@@ -9475,6 +9475,10 @@ msgstr ""
"Cliente, atualmente utilizado para invocar um programa cliente específico "
"para conectar ativos"
#: templates/resource_download.html:32
msgid "More download"
msgstr "Mais downloads"
#: terminal/api/applet/applet.py:55 terminal/api/virtualapp/virtualapp.py:43
msgid "Invalid zip file"
msgstr "Arquivo zip inválido"

View File

@@ -9487,6 +9487,10 @@ msgstr ""
"Клиент в настоящее время используется для запуска конкретной клиентской "
"программы для подключения к активам"
#: templates/resource_download.html:32
msgid "More download"
msgstr "Дополнительные загрузки"
#: terminal/api/applet/applet.py:55 terminal/api/virtualapp/virtualapp.py:43
msgid "Invalid zip file"
msgstr "Неверный zip файл"

View File

@@ -9479,6 +9479,10 @@ msgstr ""
"Khách hàng, hiện đang được sử dụng để khởi động chương trình khách hàng cụ "
"thể kết nối với tài sản"
#: templates/resource_download.html:32
msgid "More download"
msgstr "Tải xuống thêm"
#: terminal/api/applet/applet.py:55 terminal/api/virtualapp/virtualapp.py:43
msgid "Invalid zip file"
msgstr "Tệp zip không hợp lệ"

View File

@@ -9122,6 +9122,10 @@ msgstr "客户端"
msgid "Client, currently used to launch the client"
msgstr "客户端,目前用来唤起 特定客户端程序 连接资产"
#: templates/resource_download.html:32
msgid "More download"
msgstr "更多下载"
#: terminal/api/applet/applet.py:55 terminal/api/virtualapp/virtualapp.py:43
msgid "Invalid zip file"
msgstr "无效的 zip 文件"

View File

@@ -9132,6 +9132,10 @@ msgstr "用戶端"
msgid "Client, currently used to launch the client"
msgstr "客戶端,目前用來喚起特定客戶端程式連接資產"
#: templates/resource_download.html:32
msgid "More download"
msgstr "更多下載"
#: terminal/api/applet/applet.py:55 terminal/api/virtualapp/virtualapp.py:43
msgid "Invalid zip file"
msgstr "無效的 zip 文件"

View File

@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
#
import re
import os
from urllib.parse import urlparse
from django.conf import settings
@@ -99,6 +100,7 @@ class ResourceDownload(TemplateView):
@lazyproperty
def versions_content(self):
more_downloads = os.environ.get('MORE_DOWNLOADS_URL')
return f"""
MRD_VERSION=10.6.7
OPENSSH_VERSION=v9.4.0.0
@@ -106,6 +108,7 @@ class ResourceDownload(TemplateView):
VIDEO_PLAYER_VERSION=0.5.2
CLIENT_VERSION=4.1.3
VENDOR={settings.VENDOR}
MORE_DOWNLOADS_URL={more_downloads}
"""
def get_meta_json(self):

View File

@@ -26,6 +26,15 @@ p {
<li> <a href="/download/public/Client_{{ CLIENT_VERSION }}_aarch64.dmg">{{ VENDOR }}Client_{{ CLIENT_VERSION }}_aarch64.dmg</a></li>
</ul>
</div>
{% if MORE_DOWNLOADS_URL %}
<div class="group">
<h2> {% trans 'More download' %} </h2>
<ul>
<li><a href="{{ MORE_DOWNLOADS_URL }}">{% trans 'Download' %}</a></li>
</ul>
</div>
{% endif %}
</div>
<style>
ul {