[2040] 补充语言切换qml弹窗和 later 统一 silent 写值#4047
Merged
Merged
Conversation
- set-language-and-notify 改走 confirm-restart-and-act(重启/稍后/取消),取消回滚旧语言 - restart-preference-title 从 preferences-widgets 移到 preferences-menu 并改为 tm-define 导出,新增 language 分支(消除 widgets→menu 反向依赖) - 删除无调用方的 restart-required-message 及其字典条目 Requires restarting ... Restart now? - 字典新增 switch language 翻译
- confirm-restart-and-act 加可选第 4 参 later-proc(缺省=apply-proc),later 走它 - set-language-and-notify 传 later-proc = cpp-set-preference + save-preferences: 写值存盘但跳过 notify-language 实时切换,下次启动读 preference 生效 - restart 落定新语言(实时切)+ 存盘 + 重启;cancel 回滚
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.
No description provided.