Commit cb61bee
committed
feat(i18n,charts): a Spanish chart said Carta natal above Sun and Pisces, and the glyph table had been keyed on a spelling the API never sends
Chrome, vocabulary and formatting now all follow the page rather than the
viewer. resolveLang implements the documented four-link chain and keeps the
full BCP-47 tag for Intl, while apiLang strips the region and omits
unsupported languages, because lang=es-AR is a 400. Catalogues are one locale
per payload in all seven languages, 66 keys, key-parity guarded so a new
chrome string cannot be added to one language and forgotten in six. English
ships no catalogue at all.
Components consume the API's additive {identifier}Localized fields for text a
human reads, and keep the canonical English for every glyph, sign-order and
aspect-class lookup. Inverting that draws a chart with no glyphs on it, in
Spanish only, and passes every other gate; a sabotage-proved test now pins it.
roxy-data folds each localized twin into the field it translates, so the
generic renderer gains no duplicate columns from the API change.
Fixes the lookup table itself: PLANET_GLYPH was keyed North node against an
API returning North Node, and the slice fallback rendered the miss as a
plausible two-letter abbreviation, so No North Node R reached a customer
screenshot after passing 603 tests, axe and review. Accessors normalise on
define and read, return undefined, and a test walks every enum the spec emits.
transit-wheel draws House columns, names its house system, and takes a houses
prop for a real cusp ring, rejected whole unless twelve resolve. Deletes four
docblock and legend claims that the API returned house 1 for every body, which
stopped being true when the house computation shipped. Removes house-system
from natal-chart and mode from hexagram: both were declared, typed into the
React and Vue wrappers, and never read.1 parent aa84063 commit cb61bee
328 files changed
Lines changed: 5644 additions & 1072 deletions
File tree
- apps/docs
- assets
- previews
- screenshots
- packages
- ui-react/src/components
- ui-vue/src/components
- ui
- src
- components
- generated
- i18n
- locales
- tokens
- utils
- tests
- e2e
- scripts
- specs
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
525 | | - | |
| 525 | + | |
526 | 526 | | |
527 | 527 | | |
528 | 528 | | |
| |||
531 | 531 | | |
532 | 532 | | |
533 | 533 | | |
534 | | - | |
| 534 | + | |
535 | 535 | | |
536 | | - | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
537 | 561 | | |
538 | 562 | | |
539 | 563 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
764 | 764 | | |
765 | 765 | | |
766 | 766 | | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
767 | 793 | | |
768 | 794 | | |
769 | 795 | | |
| |||
0 commit comments