mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
i18n: Simplified Chinese translates status-bar and error messages
The Simplified Chinese catalog had 20 `@msg` rows, against 714 to 718 in each catalog listed in COMPLETE_MESSAGES, so with the interface in Simplified Chinese most status-bar and error messages showed in English. - zh-hans.tsv gains the 694 missing `@msg` rows in one block with a header comment on its conventions: no final 。 unless the English ends with a period, a space between Chinese and adjacent Latin text, numbers or placeholders, and 、 between list items. The rows use the catalog's existing terms (画板, 图稿, 编组, 描边, 色板, 实时上色, 图像描摹, 增效工具 ...). - zh-hans joins COMPLETE_MESSAGES, so complete_languages_translate_every_message and the narrower message tests fail when a zh-hans message row is missing, and a new message needs a zh-hans row. - The registry comment, docs/development.md (which also gains Greek, already in COMPLETE_MESSAGES), the zh-hans row of docs/localization-parity.md, and the interface-languages line of docs/target-app-parity.md (which also gains Czech, Greek, Hungarian, Swedish and Finnish) list Simplified Chinese among the languages that translate messages.
This commit is contained in:
@@ -24,7 +24,7 @@ Chinese by `imachus`). None is recorded as reviewed by a native speaker; the cat
|
||||
| Language | Code | UI strings translated | Dialogs / tooltips / messages | Script support | Native review | Status | To `full` (h) |
|
||||
|---|---|---|---|---|---|---|---|
|
||||
| English | `en` | source, 100% | all | Latin | — | full | — |
|
||||
| Simplified Chinese (Mandarin) | `zh-hans` | 3,647 rows; menus, panels, dialogs complete (tests); 85% overall | messages in English (1 of 604) | CJK UI font from craft-fonts (BIZ UDPGothic) when embedded, else a system font; IME with marked text at the caret; vertical type partial ([type-parity.md](type-parity.md)) | no | partial | 2–3 |
|
||||
| Simplified Chinese (Mandarin) | `zh-hans` | 4,761 rows, 714 of them `@msg` (counted 2026-10-16): menus, `tl!` literals and messages complete (tests) | all | CJK UI font from craft-fonts (BIZ UDPGothic) when embedded, else a system font; IME with marked text at the caret; vertical type partial ([type-parity.md](type-parity.md)) | no | full | — (review) |
|
||||
| Spanish | `es` | 4,009 / 4,020 (99.7%) | all (604 messages) | Latin | no | full | — (review) |
|
||||
| Hindi | `hi` | 0 | none | Devanagari: the document's text shapes (HarfRust), with tests of conjuncts, reph, pre-base matras, nukta forms and caret stops that run when an OpenType Devanagari font is installed, but the egui interface does no complex shaping | no | none | 20–30 |
|
||||
| Arabic | `ar` | 0 | none | document text: bidi layout and Paragraph Direction; interface: no right-to-left layout, no Arabic shaping in egui | no | none | 25–40 |
|
||||
|
||||
Reference in New Issue
Block a user