mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 19:26:36 +00:00
Fix backup time supporting-text (#23931)
This commit is contained in:
parent
543c7df3e0
commit
5feffd08ff
@ -251,25 +251,20 @@ class HaBackupConfigSchedule extends LitElement {
|
|||||||
>
|
>
|
||||||
<span slot="supporting-text">
|
<span slot="supporting-text">
|
||||||
${this.hass.localize(
|
${this.hass.localize(
|
||||||
"ui.panel.config.backup.schedule.schedule_time_description"
|
"ui.panel.config.backup.schedule.schedule_time_description",
|
||||||
|
{
|
||||||
|
time_range_start: formatTime(
|
||||||
|
DEFAULT_OPTIMIZED_BACKUP_START_TIME,
|
||||||
|
this.hass.locale,
|
||||||
|
this.hass.config
|
||||||
|
),
|
||||||
|
time_range_end: formatTime(
|
||||||
|
DEFAULT_OPTIMIZED_BACKUP_END_TIME,
|
||||||
|
this.hass.locale,
|
||||||
|
this.hass.config
|
||||||
|
),
|
||||||
|
}
|
||||||
)}
|
)}
|
||||||
${data.time_option === BackupScheduleTime.DEFAULT
|
|
||||||
? this.hass.localize(
|
|
||||||
"ui.panel.config.backup.schedule.schedule_time_optimal_description",
|
|
||||||
{
|
|
||||||
time_range_start: formatTime(
|
|
||||||
DEFAULT_OPTIMIZED_BACKUP_START_TIME,
|
|
||||||
this.hass.locale,
|
|
||||||
this.hass.config
|
|
||||||
),
|
|
||||||
time_range_end: formatTime(
|
|
||||||
DEFAULT_OPTIMIZED_BACKUP_END_TIME,
|
|
||||||
this.hass.locale,
|
|
||||||
this.hass.config
|
|
||||||
),
|
|
||||||
}
|
|
||||||
)
|
|
||||||
: nothing}
|
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<ha-md-select
|
<ha-md-select
|
||||||
|
@ -2442,8 +2442,7 @@
|
|||||||
"custom_time_label": "Backup at",
|
"custom_time_label": "Backup at",
|
||||||
"custom_time_description": "The optimal time is after Home Assistant finished cleaning up the database. This is done at {time}.",
|
"custom_time_description": "The optimal time is after Home Assistant finished cleaning up the database. This is done at {time}.",
|
||||||
"schedule_description": "How often you want to create a backup.",
|
"schedule_description": "How often you want to create a backup.",
|
||||||
"schedule_time_description": "When the backup creation starts.",
|
"schedule_time_description": "When the backup creation starts. By default Home Assistant picks the optimal time between {time_range_start} and {time_range_end}.",
|
||||||
"schedule_time_optimal_description": "By default Home Assistant picks the optimal time between {time_range_start} and {time_range_end}.",
|
|
||||||
"tip": "You can create your own custom backup automation with the {backup_create} action",
|
"tip": "You can create your own custom backup automation with the {backup_create} action",
|
||||||
"schedule_options": {
|
"schedule_options": {
|
||||||
"never": "Never",
|
"never": "Never",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user