mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-21 16:26:43 +00:00
Align wording in automation and script editor overflow menus (#13575)
This commit is contained in:
parent
43f9c9ebc9
commit
81cc745c0a
@ -192,7 +192,6 @@ export class HaScriptEditor extends KeyboardShortcutMixin(LitElement) {
|
||||
"ui.panel.config.automation.editor.edit_ui"
|
||||
)}
|
||||
graphic="icon"
|
||||
?activated=${this._mode === "gui"}
|
||||
>
|
||||
${this.hass.localize("ui.panel.config.automation.editor.edit_ui")}
|
||||
${this._mode === "gui"
|
||||
@ -228,13 +227,11 @@ export class HaScriptEditor extends KeyboardShortcutMixin(LitElement) {
|
||||
<mwc-list-item
|
||||
.disabled=${!this.scriptEntityId}
|
||||
.label=${this.hass.localize(
|
||||
"ui.panel.config.script.picker.duplicate_script"
|
||||
"ui.panel.config.script.picker.duplicate"
|
||||
)}
|
||||
graphic="icon"
|
||||
>
|
||||
${this.hass.localize(
|
||||
"ui.panel.config.script.picker.duplicate_script"
|
||||
)}
|
||||
${this.hass.localize("ui.panel.config.script.picker.duplicate")}
|
||||
<ha-svg-icon
|
||||
slot="graphic"
|
||||
.path=${mdiContentDuplicate}
|
||||
@ -244,12 +241,12 @@ export class HaScriptEditor extends KeyboardShortcutMixin(LitElement) {
|
||||
<mwc-list-item
|
||||
.disabled=${!this.scriptEntityId}
|
||||
aria-label=${this.hass.localize(
|
||||
"ui.panel.config.script.editor.delete_script"
|
||||
"ui.panel.config.script.picker.delete"
|
||||
)}
|
||||
class=${classMap({ warning: Boolean(this.scriptEntityId) })}
|
||||
graphic="icon"
|
||||
>
|
||||
${this.hass.localize("ui.panel.config.script.editor.delete_script")}
|
||||
${this.hass.localize("ui.panel.config.script.picker.delete")}
|
||||
<ha-svg-icon
|
||||
class=${classMap({ warning: Boolean(this.scriptEntityId) })}
|
||||
slot="graphic"
|
||||
|
@ -301,6 +301,7 @@
|
||||
"refresh": "Refresh",
|
||||
"cancel": "Cancel",
|
||||
"delete": "Delete",
|
||||
"duplicate": "Duplicate",
|
||||
"remove": "Remove",
|
||||
"enable": "Enable",
|
||||
"disable": "Disable",
|
||||
@ -1790,9 +1791,9 @@
|
||||
"edit_automation": "Edit automation",
|
||||
"dev_automation": "Debug automation",
|
||||
"show_info_automation": "Show info about automation",
|
||||
"delete": "Delete",
|
||||
"delete": "[%key:ui::common::delete%]",
|
||||
"delete_confirm": "Are you sure you want to delete this automation?",
|
||||
"duplicate": "Duplicate",
|
||||
"duplicate": "[%key:ui::common::duplicate%]",
|
||||
"disabled": "Disabled",
|
||||
"headers": {
|
||||
"toggle": "Enable/disable",
|
||||
@ -1869,11 +1870,11 @@
|
||||
"add": "Add trigger",
|
||||
"id": "Trigger ID",
|
||||
"edit_id": "Edit ID",
|
||||
"duplicate": "Duplicate",
|
||||
"duplicate": "[%key:ui::common::duplicate%]",
|
||||
"rename": "Rename",
|
||||
"change_alias": "Rename trigger",
|
||||
"alias": "Trigger name",
|
||||
"delete": "[%key:ui::panel::mailbox::delete_button%]",
|
||||
"delete": "[%key:ui::common::delete%]",
|
||||
"delete_confirm": "Are you sure you want to delete this?",
|
||||
"unsupported_platform": "No visual editor support for platform: {platform}",
|
||||
"type_select": "Trigger type",
|
||||
@ -1989,11 +1990,11 @@
|
||||
"testing_pass": "Condition passes",
|
||||
"invalid_condition": "Invalid condition configuration",
|
||||
"test_failed": "Error occurred while testing condition",
|
||||
"duplicate": "[%key:ui::panel::config::automation::editor::triggers::duplicate%]",
|
||||
"duplicate": "[%key:ui::common::duplicate%]",
|
||||
"rename": "[%key:ui::panel::config::automation::editor::triggers::rename%]",
|
||||
"change_alias": "Rename condition",
|
||||
"alias": "Condition name",
|
||||
"delete": "[%key:ui::panel::mailbox::delete_button%]",
|
||||
"delete": "[%key:ui::common::delete%]",
|
||||
"delete_confirm": "[%key:ui::panel::config::automation::editor::triggers::delete_confirm%]",
|
||||
"unsupported_condition": "No visual editor support for condition: {condition}",
|
||||
"type_select": "Condition type",
|
||||
@ -2080,14 +2081,14 @@
|
||||
"run": "Run",
|
||||
"run_action_error": "Error running action",
|
||||
"run_action_success": "Action run successfully",
|
||||
"duplicate": "[%key:ui::panel::config::automation::editor::triggers::duplicate%]",
|
||||
"duplicate": "[%key:ui::common::duplicate%]",
|
||||
"rename": "[%key:ui::panel::config::automation::editor::triggers::rename%]",
|
||||
"change_alias": "Rename action",
|
||||
"alias": "Action name",
|
||||
"enable": "Enable",
|
||||
"disable": "Disable",
|
||||
"disabled": "Disabled",
|
||||
"delete": "[%key:ui::panel::mailbox::delete_button%]",
|
||||
"delete": "[%key:ui::common::delete%]",
|
||||
"delete_confirm": "[%key:ui::panel::config::automation::editor::triggers::delete_confirm%]",
|
||||
"unsupported_action": "No visual editor support for action: {action}",
|
||||
"type_select": "Action type",
|
||||
@ -2260,7 +2261,7 @@
|
||||
"header": "Script Editor",
|
||||
"introduction": "The script editor allows you to create and edit scripts. Please follow the link below to read the instructions to make sure that you have configured Home Assistant correctly.",
|
||||
"learn_more": "Learn more about scripts",
|
||||
"no_scripts": "We couldn’t find any scripts",
|
||||
"no_scripts": "We couldn't find any scripts",
|
||||
"add_script": "Add script",
|
||||
"show_info": "Show info about script",
|
||||
"run_script": "Run script",
|
||||
@ -2270,8 +2271,8 @@
|
||||
"name": "Name",
|
||||
"state": "State"
|
||||
},
|
||||
"duplicate_script": "Duplicate script",
|
||||
"duplicate": "[%key:ui::panel::config::automation::picker::duplicate%]"
|
||||
"delete": "[%key:ui::common::delete%]",
|
||||
"duplicate": "[%key:ui::common::duplicate%]"
|
||||
},
|
||||
"editor": {
|
||||
"alias": "Name",
|
||||
@ -2298,7 +2299,6 @@
|
||||
"load_error_not_editable": "Only scripts inside scripts.yaml are editable.",
|
||||
"load_error_unknown": "Error loading script ({err_no}).",
|
||||
"delete_confirm": "Are you sure you want to delete this script?",
|
||||
"delete_script": "Delete script",
|
||||
"save_script": "Save script",
|
||||
"sequence": "Sequence",
|
||||
"sequence_sentence": "The sequence of actions of this script.",
|
||||
@ -2314,7 +2314,7 @@
|
||||
"introduction": "The scene editor allows you to create and edit scenes. Please follow the link below to read the instructions to make sure that you have configured Home Assistant correctly.",
|
||||
"learn_more": "Learn more about scenes",
|
||||
"pick_scene": "Pick scene to edit",
|
||||
"no_scenes": "We couldn’t find any scenes",
|
||||
"no_scenes": "We couldn't find any scenes",
|
||||
"add_scene": "Add scene",
|
||||
"only_editable": "Only scenes defined in scenes.yaml are editable.",
|
||||
"edit_scene": "Edit scene",
|
||||
@ -2322,7 +2322,7 @@
|
||||
"delete_scene": "Delete scene",
|
||||
"delete_confirm": "Are you sure you want to delete this scene?",
|
||||
"duplicate_scene": "Duplicate scene",
|
||||
"duplicate": "Duplicate",
|
||||
"duplicate": "[%key:ui::common::duplicate%]",
|
||||
"headers": {
|
||||
"activate": "Activate",
|
||||
"state": "State",
|
||||
@ -3855,7 +3855,7 @@
|
||||
},
|
||||
"entity": {
|
||||
"name": "Entity",
|
||||
"description": "The Entity card gives you a quick overview of your entity’s state."
|
||||
"description": "The Entity card gives you a quick overview of your entity's state."
|
||||
},
|
||||
"button": {
|
||||
"name": "Button",
|
||||
|
Loading…
x
Reference in New Issue
Block a user