Skip to content

Add Traditional Chinese (zh-Hant) resource file#1088

Open
tenyi wants to merge 3 commits into
codecadwallader:devfrom
tenyi:dev
Open

Add Traditional Chinese (zh-Hant) resource file#1088
tenyi wants to merge 3 commits into
codecadwallader:devfrom
tenyi:dev

Conversation

@tenyi

@tenyi tenyi commented Jun 23, 2026

Copy link
Copy Markdown
  1. Migrate test framework to xUnit.
  2. Fix critical bugs in cleanup logic.
  3. Add Traditional Chinese (zh-Hant) resource file.

tenyi added 3 commits June 23, 2026 11:04
…cleanup logic

[Testing]
- Migrate unit test framework from MSTest to xUnit
- Update NuGet packages and resolve corresponding test attributes

[Cleanup Logic Fixes]
- Add try-catch exception handling around COM DTE property assignments in InsertExplicitAccessModifierLogic
- Fix potential NullReferenceExceptions when accessing parent and child properties of DTE items
- Optimize performance by avoiding nested Undo transactions during bulk region removal
- Use Regex.Escape on using statements from user settings in UsingStatementCleanupLogic
- Implement thread-safe Lazy<EditorFactory> initialization in CodeCleanupAvailabilityLogic
- Wrap user-defined filters with try-catch to prevent crashes from malformed regex patterns
- Allow cleanup to continue instead of aborting when encountering asymmetric endregion directives
- Add CodeMaidShared/Properties/Resources.zh-Hant.resx cloned from Resources.zh-Hans.resx and translate all values to Taiwan Traditional Chinese (zh-TW), applying Taiwan-specific terminology
- Keep "Spade" tool name in English to match the existing zh-Hant CommandTable (CodeMaid.zh-Hant.vsct).
- Register Resources.zh-Hant.resx as an EmbeddedResource in CodeMaidShared.projitems, mirroring the existing zh-Hans entry so both VSIX targets (CodeMaid and CodeMaid.VS2022) pick it up.
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.

1 participant