mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-20 07:46:37 +00:00
Unify default dashboard name (#10254)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
parent
816d5ee594
commit
ec47e320d2
@ -43,7 +43,11 @@ class HaPickDashboardRow extends LitElement {
|
|||||||
@iron-select=${this._dashboardChanged}
|
@iron-select=${this._dashboardChanged}
|
||||||
attr-for-selected="url-path"
|
attr-for-selected="url-path"
|
||||||
>
|
>
|
||||||
<paper-item url-path="lovelace">default</paper-item>
|
<paper-item url-path="lovelace"
|
||||||
|
>${this.hass.localize(
|
||||||
|
"ui.panel.profile.dashboard.default_dashboard_label"
|
||||||
|
)}</paper-item
|
||||||
|
>
|
||||||
${this._dashboards.map((dashboard) => {
|
${this._dashboards.map((dashboard) => {
|
||||||
if (!this.hass.user!.is_admin && dashboard.require_admin) {
|
if (!this.hass.user!.is_admin && dashboard.require_admin) {
|
||||||
return "";
|
return "";
|
||||||
|
@ -1288,7 +1288,7 @@
|
|||||||
"confirm_delete_title": "Delete {dashboard_title}?",
|
"confirm_delete_title": "Delete {dashboard_title}?",
|
||||||
"confirm_delete_text": "Your dashboard will be permanently deleted.",
|
"confirm_delete_text": "Your dashboard will be permanently deleted.",
|
||||||
"cant_edit_yaml": "Dashboards defined in YAML cannot be edited from the UI. Change them in configuration.yaml.",
|
"cant_edit_yaml": "Dashboards defined in YAML cannot be edited from the UI. Change them in configuration.yaml.",
|
||||||
"cant_edit_default": "The standard Lovelace dashboard cannot be edited from the UI. You can hide it by setting another dashboard as default.",
|
"cant_edit_default": "The default Lovelace dashboard, Overview, cannot be edited from the UI. You can hide it by setting another dashboard as default.",
|
||||||
"detail": {
|
"detail": {
|
||||||
"edit_dashboard": "Edit dashboard",
|
"edit_dashboard": "Edit dashboard",
|
||||||
"new_dashboard": "Add new dashboard",
|
"new_dashboard": "Add new dashboard",
|
||||||
@ -3592,7 +3592,8 @@
|
|||||||
"dashboard": {
|
"dashboard": {
|
||||||
"header": "Dashboard",
|
"header": "Dashboard",
|
||||||
"description": "Pick a default dashboard for this device.",
|
"description": "Pick a default dashboard for this device.",
|
||||||
"dropdown_label": "Dashboard"
|
"dropdown_label": "Dashboard",
|
||||||
|
"default_dashboard_label": "Overview (default)"
|
||||||
},
|
},
|
||||||
"change_password": {
|
"change_password": {
|
||||||
"header": "Change Password",
|
"header": "Change Password",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user