feat: refactor market

This commit is contained in:
WangCham
2026-05-09 11:49:44 +08:00
parent f306c762c8
commit fffc862fe6
18 changed files with 1021 additions and 116 deletions

View File

@@ -5,6 +5,7 @@ const enUS = {
installedPlugins: 'Installed Extensions',
pluginMarket: 'Extension Market',
mcpServers: 'MCP Servers',
addExtension: 'Add Extension',
pluginPages: 'Plugin Pages',
pluginPagesTooltip: 'Visual pages provided by installed plugins',
quickStart: 'Quick Start',
@@ -433,6 +434,7 @@ const enUS = {
arrange: 'Sort Plugins',
install: 'Install',
installPlugin: 'Install Plugin',
newPlugin: 'New Plugin',
onlySupportGithub: 'Currently only supports installation from GitHub',
enterGithubLink: 'Enter GitHub link of the plugin',
installing: 'Installing plugin...',
@@ -513,9 +515,10 @@ const enUS = {
uploadLocal: 'Upload Local',
debugging: 'Debugging',
uploadLocalPlugin: 'Upload Local Plugin',
uploadPluginOnly: 'Only .lbpkg files are supported',
dragToUpload: 'Drag plugin file here to upload',
unsupportedFileType:
'Unsupported file type, only .lbpkg and .zip files are supported',
'Unsupported file type, only .lbpkg files are supported',
uploadingPlugin: 'Uploading plugin...',
uploadSuccess: 'Upload successful',
uploadFailed: 'Upload failed',
@@ -673,6 +676,7 @@ const enUS = {
mcp: {
title: 'MCP',
createServer: 'Add MCP Server',
addMCPServer: 'Add MCP Server',
editServer: 'Edit MCP Server',
deleteServer: 'Delete MCP Server',
confirmDeleteServer: 'Are you sure you want to delete this MCP server?',
@@ -1346,6 +1350,7 @@ const enUS = {
deleteSuccess: 'Deleted successfully',
deleteError: 'Delete failed: ',
deleteConfirmation: 'Are you sure you want to delete this skill?',
delete: 'Delete Skill',
skillNameRequired: 'Skill name cannot be empty',
skillDescriptionRequired: 'Skill description cannot be empty',
packageRootRequired: 'Package root path cannot be empty',
@@ -1364,6 +1369,7 @@ const enUS = {
advancedSettings: 'Advanced Settings',
searchSkills: 'Search skills...',
selectSkills: 'Select Skills',
addSkill: 'Add Skill',
builtin: 'Built-in',
importFromGithub: 'Import from GitHub',
createManually: 'Create Manually',

View File

@@ -5,6 +5,7 @@ const esES = {
installedPlugins: 'Plugins instalados',
pluginMarket: 'Tienda',
mcpServers: 'Servidores MCP',
addExtension: 'Añadir extensión',
pluginPages: 'Páginas de plugins',
pluginPagesTooltip:
'Páginas visuales proporcionadas por los plugins instalados',
@@ -446,6 +447,7 @@ const esES = {
arrange: 'Ordenar plugins',
install: 'Instalar',
installPlugin: 'Instalar plugin',
newPlugin: 'Nuevo Plugin',
onlySupportGithub: 'Actualmente solo se admite la instalación desde GitHub',
enterGithubLink: 'Introduce el enlace de GitHub del plugin',
installing: 'Instalando plugin...',
@@ -681,6 +683,7 @@ const esES = {
mcp: {
title: 'MCP',
createServer: 'Añadir servidor MCP',
addMCPServer: 'Añadir servidor MCP',
editServer: 'Editar servidor MCP',
deleteServer: 'Eliminar servidor MCP',
confirmDeleteServer:

View File

@@ -5,6 +5,7 @@ const jaJP = {
installedPlugins: 'インストール済みプラグイン',
pluginMarket: 'プラグインマーケット',
mcpServers: 'MCPサーバー',
addExtension: '拡張機能を追加',
pluginPages: 'プラグインページ',
pluginPagesTooltip: 'インストール済みプラグインが提供するビジュアルページ',
quickStart: 'クイックスタート',
@@ -438,6 +439,7 @@ const jaJP = {
arrange: '並び替え',
install: 'インストール',
installPlugin: 'プラグインをインストール',
newPlugin: '新規プラグイン',
onlySupportGithub: '現在はGitHubからのインストールのみサポートしています',
enterGithubLink: 'プラグインのGitHubリンクを入力してください',
installing: 'プラグインをインストール中...',
@@ -672,6 +674,7 @@ const jaJP = {
mcp: {
title: 'MCP',
createServer: 'MCPサーバーを追加',
addMCPServer: 'MCPサーバーを追加',
editServer: 'MCPサーバーを編集',
deleteServer: 'MCPサーバーを削除',
confirmDeleteServer: 'このMCPサーバーを削除してもよろしいですか',

View File

@@ -5,6 +5,7 @@ const ruRU = {
installedPlugins: 'Установленные плагины',
pluginMarket: 'Маркетплейс',
mcpServers: 'MCP-серверы',
addExtension: 'Добавить расширение',
pluginPages: 'Страницы плагинов',
pluginPagesTooltip:
'Визуальные страницы, предоставляемые установленными плагинами',
@@ -441,6 +442,7 @@ const ruRU = {
arrange: 'Сортировка плагинов',
install: 'Установить',
installPlugin: 'Установить плагин',
newPlugin: 'Новый плагин',
onlySupportGithub:
'В настоящее время поддерживается установка только с GitHub',
enterGithubLink: 'Введите ссылку на GitHub плагина',
@@ -677,6 +679,7 @@ const ruRU = {
mcp: {
title: 'MCP',
createServer: 'Добавить MCP-сервер',
addMCPServer: 'Добавить MCP-сервер',
editServer: 'Редактировать MCP-сервер',
deleteServer: 'Удалить MCP-сервер',
confirmDeleteServer: 'Вы уверены, что хотите удалить этот MCP-сервер?',

View File

@@ -5,6 +5,7 @@ const thTH = {
installedPlugins: 'ปลั๊กอินที่ติดตั้ง',
pluginMarket: 'ตลาดปลั๊กอิน',
mcpServers: 'เซิร์ฟเวอร์ MCP',
addExtension: 'เพิ่มส่วนขยาย',
pluginPages: 'หน้าปลั๊กอิน',
pluginPagesTooltip: 'หน้าเว็บที่จัดทำโดยปลั๊กอินที่ติดตั้ง',
quickStart: 'เริ่มต้นอย่างรวดเร็ว',
@@ -429,6 +430,7 @@ const thTH = {
arrange: 'เรียงลำดับปลั๊กอิน',
install: 'ติดตั้ง',
installPlugin: 'ติดตั้งปลั๊กอิน',
newPlugin: 'สร้างปลั๊กอินใหม่',
onlySupportGithub: 'ปัจจุบันรองรับเฉพาะการติดตั้งจาก GitHub',
enterGithubLink: 'กรอกลิงก์ GitHub ของปลั๊กอิน',
installing: 'กำลังติดตั้งปลั๊กอิน...',
@@ -658,6 +660,7 @@ const thTH = {
mcp: {
title: 'MCP',
createServer: 'เพิ่มเซิร์ฟเวอร์ MCP',
addMCPServer: 'เพิ่มเซิร์ฟเวอร์ MCP',
editServer: 'แก้ไขเซิร์ฟเวอร์ MCP',
deleteServer: 'ลบเซิร์ฟเวอร์ MCP',
confirmDeleteServer: 'คุณแน่ใจหรือไม่ว่าต้องการลบเซิร์ฟเวอร์ MCP นี้?',

View File

@@ -5,6 +5,7 @@ const viVN = {
installedPlugins: 'Plugin đã cài đặt',
pluginMarket: 'Chợ ứng dụng',
mcpServers: 'Máy chủ MCP',
addExtension: 'Thêm tiện ích mở rộng',
pluginPages: 'Trang plugin',
pluginPagesTooltip:
'Các trang trực quan được cung cấp bởi plugin đã cài đặt',
@@ -439,6 +440,7 @@ const viVN = {
arrange: 'Sắp xếp Plugin',
install: 'Cài đặt',
installPlugin: 'Cài đặt Plugin',
newPlugin: 'Plugin mới',
onlySupportGithub: 'Hiện chỉ hỗ trợ cài đặt từ GitHub',
enterGithubLink: 'Nhập liên kết GitHub của plugin',
installing: 'Đang cài đặt plugin...',
@@ -671,6 +673,7 @@ const viVN = {
mcp: {
title: 'MCP',
createServer: 'Thêm máy chủ MCP',
addMCPServer: 'Thêm máy chủ MCP',
editServer: 'Chỉnh sửa máy chủ MCP',
deleteServer: 'Xóa máy chủ MCP',
confirmDeleteServer: 'Bạn có chắc chắn muốn xóa máy chủ MCP này không?',

View File

@@ -1,10 +1,11 @@
const zhHans = {
sidebar: {
home: '首页',
extensions: '展',
extensions: '展',
installedPlugins: '已安装拓展',
pluginMarket: '拓展市场',
mcpServers: 'MCP 服务器',
addExtension: '添加拓展',
pluginPages: '插件页面',
pluginPagesTooltip: '由已安装的插件提供的可视化页面',
quickStart: '快速开始向导',
@@ -416,6 +417,7 @@ const zhHans = {
arrange: '编排',
install: '安装',
installPlugin: '安装插件',
newPlugin: '新建插件',
onlySupportGithub: '目前仅支持从 GitHub 安装',
enterGithubLink: '请输入插件的Github链接',
installing: '正在安装插件...',
@@ -490,8 +492,9 @@ const zhHans = {
uploadLocal: '本地上传',
debugging: '调试中',
uploadLocalPlugin: '上传本地插件',
uploadPluginOnly: '仅支持 .lbpkg 文件',
dragToUpload: '拖拽文件到此处上传',
unsupportedFileType: '不支持的文件类型,仅支持 .lbpkg 和 .zip 文件',
unsupportedFileType: '不支持的文件类型,仅支持 .lbpkg 文件',
uploadingPlugin: '正在上传插件...',
uploadSuccess: '上传成功',
uploadFailed: '上传失败',
@@ -645,6 +648,7 @@ const zhHans = {
mcp: {
title: 'MCP',
createServer: '添加 MCP 服务器',
addMCPServer: '添加 MCP 服务器',
editServer: '修改 MCP 服务器',
deleteServer: '删除 MCP 服务器',
confirmDeleteServer: '你确定要删除此 MCP 服务器吗?',
@@ -1290,6 +1294,7 @@ const zhHans = {
deleteSuccess: '删除成功',
deleteError: '删除失败:',
deleteConfirmation: '你确定要删除这个技能吗?',
delete: '删除技能',
skillNameRequired: '技能名称不能为空',
skillDescriptionRequired: '技能描述不能为空',
packageRootRequired: '技能目录不能为空',
@@ -1308,6 +1313,7 @@ const zhHans = {
searchSkills: '搜索技能...',
selectSkills: '选择技能',
builtin: '内置',
addSkill: '添加技能',
importFromGithub: '从 GitHub 导入',
createManually: '手动创建',
uploadZip: '上传 ZIP 包',

View File

@@ -5,6 +5,7 @@ const zhHant = {
installedPlugins: '已安裝外掛',
pluginMarket: '外掛市場',
mcpServers: 'MCP 伺服器',
addExtension: '添加擴展',
pluginPages: '插件頁面',
pluginPagesTooltip: '由已安裝的插件提供的視覺化頁面',
quickStart: '快速開始',
@@ -416,6 +417,7 @@ const zhHant = {
arrange: '編排',
install: '安裝',
installPlugin: '安裝外掛',
newPlugin: '新建外掛',
installFromGithub: '來自 GitHub',
onlySupportGithub: '目前僅支援從 GitHub 安裝',
enterGithubLink: '請輸入外掛的Github連結',
@@ -639,6 +641,7 @@ const zhHant = {
mcp: {
title: 'MCP',
createServer: '新增MCP伺服器',
addMCPServer: '新增 MCP 伺服器',
editServer: '編輯MCP伺服器',
deleteServer: '刪除MCP伺服器',
confirmDeleteServer: '您確定要刪除此MCP伺服器嗎',
@@ -1327,6 +1330,67 @@ const zhHant = {
selectFromSidebar: '從側邊欄選擇一個插件頁面',
invalidPage: '無效的插件頁面',
},
skills: {
title: '技能',
description: '創建和管理可在對話中激活的技能',
createSkill: '創建技能',
editSkill: '編輯技能',
getSkillListError: '獲取技能列表失敗:',
skillName: '技能名稱',
displayName: '技能名稱',
displayNamePlaceholder: '顯示名稱',
skillSlug: '目錄名稱',
skillSlugPlaceholder: 'english-name-only',
skillSlugHelp: '用作技能目錄名,僅支援英文字母、數字、連字符和底線。',
skillDescription: '技能描述',
skillInstructions: '指令內容',
autoActivate: '自動啟用',
saveSuccess: '儲存成功',
saveError: '儲存失敗:',
createSuccess: '創建成功',
createError: '創建失敗:',
deleteSuccess: '刪除成功',
deleteError: '刪除失敗:',
deleteConfirmation: '你確定要刪除這個技能嗎?',
delete: '刪除技能',
skillNameRequired: '技能名稱不能為空',
skillDescriptionRequired: '技能描述不能為空',
packageRootRequired: '技能目錄不能為空',
scan: '掃描',
scanSuccess: '目錄掃描成功',
scanError: '掃描目錄失敗:',
noSkills: '暫未配置任何技能',
preview: '預覽',
previewInstructions: '預覽指令',
instructionsPlaceholder: '使用 Markdown 格式輸入技能指令...',
descriptionPlaceholder: '簡短描述此技能的功能',
packageRoot: '技能目錄',
packageRootHelp: '非必填。僅在導入已有技能目錄時需要填寫。',
advancedSettings: '進階設定',
searchSkills: '搜尋技能...',
selectSkills: '選擇技能',
builtin: '內建',
addSkill: '添加技能',
importFromGithub: '從 GitHub 導入',
createManually: '手動創建',
uploadZip: '上傳 ZIP 包',
uploadZipOnly: '僅支援 .zip 技能包',
installSuccess: '技能安裝成功',
installError: '安裝技能失敗:',
enterRepoUrl: '輸入 GitHub 倉庫地址',
repoUrlPlaceholder: '例如 https://github.com/owner/repo',
fetchingReleases: '正在獲取發布版本...',
selectRelease: '選擇發布版本',
noReleasesFound: '未找到發布版本',
fetchReleasesError: '獲取發布版本失敗:',
selectAsset: '選擇要安裝的檔案',
sourceArchive: '源碼包 (zip)',
noAssetsFound: '此版本暫無可安裝的檔案',
fetchAssetsError: '獲取檔案列表失敗:',
backToReleases: '返回版本列表',
backToRepoUrl: '返回倉庫地址',
selectFromSidebar: '從側邊欄選擇一個技能',
},
};
export default zhHant;