Skip to content

Commit a990f4d

Browse files
committed
docs(bodygraph): the hexagram note states what the field is, not what it once was
1 parent 08dc824 commit a990f4d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/ui/src/components/bodygraph.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -673,9 +673,9 @@ export class RoxyBodygraph extends RoxyDataElement<Bodygraph> {
673673
: nothing
674674
}
675675
${
676-
// The hexagram field is literally named `english` and the API returns
677-
// it English in every language, so it prints as sent rather than being
678-
// looked up somewhere else.
676+
// The hexagram name arrives already in the response language and is
677+
// display text only (the machine key is `number`), so it prints as
678+
// sent rather than being looked up somewhere else.
679679
hex?.number
680680
? html`<p class="footnote">${this.t('I Ching hexagram {{number}}', { number: hex.number })}${hex.english ? `, ${hex.english}` : ''}</p>`
681681
: nothing

0 commit comments

Comments
 (0)