The only downloader you need. 下载器的集大成者。
TypeScript asyncasynciobittorentbtcross-platformdownload-managerdownloaderfluent-designftphttp3magnetpyqtpyside6pythonqtquicreactsoftwarestreaming
fix(i18n): remove detail translation hack, fix ed2k catalog, delete orphan
XiaoYouChR3bbd50d7ad3a
diff --git a/app/view/cards/task_cards.py b/app/view/cards/task_cards.pyindex 86f11bc6..b2642f52 100644--- a/app/view/cards/task_cards.py+++ b/app/view/cards/task_cards.py@@ -269,12 +269,7 @@ class TaskCard(CardWidget):error = task.lastErrorif error:text = QCoreApplication.translate("TaskErrors", error.message)- params = {- key: QCoreApplication.translate("TaskErrors", value)- if key == "detail" and isinstance(value, str) else value- for key, value in error.params.items()- }- self._setStatus(text.format_map(params) if params else text)+ self._setStatus(text.format_map(error.params) if error.params else text)else:self._setStatus(self.tr("下载过程中发生错误,请稍后重试"))diff --git a/app/view/notification_catalog.py b/app/view/notification_catalog.pydeleted file mode 100644index adb9f048..00000000--- a/app/view/notification_catalog.py+++ /dev/null@@ -1,4 +0,0 @@-from PySide6.QtCore import QT_TRANSLATE_NOOP as N--N("MainWindow", "功能包更新")-N("MainWindow", "{0} 将在下次启动时生效")diff --git a/features/ed2k_pack/error_catalog.py b/features/ed2k_pack/error_catalog.pyindex 7cb9cfec..f8d5f359 100644--- a/features/ed2k_pack/error_catalog.py+++ b/features/ed2k_pack/error_catalog.py@@ -1,5 +1,3 @@from PySide6.QtCore import QT_TRANSLATE_NOOP as NN("TaskErrors", "ED2k 错误:{detail}")-N("TaskErrors", "ED2kSession 未启动")-N("TaskErrors", "未找到 goed2kd,请先在设置中安装")