feat(sync): 添加同步状态面板和历史功能
- 创建同步状态面板视图,显示已发布文章列表和快速操作按钮 - 添加同步历史弹窗,记录和展示同步操作记录 - 在侧边栏添加同步图标,支持快速打开面板 - 更新国际化文件,添加中英文同步相关文案 - 编写详细的使用指南文档,说明所有功能使用方法 - 更新插件主程序,注册新命令和视图
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"ribbon_icon": {
|
||||
"publish": "Publish current document to Halo"
|
||||
"publish": "Publish current document to Halo",
|
||||
"sync_status": "Sync Status Panel"
|
||||
},
|
||||
"command": {
|
||||
"publish": {
|
||||
@@ -44,6 +45,9 @@
|
||||
"name": "Export as Markdown",
|
||||
"error_not_published": "This document is not published to Halo"
|
||||
},
|
||||
"open_sync_panel": {
|
||||
"name": "Open Sync Status Panel"
|
||||
},
|
||||
"export_json": {
|
||||
"name": "Export as JSON",
|
||||
"error_not_published": "This document is not published to Halo"
|
||||
@@ -249,6 +253,27 @@
|
||||
"error_export_failed": "Export failed",
|
||||
"notice_export_success": "Exported to file: {fileName}"
|
||||
},
|
||||
"sync_panel": {
|
||||
"title": "Sync Status",
|
||||
"button_refresh": "Refresh",
|
||||
"button_history": "History",
|
||||
"button_clear_history": "Clear History",
|
||||
"button_update": "Update",
|
||||
"button_pull": "Pull",
|
||||
"empty": "No published posts yet",
|
||||
"total_posts": "Total {count} posts"
|
||||
},
|
||||
"sync_history": {
|
||||
"title": "Sync History",
|
||||
"empty": "No sync records",
|
||||
"stats": "Total {total} records, {success} successful",
|
||||
"action_publish": "Publish",
|
||||
"action_update": "Update",
|
||||
"action_pull": "Pull",
|
||||
"action_delete": "Delete",
|
||||
"confirm_clear": "Are you sure you want to clear all sync history?",
|
||||
"notice_cleared": "History cleared"
|
||||
},
|
||||
"common": {
|
||||
"error_connection_failed": "Connection failed",
|
||||
"button_close": "Close",
|
||||
|
||||
Reference in New Issue
Block a user