mirror of
https://github.com/lkddi/Xboard.git
synced 2026-05-01 08:57:27 +08:00
feat: add plugin upload functionality and optimize plugin logic
This commit is contained in:
Vendored
+7
-7
File diff suppressed because one or more lines are too long
Vendored
+24
-2
@@ -188,7 +188,25 @@ window.XBOARD_TRANSLATIONS['en-US'] = {
|
||||
"install": "Install",
|
||||
"config": "Configure",
|
||||
"enable": "Enable",
|
||||
"disable": "Disable"
|
||||
"disable": "Disable",
|
||||
"uninstall": "Uninstall"
|
||||
},
|
||||
"upload": {
|
||||
"button": "Upload Plugin",
|
||||
"title": "Upload Plugin",
|
||||
"description": "Upload a plugin package (.zip)",
|
||||
"dragText": "Drag and drop plugin package here, or",
|
||||
"clickText": "browse",
|
||||
"supportText": "Supports .zip files only",
|
||||
"uploading": "Uploading...",
|
||||
"error": {
|
||||
"format": "Only .zip files are supported"
|
||||
}
|
||||
},
|
||||
"delete": {
|
||||
"title": "Delete Plugin",
|
||||
"description": "Are you sure you want to delete this plugin? This action cannot be undone.",
|
||||
"button": "Delete"
|
||||
},
|
||||
"uninstall": {
|
||||
"title": "Uninstall Plugin",
|
||||
@@ -213,7 +231,11 @@ window.XBOARD_TRANSLATIONS['en-US'] = {
|
||||
"disableError": "Failed to disable plugin",
|
||||
"configLoadError": "Failed to load plugin configuration",
|
||||
"configSaveSuccess": "Configuration saved successfully",
|
||||
"configSaveError": "Failed to save configuration"
|
||||
"configSaveError": "Failed to save configuration",
|
||||
"uploadSuccess": "Plugin uploaded successfully",
|
||||
"uploadError": "Failed to upload plugin",
|
||||
"deleteSuccess": "Plugin deleted successfully",
|
||||
"deleteError": "Failed to delete plugin"
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
|
||||
Vendored
+22
-2
@@ -188,7 +188,25 @@ window.XBOARD_TRANSLATIONS['ko-KR'] = {
|
||||
"install": "설치",
|
||||
"config": "설정",
|
||||
"enable": "활성화",
|
||||
"disable": "비활성화"
|
||||
"disable": "비활성화",
|
||||
"uninstall": "제거"
|
||||
},
|
||||
"upload": {
|
||||
"button": "플러그인 업로드",
|
||||
"title": "플러그인 업로드",
|
||||
"description": "플러그인 패키지 업로드 (.zip)",
|
||||
"dragText": "플러그인 패키지를 여기에 끌어다 놓거나",
|
||||
"clickText": "찾아보기",
|
||||
"supportText": ".zip 파일만 지원됩니다",
|
||||
"uploading": "업로드 중...",
|
||||
"error": {
|
||||
"format": ".zip 파일만 지원됩니다"
|
||||
}
|
||||
},
|
||||
"delete": {
|
||||
"title": "플러그인 삭제",
|
||||
"description": "이 플러그인을 삭제하시겠습니까? 삭제 후 플러그인 데이터가 삭제됩니다.",
|
||||
"button": "삭제"
|
||||
},
|
||||
"uninstall": {
|
||||
"title": "플러그인 제거",
|
||||
@@ -213,7 +231,9 @@ window.XBOARD_TRANSLATIONS['ko-KR'] = {
|
||||
"disableError": "플러그인 비활성화에 실패했습니다",
|
||||
"configLoadError": "플러그인 설정을 불러오는데 실패했습니다",
|
||||
"configSaveSuccess": "설정이 성공적으로 저장되었습니다",
|
||||
"configSaveError": "설정 저장에 실패했습니다"
|
||||
"configSaveError": "설정 저장에 실패했습니다",
|
||||
"uploadSuccess": "플러그인이 성공적으로 업로드되었습니다",
|
||||
"uploadError": "플러그인 업로드에 실패했습니다"
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
|
||||
Vendored
+27
-5
@@ -176,9 +176,9 @@ window.XBOARD_TRANSLATIONS['zh-CN'] = {
|
||||
"other": "其他"
|
||||
},
|
||||
"tabs": {
|
||||
"all": "全部插件",
|
||||
"all": "所有插件",
|
||||
"installed": "已安装",
|
||||
"available": "可用插件"
|
||||
"available": "可用"
|
||||
},
|
||||
"status": {
|
||||
"enabled": "已启用",
|
||||
@@ -188,11 +188,29 @@ window.XBOARD_TRANSLATIONS['zh-CN'] = {
|
||||
"install": "安装",
|
||||
"config": "配置",
|
||||
"enable": "启用",
|
||||
"disable": "禁用"
|
||||
"disable": "禁用",
|
||||
"uninstall": "卸载"
|
||||
},
|
||||
"upload": {
|
||||
"button": "上传插件",
|
||||
"title": "上传插件",
|
||||
"description": "上传插件包 (.zip)",
|
||||
"dragText": "拖拽插件包到此处,或",
|
||||
"clickText": "浏览",
|
||||
"supportText": "仅支持 .zip 格式文件",
|
||||
"uploading": "上传中...",
|
||||
"error": {
|
||||
"format": "仅支持 .zip 格式文件"
|
||||
}
|
||||
},
|
||||
"delete": {
|
||||
"title": "删除插件",
|
||||
"description": "确定要删除此插件吗?此操作无法撤销。",
|
||||
"button": "删除"
|
||||
},
|
||||
"uninstall": {
|
||||
"title": "卸载插件",
|
||||
"description": "确定要卸载该插件吗?卸载后插件数据将被清除。",
|
||||
"description": "确定要卸载此插件吗?卸载后插件数据将被清除。",
|
||||
"button": "卸载"
|
||||
},
|
||||
"config": {
|
||||
@@ -213,7 +231,11 @@ window.XBOARD_TRANSLATIONS['zh-CN'] = {
|
||||
"disableError": "插件禁用失败",
|
||||
"configLoadError": "加载插件配置失败",
|
||||
"configSaveSuccess": "配置保存成功",
|
||||
"configSaveError": "配置保存失败"
|
||||
"configSaveError": "配置保存失败",
|
||||
"uploadSuccess": "插件上传成功",
|
||||
"uploadError": "插件上传失败",
|
||||
"deleteSuccess": "插件删除成功",
|
||||
"deleteError": "插件删除失败"
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
|
||||
Reference in New Issue
Block a user