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 02:56:40 -04:00
1 parent defbf90e89
commit a9b39710a2
138 files changed
+1986 -558

No files matched your search

+3 -3
View File
@@ -335,8 +335,8 @@ Panel {
}
// No full stop: a period hanging off the arc reads as a speck.
readonly property string hereLine: "It's " + localTime + " here"
+ (homeCity !== "" ? " in " + homeCity : "")
readonly property string hereLine: I18n.tr("It's %1 here", localTime)
+ (homeCity !== "" ? I18n.tr(" in %1", homeCity) : "")
+ (scrubLabel !== "" ? " " + scrubLabel : "")
// A capital's line box has empty space above it; the row's top pad drops by it.
@@ -715,7 +715,7 @@ Panel {
bar: root.bar
slotSize: Style.bar.statusSlot
text: "󰇧"
tooltipText: "World clock"
tooltipText: I18n.tr("World clock")
onPressed: function(buttonCode) {
if (buttonCode === Qt.RightButton || buttonCode === Qt.MiddleButton) root.refresh()
else root.toggle()