Skip to content

Add AutoTranslatorState.PluginInitialized and PluginInitializationCompleted#771

Merged
ManlyMarco merged 1 commit intomasterfrom
AutoTranslatorStateInitialized
Oct 14, 2025
Merged

Add AutoTranslatorState.PluginInitialized and PluginInitializationCompleted#771
ManlyMarco merged 1 commit intomasterfrom
AutoTranslatorStateInitialized

Conversation

@ManlyMarco
Copy link
Copy Markdown
Collaborator

No description provided.

@ManlyMarco ManlyMarco requested a review from Copilot October 13, 2025 21:43
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds plugin initialization state tracking to the AutoTranslator by introducing a new property and event to signal when initialization is complete.

  • Adds PluginInitialized property to track initialization state
  • Adds PluginInitializationCompleted event for external subscribers
  • Implements initialization completion signaling in the main plugin

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
AutoTranslatorState.cs Adds initialization state tracking with property, event, and completion handler
AutoTranslationPlugin.cs Calls the initialization completion handler at the end of plugin initialization

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@ManlyMarco ManlyMarco merged commit 243d602 into master Oct 14, 2025
@ManlyMarco ManlyMarco deleted the AutoTranslatorStateInitialized branch October 14, 2025 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants