mirror of
https://github.com/jpawlowski/hass.tibber_prices.git
synced 2026-03-29 21:03:40 +00:00
Unified enum representation across all translation files and improved consistency of localization patterns. Key changes: - Replaced uppercase enum constants (VERY_CHEAP, LOW, RISING) with localized lowercase values (sehr günstig, niedrig, steigend) across all languages in both translations/ and custom_translations/ - Removed **bold** markdown from sensor attributes (custom_translations/) as it doesn't render in extra_state_attributes UI - Preserved **bold** in Config Flow descriptions (translations/) where markdown is properly rendered - Corrected German formality: "Sie" → "du" throughout all descriptions - Completed missing Config Flow translations in Dutch, Swedish, and Norwegian (~45 fields: period_settings, flexibility_settings, relaxation_and_target_periods sections) - Fixed chart_data_export and chart_metadata sensor classification (moved from binary_sensor to sensor as they are ENUM type) - Corrected sensor placement in custom_translations/ (all 5 languages) Files changed: 10 (5 translations/ + 5 custom_translations/) Lines: +203, -222 Impact: All 5 languages now use consistent, properly formatted localized enum values. Config Flow UI displays correctly formatted examples with bold highlighting. Sensor attributes show clean text without raw markdown syntax. German uses informal "du" tone throughout. |
||
|---|---|---|
| .. | ||
| tibber_prices | ||