fix(ui&locale): optimize the create offline account dialog (#3695)

- Adjust lblErrorMessage for invalid username to avoid ui truncation
- Improve the wording of warnings
This commit is contained in:
3gf8jv4dv
2025-03-05 16:05:02 +08:00
committed by GitHub
parent 78a5ade35a
commit d523ccd312
6 changed files with 19 additions and 10 deletions

View File

@@ -137,9 +137,12 @@ account.methods.microsoft.snapshot=你正在使用第三方提供的 HMCL
account.methods.microsoft.snapshot.website=官方网站
account.methods.offline=离线模式
account.methods.offline.name.special_characters=建议使用英文字符、数字以及下划线命名
account.methods.offline.name.invalid=游戏用户名通常仅允许使用英文字母、数字及下划线,且长度不超过 16 个字符。\n\
account.methods.offline.name.invalid.tip=游戏用户名建议仅使用英文字母、数字及下划线,且长度不超过 16 个字符。
account.methods.offline.name.invalid=游戏用户名建议仅使用英文字母、数字及下划线,且长度不超过 16 个字符。\n\
\n\
\ · 一些合法用户名HuangYu、huang_Yu、Huang_Yu_123\n\
\ · 一些非法用户名黄鱼、Huang Yu、Huang-Yu_%%%、Huang_Yu_hello_world_hello_world。\n\
\n\
如果你相信服务端有相应模组或插件解除此限制,可以忽略本警告。\n\
如遇到问题,你可以点击右上角帮助按钮进行求助。
account.methods.offline.uuid=UUID