Repository navigation
Add a Setup > Region toggle with Chinese language and input method - #9695
Closed
ZacharyZhang-NY wants to merge 1 commit into
Closed
ZacharyZhang-NY wants to merge 1 commit into
ZacharyZhang-NY wants to merge 1 commit into
Conversation
`omarchy region china` switches the system language to zh_CN, installs the Rime Ice input method through Andy Stewart's rime-ice-installer, makes Rime the default with Ctrl+Space as the toggle, and swaps the Omarchy menu to Chinese labels through the user-extension overlay; `omarchy region world` puts the language and menu back and leaves the input method installed. mergeMenuSources now only overrides the fields an extension declares, as docs/menu.md documents, which the label-only overlay needs. Co-authored-by: Andy Stewart <[email protected]>
|
注意下 ctrl+~ 这个快捷键,vscode 下有使用,但是 rime,fcitx 会占用 |
Contributor
Author
感谢提醒,我看一下 |
Collaborator
|
Closing this as superseded. What it set out to do has landed in a different shape:
It now conflicts with quattro in three places:
Two things here are still worth having:
Thank you @ZacharyZhang-NY. Please reopen if I've missed something this covers that quattro doesn't. Checked by Opus 5.5 in Claude Code against |
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.
Summary
Replaces #9548, whose head fork was deleted by accident.
Setup > Region toggles between World and China. China switches the system language to zh_CN, installs @manateelazycat's rime-ice-installer and runs it, makes Rime the active input method with Ctrl+Space as the toggle, and swaps the menu to Chinese labels. World puts the language and menu back and leaves the input method installed.
Also fixes
mergeMenuSourcesto only override the fields a user extension declares, asdocs/menu.mddocuments.Companion: omacom/omarchy-pkgs#265.
Test plan
region-test.sh(new): language, menu and input-method round-trips, idempotent re-applymenu-test.shandmenu-guards-test.sh./test/allat the clean-tree baseline