Optimize the plugin system

This commit is contained in:
Typer_Body
2026-03-29 16:45:54 +08:00
parent b0a9be77b0
commit f41d69324c
21 changed files with 2323 additions and 3290 deletions
+20
View File
@@ -493,6 +493,26 @@ const enUS = {
confirmInstall: 'Confirm Install',
installFromGithubDesc: 'Install plugin from GitHub Release',
goToMarketplace: 'Go to Marketplace',
installProgress: {
title: 'Installing {{name}}',
titleGeneric: 'Plugin Installation',
overallProgress: 'Overall Progress',
downloading: 'Downloading Plugin',
extracting: 'Extracting Plugin',
installingDeps: 'Installing Dependencies',
testing: 'Testing Plugin',
completed: 'Completed',
failed: 'Failed',
downloadSize: 'Package size: {{size}}',
depsInfo: '{{count}} dependencies to install',
depsProgress: '{{installed}}/{{total}} installed · {{remaining}} remaining',
installComplete: 'Plugin installed successfully',
dismiss: 'Dismiss',
background: 'Run in Background',
taskQueue: 'Install Tasks',
clearCompleted: 'Clear Completed',
noTasks: 'No install tasks',
},
},
market: {
searchPlaceholder: 'Search plugins...',
+20
View File
@@ -503,6 +503,26 @@ const esES = {
confirmInstall: 'Confirmar instalación',
installFromGithubDesc: 'Instalar plugin desde GitHub Release',
goToMarketplace: 'Ir a la tienda',
installProgress: {
title: 'Instalando {{name}}',
titleGeneric: 'Instalación de Plugin',
overallProgress: 'Progreso general',
downloading: 'Descargando Plugin',
extracting: 'Extrayendo Plugin',
installingDeps: 'Instalando dependencias',
testing: 'Probando Plugin',
completed: 'Completado',
failed: 'Fallido',
downloadSize: 'Tamaño del paquete: {{size}}',
depsInfo: '{{count}} dependencias por instalar',
depsProgress: '{{installed}}/{{total}} instaladas · {{remaining}} restantes',
installComplete: 'Plugin instalado correctamente',
dismiss: 'Descartar',
background: 'Ejecutar en segundo plano',
taskQueue: 'Tareas de instalación',
clearCompleted: 'Limpiar completados',
noTasks: 'No hay tareas de instalación',
},
},
market: {
searchPlaceholder: 'Buscar plugins...',
+20
View File
@@ -493,6 +493,26 @@
confirmInstall: 'インストールを確認',
installFromGithubDesc: 'GitHubリリースからプラグインをインストール',
goToMarketplace: 'マーケットプレイスへ',
installProgress: {
title: '{{name}} をインストール中',
titleGeneric: 'プラグインのインストール',
overallProgress: '全体の進捗',
downloading: 'プラグインをダウンロード中',
extracting: 'プラグインを展開中',
installingDeps: '依存関係をインストール中',
testing: 'プラグインをテスト中',
completed: '完了',
failed: '失敗',
downloadSize: 'パッケージサイズ: {{size}}',
depsInfo: '{{count}} 個の依存関係をインストール',
depsProgress: '{{installed}}/{{total}} インストール済み · 残り {{remaining}} 個',
installComplete: 'プラグインのインストール完了',
dismiss: '閉じる',
background: 'バックグラウンドで実行',
taskQueue: 'インストールタスク',
clearCompleted: '完了を消去',
noTasks: 'インストールタスクはありません',
},
},
market: {
searchPlaceholder: 'プラグインを検索...',
+20
View File
@@ -485,6 +485,26 @@ const thTH = {
confirmInstall: 'ยืนยันการติดตั้ง',
installFromGithubDesc: 'ติดตั้งปลั๊กอินจาก GitHub Release',
goToMarketplace: 'ไปที่ตลาดปลั๊กอิน',
installProgress: {
title: 'กำลังติดตั้ง {{name}}',
titleGeneric: 'การติดตั้งปลั๊กอิน',
overallProgress: 'ความคืบหน้าโดยรวม',
downloading: 'กำลังดาวน์โหลดปลั๊กอิน',
extracting: 'กำลังแตกไฟล์ปลั๊กอิน',
installingDeps: 'กำลังติดตั้งแพ็กเกจ',
testing: 'กำลังทดสอบปลั๊กอิน',
completed: 'เสร็จสมบูรณ์',
failed: 'ล้มเหลว',
downloadSize: 'ขนาดแพ็กเกจ: {{size}}',
depsInfo: '{{count}} แพ็กเกจที่ต้องติดตั้ง',
depsProgress: 'ติดตั้งแล้ว {{installed}}/{{total}} · เหลือ {{remaining}}',
installComplete: 'ติดตั้งปลั๊กอินสำเร็จ',
dismiss: 'ปิด',
background: 'ทำงานเบื้องหลัง',
taskQueue: 'งานติดตั้ง',
clearCompleted: 'ล้างที่เสร็จแล้ว',
noTasks: 'ไม่มีงานติดตั้ง',
},
},
market: {
searchPlaceholder: 'ค้นหาปลั๊กอิน...',
+20
View File
@@ -497,6 +497,26 @@ const viVN = {
confirmInstall: 'Xác nhận cài đặt',
installFromGithubDesc: 'Cài đặt plugin từ GitHub Release',
goToMarketplace: 'Đi đến chợ ứng dụng',
installProgress: {
title: 'Đang cài đặt {{name}}',
titleGeneric: 'Cài đặt Plugin',
overallProgress: 'Tiến độ tổng thể',
downloading: 'Đang tải Plugin',
extracting: 'Đang giải nén Plugin',
installingDeps: 'Đang cài đặt phụ thuộc',
testing: 'Đang kiểm tra Plugin',
completed: 'Hoàn thành',
failed: 'Thất bại',
downloadSize: 'Kích thước gói: {{size}}',
depsInfo: '{{count}} phụ thuộc cần cài đặt',
depsProgress: 'Đã cài {{installed}}/{{total}} · Còn lại {{remaining}}',
installComplete: 'Cài đặt plugin thành công',
dismiss: 'Bỏ qua',
background: 'Chạy nền',
taskQueue: 'Tác vụ cài đặt',
clearCompleted: 'Xóa đã hoàn thành',
noTasks: 'Không có tác vụ cài đặt',
},
},
market: {
searchPlaceholder: 'Tìm kiếm plugin...',
+20
View File
@@ -469,6 +469,26 @@ const zhHans = {
confirmInstall: '确认安装',
installFromGithubDesc: '从 GitHub Release 安装插件',
goToMarketplace: '前往插件市场',
installProgress: {
title: '正在安装 {{name}}',
titleGeneric: '插件安装',
overallProgress: '总体进度',
downloading: '下载插件',
extracting: '解压插件',
installingDeps: '安装依赖',
testing: '测试插件',
completed: '已完成',
failed: '安装失败',
downloadSize: '包大小: {{size}}',
depsInfo: '共 {{count}} 个依赖需要安装',
depsProgress: '已安装 {{installed}}/{{total}} · 剩余 {{remaining}} 个',
installComplete: '插件安装成功',
dismiss: '关闭',
background: '后台运行',
taskQueue: '安装任务',
clearCompleted: '清除已完成',
noTasks: '暂无安装任务',
},
},
market: {
searchPlaceholder: '搜索插件...',
+20
View File
@@ -462,6 +462,26 @@ const zhHant = {
confirmInstall: '確認安裝',
installFromGithubDesc: '從 GitHub Release 安裝插件',
goToMarketplace: '前往外掛市場',
installProgress: {
title: '正在安裝 {{name}}',
titleGeneric: '外掛安裝',
overallProgress: '整體進度',
downloading: '下載外掛',
extracting: '解壓外掛',
installingDeps: '安裝依賴',
testing: '測試外掛',
completed: '已完成',
failed: '安裝失敗',
downloadSize: '檔案大小: {{size}}',
depsInfo: '共 {{count}} 個依賴需要安裝',
depsProgress: '已安裝 {{installed}}/{{total}} · 剩餘 {{remaining}} 個',
installComplete: '外掛安裝成功',
dismiss: '關閉',
background: '背景執行',
taskQueue: '安裝任務',
clearCompleted: '清除已完成',
noTasks: '暫無安裝任務',
},
},
market: {
searchPlaceholder: '搜尋插件...',