Skip to content

加载语言项时优先使用后定义的语言项 - #30

Merged
walterlv merged 1 commit into
mainfrom
t/sewzc/reverse
Oct 11, 2025
Merged

加载语言项时优先使用后定义的语言项#30
walterlv merged 1 commit into
mainfrom
t/sewzc/reverse

Conversation

@SeWZC

@SeWZC SeWZC commented Oct 11, 2025

Copy link
Copy Markdown
Contributor

No description provided.

@SeWZC
SeWZC requested review from Copilot and walterlv October 11, 2025 06:32

Copilot AI left a comment

Copy link
Copy Markdown

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 modifies the localization item loading logic to prioritize later-defined language items over earlier ones by reversing the order before applying distinct operations.

Key Changes:

  • Added .Reverse() operation to prioritize later-defined localization items when duplicates exist

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

@walterlv
walterlv merged commit 578e644 into main Oct 11, 2025
3 checks passed
@walterlv
walterlv deleted the t/sewzc/reverse branch October 11, 2025 06:55
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.

3 participants