-
Notifications
You must be signed in to change notification settings - Fork 566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: the UI language was incorrectly determined by "Region Format" #1298
Conversation
实际改动是
diff 看起来多好像是换行符 CRLF 纠正成了 LF |
有繁体香港这样的吗?会对应上SUBLANG_CHINESE_TRADITIONAL不? |
现在应该能对应上了,补充上了香港、澳门、新加坡的情况,中文一共有五种 |
langId = MAKELANGID(LANG_ENGLISH, SUBLANG_CHINESE_SIMPLIFIED); 是不是有typo? |
看到了,等下改 |
WeaselDeployer/WeaselDeployer.cpp
Outdated
int nCmdShow) { | ||
UNREFERENCED_PARAMETER(hPrevInstance); | ||
|
||
LANGID langId = GetUserDefaultUILanguage(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
這個看起來比之前的 GetUserDefaultLCID()
更合適,應該可以解決 #1299。
@fxliang 应该没问题了,测试了下分别 |
挺好 下一些脑洞, 也许可以让用户自定义界面语言 1,weaselsetup 加参数,比如/LS /LT /LE 只设置语言,在HKCU下写状态字符串比如CHT CHS ENG |
a4fc4fa
to
aa84abd
Compare
3, 改好了 自定义这个功能我动力不太足耶,还是留给有需求的人改吧🤣 |
这个后续集中一个commit 处理可能好点 |
Before
After