Open
Conversation
Member
|
可以在一个页面中同时展示中文警告和英文警告。 |
Contributor
Author
|
CC @3gf8jv4dv 需检查本地化文本 |
3gf8jv4dv
suggested changes
Feb 12, 2026
HMCLBoot/src/main/resources/assets/lang/boot_zh_Hant.properties
Outdated
Show resolved
Hide resolved
Contributor
Author
3gf8jv4dv
suggested changes
Feb 13, 2026
Contributor
3gf8jv4dv
left a comment
There was a problem hiding this comment.
一些系统的中文环境下 (如 Ubuntu 系) 使用的字体,会把弯引号渲染为一个汉字的宽度。这时候再在两边加空格,看起来不美观。
HMCLBoot/src/main/resources/assets/lang/boot_zh_Hant.properties
Outdated
Show resolved
Hide resolved
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



效果:

为何?
在 HMCL 官网,横幅提示内容对于一些不清楚自己正在使用什么操作系统的用户可能具有一定的误导性,他们可能会优先下载 EXE 版本的 HMCL。如果用户并没有使用 Windows,恰好系统中已经安装了 Wine,Wine 又已经安装好了 Java,那将对用户体验造成严重影响,此 PR 旨在提示用户
提示信息未经过本地化,因为经过测试,Wine 中即便安装了中文字体,弹窗依旧有可能无法正确显示中文使用同时显示双语方案解决