docs: simplify Chinese localization notes

This commit is contained in:
German Khokhlov committed 2026-10-22 22:29:24 +04:00
1 parent 1416266bcb
commit 2c3b364069
4 files changed
+9 -17

No files matched your search

+3 -5
View File
@@ -1,6 +1,4 @@
- Add Simplified Chinese (zh-CN) as an interface language, selectable from
the globe picker. The catalog builds on the Chinese translations by
@abiyeenzo (#914) and @EDIT-Aeterna (#979); the rest was translated and the
whole catalog reviewed against the screens. Chinese text gets tight tracking
and readable minimum sizes, and year-first dates read 2021年10月16日
- Add Simplified Chinese (zh-CN) to the language picker, with localized dates
and readable Chinese labels. Based on translations by @abiyeenzo (#914)
and @EDIT-Aeterna (#979).
(German, @gekh, #1298).
+2 -3
View File
@@ -3429,9 +3429,8 @@ Shipped locales: **en** (source and fallback), **es**, **ru** and **zh-CN**. The
value). English has no catalog; every other locale is
`src/i18n/locales/<code>.json`, and a missing entry falls back to English.
- **Locale choice.** `?lang=` → stored choice (`gev:locale:v1`) →
`navigator.languages` → English. Any `zh` tag maps to `zh-CN` except
Traditional ones (`Hant`, `TW`, `HK`, `MO`), which fall through until a
Traditional catalog ships. `?lang=` is not stored, and share links drop
`navigator.languages` → English. Chinese tags map to `zh-CN`; tags containing
`Hant`, `TW`, `HK` or `MO` are skipped. `?lang=` is not stored, and share links drop
it, so a recipient keeps their own language. The globe picker in the
bottom-right corner (`src/ui/localePicker.js`) stores the choice, drops
`?lang=` (keeps it only when storage is blocked) and reloads. It asks first
+1 -3
View File
@@ -2,9 +2,7 @@
Catalog: `src/i18n/locales/zh-CN.json`. General rules: [TRANSLATORS.md](../TRANSLATORS.md).
The catalog started from the Chinese locale by abiyeenzo (#914) and the
Simplified Chinese localization by EDIT-Aeterna (#979); the rest was translated
for the current English and reviewed against both.
Translation sources: abiyeenzo (#914) and EDIT-Aeterna (#979).
## Style
+3 -6
View File
@@ -1,7 +1,5 @@
/* Chinese text. The UI sets Latin capitals with wide tracking; Chinese set
that way falls apart into single glyphs, so its tracking stays tight. The
intel HUD readouts (codes, coordinates) and text kept in English on purpose
(translate="no", and whatever holds it) keep the Latin look. */
/* Tight tracking keeps Chinese labels readable; preserve Latin tracking for
intel HUD readouts and content marked translate="no", including its containers. */
html:lang(zh)
body
:not(
@@ -14,8 +12,7 @@ html:lang(zh)
letter-spacing: 0.02em !important;
}
/* Below about 9px a Chinese glyph blurs: lift the dock's voice labels and the
panel layer buttons to that floor. */
/* Keep small Chinese labels legible at a minimum of 9px. */
html:lang(zh) #command-dock .gev-mic-label,
html:lang(zh) #command-dock #gev-voice-detail,
html:lang(zh) .gev-voice-tier-btn,