Skip to content

修复颠倒英语中括号显示错误的问题#4631

Merged
Glavo merged 1 commit intoHMCL-dev:mainfrom
Glavo:qabs
Oct 9, 2025
Merged

修复颠倒英语中括号显示错误的问题#4631
Glavo merged 1 commit intoHMCL-dev:mainfrom
Glavo:qabs

Conversation

@Glavo
Copy link
Copy Markdown
Member

@Glavo Glavo commented Oct 8, 2025

No description provided.

Copilot AI review requested due to automatic review settings October 8, 2025 07:06
Copy link
Copy Markdown
Contributor

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 optimizes upside down English support by refactoring code to use a utility method and adding additional character mappings for brackets and parentheses.

  • Refactored properties loading to use a utility method instead of inline code
  • Added character mappings for parentheses, square brackets, and curly braces to the upside down translation table

Reviewed Changes

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

File Description
UpsideDownTranslate.java Simplified properties loading by using PropertiesUtils.load() utility method
upside_down.txt Extended character mapping table with bracket and parentheses translations

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

@Glavo Glavo changed the title 优化颠倒英语支持 修复颠倒英语中括号显示错误的问题 Oct 8, 2025
@Glavo Glavo merged commit 08f6f97 into HMCL-dev:main Oct 9, 2025
2 checks passed
@Glavo Glavo deleted the qabs branch October 9, 2025 07:19
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