mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-22 08:46:35 +00:00
Stop appending 'Configuration' to the end of every config page in navigation commands. Fix spinner regression (#7753)
This commit is contained in:
parent
e7e192ffe3
commit
17d227b142
@ -205,6 +205,7 @@ export class QuickBar extends LitElement {
|
|||||||
<mwc-list-item
|
<mwc-list-item
|
||||||
.twoline=${Boolean(item.altText)}
|
.twoline=${Boolean(item.altText)}
|
||||||
.item=${item}
|
.item=${item}
|
||||||
|
hasMeta
|
||||||
index=${ifDefined(index)}
|
index=${ifDefined(index)}
|
||||||
graphic="icon"
|
graphic="icon"
|
||||||
class=${this._commandMode ? "command-item" : ""}
|
class=${this._commandMode ? "command-item" : ""}
|
||||||
@ -427,9 +428,9 @@ export class QuickBar extends LitElement {
|
|||||||
`ui.dialogs.quick-bar.commands.navigation.${page.component}`
|
`ui.dialogs.quick-bar.commands.navigation.${page.component}`
|
||||||
);
|
);
|
||||||
|
|
||||||
if (page.translationKey) {
|
if (page.translationKey && shortCaption) {
|
||||||
const caption = this.hass.localize(
|
const caption = this.hass.localize(
|
||||||
"ui.dialogs.quick-bar.commands.navigation.navigate_to_config",
|
"ui.dialogs.quick-bar.commands.navigation.navigate_to",
|
||||||
"panel",
|
"panel",
|
||||||
shortCaption
|
shortCaption
|
||||||
);
|
);
|
||||||
|
@ -288,7 +288,6 @@
|
|||||||
"overflow_menu": "Overflow menu",
|
"overflow_menu": "Overflow menu",
|
||||||
"successfully_saved": "Successfully saved",
|
"successfully_saved": "Successfully saved",
|
||||||
"successfully_deleted": "Successfully deleted",
|
"successfully_deleted": "Successfully deleted",
|
||||||
|
|
||||||
"error_required": "Required",
|
"error_required": "Required",
|
||||||
"copied": "Copied"
|
"copied": "Copied"
|
||||||
},
|
},
|
||||||
@ -507,7 +506,6 @@
|
|||||||
},
|
},
|
||||||
"navigation": {
|
"navigation": {
|
||||||
"navigate_to": "Navigate to {panel}",
|
"navigate_to": "Navigate to {panel}",
|
||||||
"navigate_to_config": "Navigate to {panel} configuration",
|
|
||||||
"logs": "[%key:ui::panel::config::logs::caption%]",
|
"logs": "[%key:ui::panel::config::logs::caption%]",
|
||||||
"automation": "[%key:ui::panel::config::automation::caption%]",
|
"automation": "[%key:ui::panel::config::automation::caption%]",
|
||||||
"script": "[%key:ui::panel::config::script::caption%]",
|
"script": "[%key:ui::panel::config::script::caption%]",
|
||||||
@ -525,6 +523,7 @@
|
|||||||
"users": "[%key:ui::panel::config::users::caption%]",
|
"users": "[%key:ui::panel::config::users::caption%]",
|
||||||
"info": "[%key:ui::panel::config::info::caption%]",
|
"info": "[%key:ui::panel::config::info::caption%]",
|
||||||
"customize": "[%key:ui::panel::config::customize::caption%]",
|
"customize": "[%key:ui::panel::config::customize::caption%]",
|
||||||
|
"blueprint": "[%key:ui::panel::config::blueprint::caption%]",
|
||||||
"server_control": "[%key:ui::panel::config::server_control::caption%]"
|
"server_control": "[%key:ui::panel::config::server_control::caption%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -1118,8 +1117,9 @@
|
|||||||
"dialog_new": {
|
"dialog_new": {
|
||||||
"header": "Create a new automation",
|
"header": "Create a new automation",
|
||||||
"how": "How do you want to create your new automation?",
|
"how": "How do you want to create your new automation?",
|
||||||
|
"blueprint": {
|
||||||
"blueprint": { "use_blueprint": "Use a blueprint" },
|
"use_blueprint": "Use a blueprint"
|
||||||
|
},
|
||||||
"thingtalk": {
|
"thingtalk": {
|
||||||
"header": "Describe the automation you want to create",
|
"header": "Describe the automation you want to create",
|
||||||
"intro": "And we will try to create it for you. For example: Turn the lights off when I leave.",
|
"intro": "And we will try to create it for you. For example: Turn the lights off when I leave.",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user