Skip to content

The only downloader you need. 下载器的集大成者。

feat(i18n): fix untranslatable separator

i0ntempest256b082166fe
diff --git a/app/assets/i18n/gd3.en_US.ts b/app/assets/i18n/gd3.en_US.ts
index 698c03cf..ab663d2a 100644
--- a/app/assets/i18n/gd3.en_US.ts
+++ b/app/assets/i18n/gd3.en_US.ts
@@ -4502,6 +4502,11 @@ Wildcard: *.pcs.baidu.com (matches all subdomains)</translation>
<source>请填写代理地址</source>
<translation>Missing Proxy Details</translation>
</message>
+ <message>
+ <location filename="../../view/components/setting_cards.py" line="300"/>
+ <source>、</source>
+ <translation>, </translation>
+ </message>
<message>
<location filename="../../view/components/setting_cards.py" line="302"/>
<source>{0} 不支持当前代理协议,将直连;使用 SOCKS5 可兼容全部下载方式</source>
diff --git a/app/view/components/setting_cards.py b/app/view/components/setting_cards.py
index 0fe4a806..2eb8ec57 100644
--- a/app/view/components/setting_cards.py
+++ b/app/view/components/setting_cards.py
@@ -297,7 +297,7 @@ class ProxySettingCard(CollapsibleSettingCard):
if p.proxySchemes is not None and scheme not in p.proxySchemes
]
if incompatible:
- names = "、".join(incompatible)
+ names = self.tr("、").join(incompatible)
self._compatLabel.setText(
self.tr("{0} 不支持当前代理协议,将直连;使用 SOCKS5 可兼容全部下载方式").format(names)
)