5c4a16dc3a
添加从本地 Markdown 文件导入创建文章的功能,支持文件预览和自动发布选项 新增文章删除命令,支持选择性删除 Halo 文章或本地文件 添加标签和分类管理功能,支持创建、编辑和删除操作 更新国际化文案,支持新功能的多种语言界面 扩展服务层以支持文章导入、删除和标签分类管理 API 调用 更新插件版本至 2.1.1 并更新作者信息
235 lines
7.8 KiB
JSON
235 lines
7.8 KiB
JSON
{
|
|
"ribbon_icon": {
|
|
"publish": "Publish current document to Halo"
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"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"
|
|
}
|
|
} |