Add Simplified Chinese as a system language

The installer asks for the language before the keyboard, and
Setup > Language (omarchy language en|zh) switches it later. Under
zh_CN the menu reads its labels from omarchy-menu.zh-cn.jsonc, the
shell from I18nZh.js through I18n.tr, and notifications are worded
by their sender through omarchy-text, which reads the same table.
User text is never translated.
This commit is contained in:
ZacharyZhang-NY committed 2026-10-12 01:17:26 -04:00
1 parent 9480d1b6a9
commit 770d738948
140 files changed
+2012 -566

No files matched your search

+5
View File
@@ -40,6 +40,11 @@ run omarchy-hyprland-corners theme
[[ ! -e $toggles_dir/corners-sharp.lua ]] || fail "theme corners drop the override"
pass "theme corners drop the override"
LANG=zh_CN.UTF-8 run omarchy-hyprland-corners sharp
grep -qx 'omarchy-notification-send -g 󰘇 所有主题使用直角' "$tmpdir/commands.log" || fail "a Chinese session announces the corners in Chinese" "$(<"$tmpdir/commands.log")"
run omarchy-hyprland-corners theme
pass "a Chinese session announces the corners in Chinese"
if run omarchy-hyprland-corners square 2>/dev/null; then
fail "unknown corners are refused"
fi