adaptive-lighting/custom_components/adaptive_lighting/translations/af.json
Bas Nijholt f94fb6a85e
Split options flow into Basic and Advanced steps
Users have complained about the overwhelming number of options (28+)
in the configuration UI. This change splits the options into two steps:

**Basic Settings (9 options):**
- lights, min/max brightness, min/max color temp
- sleep brightness, sleep color temp, transition, interval

**Advanced Settings (20+ options):**
- All other options (sunrise/sunset times, offsets, brightness modes,
  take_over_control, detect_non_ha_changes, etc.)

The flow now works as:
1. User configures basic options
2. Menu appears: "Configure advanced options" or "Save and finish"
3. If advanced chosen, show advanced options form
4. Save combined options

Changes:
- Add BASIC_OPTIONS constant to const.py
- Refactor OptionsFlowHandler with async_step_init, async_step_advanced,
  async_step_finish methods
- Update strings.json with menu_options and advanced step
- Update all 34 translation files with translated menu/titles
- Update tests for multi-step flow

Note for Weblate: After merging, run "Rescan all translation files"
to pick up the new structure. Existing translations are preserved.
2025-11-27 13:45:25 -08:00

50 lines
2 KiB
JSON

{
"services": {
"apply": {
"description": "Pas die huidige Adaptive Lighting-instellings op ligte toe.",
"fields": {
"lights": {
"description": "'n Lig (of lys van ligte) om die instellings op toe te pas. 💡"
}
}
},
"change_switch_settings": {
"fields": {
"only_once": {
"description": "Pas ligte net aan wanneer hulle aangeskakel is (`true`) of hou aan om dit aan te pas (`false`)"
},
"sunrise_offset": {
"description": "Pas sonsopkomstyd aan met 'n positiewe of negatiewe afwyking in sekondes. ⏰"
},
"sunset_offset": {
"description": "Pas sonsondergangtyd aan met 'n positiewe of negatiewe afwyking in sekondes. ⏰"
}
}
}
},
"options": {
"step": {
"init": {
"title": "Aanpasbare beligting opsies",
"data": {},
"data_description": {},
"menu_options": {
"advanced": "Configure advanced options",
"finish": "Save and finish"
}
},
"advanced": {
"title": "Advanced Settings",
"description": "Configure advanced Adaptive Lighting options. Most users don't need to change these settings.",
"data": {
"adapt_only_on_bare_turn_on": "adapt_only_on_bare_turn_on: Wanneer ligte aanvanklik aangeskakel word. As dit op \"true\" gestel is, pas AL slegs aan as \"light.turn_on\" opgeroep word sonder om kleur of helderheid te spesifiseer. ❌🌈 Dit verhoed bv. aanpassing wanneer 'n toneel geaktiveer word. As `onwaar`, pas AL aan ongeag die teenwoordigheid van kleur of helderheid in die aanvanklike `diens_data`. Moet `oorname_beheer` geaktiveer moet word. 🕵️ "
},
"data_description": {
"sunrise_offset": "Pas sonsopkomstyd aan met 'n positiewe of negatiewe afwyking in sekondes. ⏰",
"sunset_offset": "Pas sonsondergangtyd aan met 'n positiewe of negatiewe afwyking in sekondes. ⏰"
}
}
}
},
"title": "Aanpasbare beligting"
}