Skip to content

Commit 65ccc8c

Browse files
Tiwasclaude
andcommitted
i18n: data-i18n attributes and t() helper in pair/repair forms
Wire up the pair edit_configuration and repair_configuration HTML to the locale system: data-i18n attributes on every static label, t() helper inside the IIFE, applyTranslations() on Homey ready, and t()-driven strings in all dynamically built HTML (anchor rows, profile editor, device cards, lux/solar detail blocks, save button states, error alerts). Solar event labels in the dropdown now resolve from pair.circadian_light_group.solar_event_* keys, falling back to English when a locale doesn't define them. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 2a86bd0 commit 65ccc8c

2 files changed

Lines changed: 203 additions & 161 deletions

File tree

0 commit comments

Comments
 (0)