Files
Obsidian/obsidian-halo/src/i18n/locales/en.json
T
Serendipity 9b4530555f feat(sync): 添加同步状态面板和历史功能
- 创建同步状态面板视图,显示已发布文章列表和快速操作按钮
- 添加同步历史弹窗,记录和展示同步操作记录
- 在侧边栏添加同步图标,支持快速打开面板
- 更新国际化文件,添加中英文同步相关文案
- 编写详细的使用指南文档,说明所有功能使用方法
- 更新插件主程序,注册新命令和视图
2026-04-26 18:34:29 +08:00

286 lines
9.4 KiB
JSON

{
"ribbon_icon": {
"publish": "Publish current document to Halo",
"sync_status": "Sync Status Panel"
},
"command": {
"publish": {
"name": "Publish to Halo",
"error_no_matched_site": "The site this document publishes to is not configured"
},
"publish_with_defaults": {
"name": "Publish to Halo (use default settings)",
"error_no_default_site": "Please configure the default site first"
},
"update_post": {
"name": "Update content from Halo",
"error_not_published": "This document is not published to Halo yet",
"error_no_matched_site": "The site this document publishes to is not configured",
"success": "Updated"
},
"pull_post": {
"name": "Pull posts from Halo",
"error_no_sites": "Please configure sites first"
},
"list_posts": {
"name": "View Halo posts list"
},
"delete_post": {
"name": "Delete Halo post",
"error_not_published": "This document is not published to Halo yet"
},
"import_markdown": {
"name": "Import from Markdown file"
},
"manage_tags": {
"name": "Manage tags"
},
"manage_categories": {
"name": "Manage categories"
},
"search_posts": {
"name": "Search Halo posts"
},
"export_markdown": {
"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"
}
},
"settings": {
"title": "Halo publishing settings",
"site": {
"name": "Halo sites",
"description": "Halo site management, supports multiple sites",
"actions": {
"open": "Open"
}
},
"publishByDefault": {
"name": "Publish post by default",
"description": "After checking, the first post created will be published directly"
},
"imageUpload": {
"title": "Image Upload Settings",
"enabled": {
"name": "Enable image upload",
"description": "Automatically upload local images to Halo when publishing"
},
"uploadPath": {
"name": "Upload path",
"description": "Media path for uploading images to Halo, leave empty for root directory"
},
"preserveOriginal": {
"name": "Preserve original path",
"description": "Also keep local image path as fallback"
}
}
},
"post_selection_modal": {
"title": "Pull posts from Halo",
"button_pull": "Pull",
"button_view": "View",
"filter_all": "All",
"filter_published": "Published",
"filter_draft": "Draft",
"status_published": "Published",
"status_draft": "Draft",
"total_items": "posts",
"button_prev": "Previous",
"button_next": "Next",
"untitled": "Untitled",
"empty": "No posts found"
},
"post_list_modal": {
"title": "Halo Posts List",
"button_pull": "Pull",
"button_view": "View",
"button_edit": "Edit",
"button_delete": "Delete",
"filter_all": "All",
"filter_published": "Published",
"filter_draft": "Draft",
"status_published": "Published",
"status_draft": "Draft",
"total_items": "posts",
"button_prev": "Previous",
"button_next": "Next",
"untitled": "Untitled",
"empty": "No posts found",
"confirm_delete": "Confirm Delete",
"confirm_delete_message": "Are you sure you want to delete the post \"{title}\"? This action cannot be undone."
},
"post_delete_modal": {
"title": "Delete Post",
"message": "Are you sure you want to delete the post \"{title}\"?",
"message_halo_only": "Only delete the post on Halo, keep local file",
"message_local_only": "Only delete local file, keep Halo post",
"message_both": "Delete both Halo post and local file",
"button_delete_halo": "Delete Halo only",
"button_delete_local": "Delete local only",
"button_delete_both": "Delete both",
"success": "Post deleted",
"error_failed": "Delete failed",
"error_no_option_selected": "Please select at least one delete option"
},
"site_editing_modal": {
"title": "Halo site",
"settings": {
"name": {
"name": "Site name",
"description": "Halo site name"
},
"url": {
"name": "Site URL",
"description": "Halo site URL"
},
"token": {
"name": "Personal Access Token",
"description": "Can be created in user profile, need permissions for managing posts"
},
"default": {
"name": "Set as default",
"description": "Set as default publishing site"
},
"validate": {
"button": "Validate",
"button_validating": "Validating...",
"notice_validated": "Validation succeeded",
"error_no_permissions": "Current account has no permissions for managing posts"
},
"save": {
"button": "Save"
}
}
},
"site_selection_modal": {
"title": "Choose a Halo site",
"button_choose": "Choose"
},
"sites_modal": {
"title": "Halo sites",
"actions": {
"set_default": "Set as default",
"edit": "Edit",
"add": "Add"
}
},
"service": {
"error_site_not_match": "Site URL does not match",
"error_publish_failed": "Publishing failed, please retry",
"notice_publish_success": "Published successfully",
"error_not_published": "This document is not published to Halo yet",
"error_post_not_found": "Post does not exist",
"image_upload_success": "Image uploaded successfully",
"image_upload_failed": "Image upload failed",
"image_uploading": "Uploading image...",
"error_delete_failed": "Failed to delete post",
"error_import_failed": "Failed to import post",
"notice_import_success": "Imported successfully",
"notice_delete_success": "Deleted successfully"
},
"file_preview_modal": {
"title": "File Preview",
"frontmatter": "Frontmatter Metadata",
"content_preview": "Content Preview",
"publish_immediately": "Publish immediately after import",
"publish_immediately_desc": "If checked, the created post will be published directly",
"button_import": "Import",
"error_file_not_in_vault": "File is not in the vault"
},
"tag_manager_modal": {
"title": "Tag Manager",
"button_create": "Create Tag",
"loading": "Loading...",
"empty": "No tags",
"column_name": "Name",
"column_slug": "Slug",
"column_color": "Color",
"column_actions": "Actions",
"button_edit": "Edit",
"button_delete": "Delete",
"prompt_name": "Enter tag name:",
"prompt_slug": "Enter tag slug:",
"prompt_color": "Enter tag color (hex):",
"notice_create_success": "Tag created successfully",
"error_create_failed": "Failed to create tag",
"notice_update_success": "Tag updated successfully",
"error_update_failed": "Failed to update tag",
"confirm_delete": "Are you sure you want to delete tag \"{name}\"?",
"notice_delete_success": "Tag deleted successfully",
"error_delete_failed": "Failed to delete tag"
},
"category_manager_modal": {
"title": "Category Manager",
"button_create": "Create Category",
"loading": "Loading...",
"empty": "No categories",
"column_name": "Name",
"column_slug": "Slug",
"column_priority": "Priority",
"column_actions": "Actions",
"button_edit": "Edit",
"button_delete": "Delete",
"prompt_name": "Enter category name:",
"prompt_slug": "Enter category slug:",
"prompt_priority": "Enter category priority:",
"notice_create_success": "Category created successfully",
"error_create_failed": "Failed to create category",
"notice_update_success": "Category updated successfully",
"error_update_failed": "Failed to update category",
"confirm_delete": "Are you sure you want to delete category \"{name}\"?",
"notice_delete_success": "Category deleted successfully",
"error_delete_failed": "Failed to delete category"
},
"search_modal": {
"title": "Search Halo Posts",
"search_placeholder": "Enter keywords to search...",
"loading": "Loading...",
"no_results": "No matching posts found",
"result_count": "Found {count} posts",
"button_view": "View",
"button_export_md": "Export MD",
"button_export_json": "Export JSON"
},
"export": {
"error_no_content": "Unable to get post content",
"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",
"button_cancel": "Cancel",
"button_confirm": "Confirm",
"button_delete": "Delete",
"button_import": "Import",
"error_no_active_editor": "No file is open"
}
}