Commit Graph

6 Commits

Author SHA1 Message Date
ApsisRS contributors 4ac50e98d7 docs: bilingual module docs for the foundation layer 2026-10-02 01:45:27 +08:00
ApsisRS contributors d9a934128a docs: start the bilingual sweep with the foundation layer
apsis-units and apsis-core are done, 86 of 180 comment blocks in the
layer. The checker in scripts/check-bilingual.py reports which blocks still
lack Chinese, and also catches the two mistakes that are easy to make while
adding a language: a mangled byte sequence, and an English word left inside
a Chinese sentence, which is what happened once in quantity.rs and is now
caught mechanically.

Translations keep terms that have a standard Chinese name in Chinese and
leave proper nouns, abbreviations and method names in English, as the
glossary sets out. The English text is never reworded.
2026-10-02 00:28:22 +08:00
ApsisRS contributors 26ee3d72e9 docs: correct the core error claim and record the error strategy
apsis-core described Error and Result as the workspace's single error
surface, but no crate uses them: every layer with a domain specific failure
defines its own Error and ErrorKind, whose variants name the concrete
conditions a caller matches on. Correct the doc comment and record the
strategy, including the Option versus Result split and the tolerance
conventions.
2026-09-26 23:29:25 +08:00
ApsisRS contributors a053e2ee71 foundation: move apsis-core tests into tests directory 2026-09-26 13:01:58 +08:00
ApsisRS contributors c08fcd0f90 foundation: add error trait, result alias, constants, and unit trait 2026-09-26 12:53:54 +08:00
ApsisRS contributors d3afe86dfc workspace: initialize workspace with all layer crates 2026-09-26 12:53:13 +08:00