Skip to content

Hoist all hardcoded strings to StringManager i18n and colors to SolarSystemModelsColors#2

Merged
veillette merged 1 commit into
mainfrom
claude/hoist-strings-colors-i18n-4h74u5
Jul 1, 2026
Merged

Hoist all hardcoded strings to StringManager i18n and colors to SolarSystemModelsColors#2
veillette merged 1 commit into
mainfrom
claude/hoist-strings-colors-i18n-4h74u5

Conversation

@veillette

Copy link
Copy Markdown
Contributor

Strings:

  • Add zodiac section (12 sign names) to all 3 locale JSON files (EN/FR/ES)
  • Add configurations.au, configurations.pausedFor to all locales
  • Expose getZodiacStrings() on StringManager
  • PtolemaicTimeReadout: use yearsStringProperty/daysStringProperty via Multilink
  • ConfigurationsTimeReadout: replace imperative string building with DerivedProperty
    composed from model properties + string properties; import DAYS_PER_YEAR from constants
  • ConfigurationsScreenView: include auStringProperty in orbit-label Multilink
  • PtolemaicScreenView, PtolemaicZodiacStrip, ConfigurationsZodiacStrip:
    replace hardcoded ZODIAC_SIGNS/SIGN_NAMES arrays with per-sign string properties

Colors (14 new ProfileColorProperty entries in SolarSystemModelsColors):

  • orbitAreaBackgroundColorProperty — dark sky behind both orbit diagrams
  • zodiacTickColorProperty — tick marks at sign boundaries
  • zodiacLabelColorProperty — zodiac sign labels (ring + strip)
  • zodiacBorderColorProperty — zodiac strip border (ConfigurationsZodiacStrip)
  • zodiacDividerColorProperty — divider lines between sign segments
  • constellationLineColorProperty — stick-figure lines in both ZodiacConstellationNode and ZodiacStrip
  • constellationStarColorProperty — star dot fills in ZodiacConstellationNode
  • sunOrbitReferenceColorProperty — faint reference circle in Ptolemaic view
  • timelineBackgroundColorProperty — ConfigurationsTimeline bg
  • timelineBorderColorProperty — ConfigurationsTimeline border
  • timelineEventColorProperty — event mark lines
  • timelineSelectedColorProperty — selected event highlight
  • timelineCursorColorProperty — time cursor line
  • timelineLabelColorProperty — event label text

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_016d5GzzgzLDv3mCVaG7C4BX

…SystemModelsColors

Strings:
- Add `zodiac` section (12 sign names) to all 3 locale JSON files (EN/FR/ES)
- Add `configurations.au`, `configurations.pausedFor` to all locales
- Expose `getZodiacStrings()` on StringManager
- PtolemaicTimeReadout: use `yearsStringProperty`/`daysStringProperty` via Multilink
- ConfigurationsTimeReadout: replace imperative string building with DerivedProperty
  composed from model properties + string properties; import DAYS_PER_YEAR from constants
- ConfigurationsScreenView: include `auStringProperty` in orbit-label Multilink
- PtolemaicScreenView, PtolemaicZodiacStrip, ConfigurationsZodiacStrip:
  replace hardcoded ZODIAC_SIGNS/SIGN_NAMES arrays with per-sign string properties

Colors (14 new ProfileColorProperty entries in SolarSystemModelsColors):
- `orbitAreaBackgroundColorProperty` — dark sky behind both orbit diagrams
- `zodiacTickColorProperty` — tick marks at sign boundaries
- `zodiacLabelColorProperty` — zodiac sign labels (ring + strip)
- `zodiacBorderColorProperty` — zodiac strip border (ConfigurationsZodiacStrip)
- `zodiacDividerColorProperty` — divider lines between sign segments
- `constellationLineColorProperty` — stick-figure lines in both ZodiacConstellationNode and ZodiacStrip
- `constellationStarColorProperty` — star dot fills in ZodiacConstellationNode
- `sunOrbitReferenceColorProperty` — faint reference circle in Ptolemaic view
- `timelineBackgroundColorProperty` — ConfigurationsTimeline bg
- `timelineBorderColorProperty` — ConfigurationsTimeline border
- `timelineEventColorProperty` — event mark lines
- `timelineSelectedColorProperty` — selected event highlight
- `timelineCursorColorProperty` — time cursor line
- `timelineLabelColorProperty` — event label text

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016d5GzzgzLDv3mCVaG7C4BX
@veillette veillette merged commit 1be378d into main Jul 1, 2026
4 of 6 checks passed
@veillette veillette deleted the claude/hoist-strings-colors-i18n-4h74u5 branch July 1, 2026 05:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants