Skip to content

优化对无法识别的模组的提示#4659

Merged
Glavo merged 3 commits intoHMCL-dev:mainfrom
Glavo:mod-display
Oct 12, 2025
Merged

优化对无法识别的模组的提示#4659
Glavo merged 3 commits intoHMCL-dev:mainfrom
Glavo:mod-display

Conversation

@Glavo
Copy link
Copy Markdown
Member

@Glavo Glavo commented Oct 12, 2025

No description provided.

Copilot AI review requested due to automatic review settings October 12, 2025 12:47
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 the message display for unrecognized mods by adding specific localization for unknown mods. The main purpose is to provide better user feedback when HMCL encounters mods that cannot be properly identified or categorized.

Key changes:

  • Added localization strings for "Unknown Mod" in English, Simplified Chinese, and Traditional Chinese
  • Modified mod display logic to show "Unknown Mod" warning for mods with UNKNOWN loader type

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
I18N.properties Added English localization for unknown mod message
I18N_zh_CN.properties Added Simplified Chinese localization for unknown mod message
I18N_zh.properties Added Traditional Chinese localization for unknown mod message
ModListPageSkin.java Updated mod display logic to handle unknown mod type with specific warning

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

@Glavo Glavo merged commit f9a39f1 into HMCL-dev:main Oct 12, 2025
2 checks passed
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