mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-26 02:36:37 +00:00
Various minor tweaks (#14588)
This commit is contained in:
parent
a941ed4f90
commit
69d16ab9b4
@ -31,8 +31,8 @@ class ConfirmEventDialogBox extends LitElement {
|
|||||||
return html`
|
return html`
|
||||||
<ha-dialog
|
<ha-dialog
|
||||||
open
|
open
|
||||||
?scrimClickAction="true"
|
scrimClickAction
|
||||||
?escapeKeyAction="true"
|
escapeKeyAction
|
||||||
@closed=${this._dialogClosed}
|
@closed=${this._dialogClosed}
|
||||||
defaultAction="ignore"
|
defaultAction="ignore"
|
||||||
.heading=${this._params.title}
|
.heading=${this._params.title}
|
||||||
|
@ -238,7 +238,8 @@ class DialogCalendarEventEditor extends LitElement {
|
|||||||
${this.hass.localize("ui.components.calendar.event.add")}
|
${this.hass.localize("ui.components.calendar.event.add")}
|
||||||
</mwc-button>
|
</mwc-button>
|
||||||
`
|
`
|
||||||
: html` <mwc-button
|
: html`
|
||||||
|
<mwc-button
|
||||||
slot="primaryAction"
|
slot="primaryAction"
|
||||||
@click=${this._saveEvent}
|
@click=${this._saveEvent}
|
||||||
.disabled=${this._submitting}
|
.disabled=${this._submitting}
|
||||||
@ -258,7 +259,8 @@ class DialogCalendarEventEditor extends LitElement {
|
|||||||
)}
|
)}
|
||||||
</mwc-button>
|
</mwc-button>
|
||||||
`
|
`
|
||||||
: ""}`}
|
: ""}
|
||||||
|
`}
|
||||||
</ha-dialog>
|
</ha-dialog>
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
@ -634,7 +634,7 @@
|
|||||||
"label": "Calendar",
|
"label": "Calendar",
|
||||||
"my_calendars": "My Calendars",
|
"my_calendars": "My Calendars",
|
||||||
"today": "Today",
|
"today": "Today",
|
||||||
"event_retrieval_error": "Could not retrieve events for calendars: ",
|
"event_retrieval_error": "Could not retrieve events for calendars:",
|
||||||
"event": {
|
"event": {
|
||||||
"add": "Add Event",
|
"add": "Add Event",
|
||||||
"delete": "Delete Event",
|
"delete": "Delete Event",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user