Fix Toggle All button state, stop icons, and Disable tooltip
- Fix Toggle All button always showing Start: /picture-targets list
endpoint does not include processing state; now fetches
/picture-targets/{id}/state per-target in parallel in both
loadProfiles() and toggleProfileTargets()
- Replace pause icons (⏸) with stop icons (⏹) in dashboard
- Change profile automation toggle tooltip from 'Disabled' (status)
to 'Disable' (action); add profiles.action.disable i18n key
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -516,6 +516,7 @@
|
||||
"profiles.status.active": "Активен",
|
||||
"profiles.status.inactive": "Неактивен",
|
||||
"profiles.status.disabled": "Отключён",
|
||||
"profiles.action.disable": "Отключить",
|
||||
"profiles.last_activated": "Последняя активация",
|
||||
"profiles.logic.and": " И ",
|
||||
"profiles.logic.or": " ИЛИ ",
|
||||
@@ -525,6 +526,8 @@
|
||||
"profiles.created": "Профиль создан",
|
||||
"profiles.deleted": "Профиль удалён",
|
||||
"profiles.error.name_required": "Введите название",
|
||||
"profiles.toggle_all.start": "Запустить все цели",
|
||||
"profiles.toggle_all.stop": "Остановить все цели",
|
||||
"time.hours_minutes": "{h}ч {m}м",
|
||||
"time.minutes_seconds": "{m}м {s}с",
|
||||
"time.seconds": "{s}с",
|
||||
|
||||
Reference in New Issue
Block a user