Update script editor panel tooltips (#7204)

This commit is contained in:
Daniel 2020-10-06 20:44:20 +02:00 committed by GitHub
parent c2fba15fc6
commit 17ffdb0247
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 4 deletions

View File

@ -254,7 +254,9 @@ export class HaScriptEditor extends LitElement {
</div>
<mwc-fab
slot="fab"
.title=${this.hass.localize("ui.common.save")}
.title=${this.hass.localize(
"ui.panel.config.script.editor.save_script"
)}
@click=${this._saveScript}
class=${classMap({
dirty: this._dirty,

View File

@ -61,7 +61,7 @@ class HaScriptPicker extends LitElement {
.script=${script}
icon="hass:play"
title="${this.hass.localize(
"ui.panel.config.script.picker.activate_script"
"ui.panel.config.script.picker.run_script"
)}"
@click=${(ev: Event) => this._runScript(ev)}
></ha-icon-button>
@ -151,7 +151,7 @@ class HaScriptPicker extends LitElement {
?is-wide=${this.isWide}
?narrow=${this.narrow}
title="${this.hass.localize(
"ui.panel.config.script.picker.add_script"
"ui.panel.config.script.picker.create_new_script"
)}"
?rtl=${computeRTL(this.hass)}
>

View File

@ -1274,9 +1274,10 @@
"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 couldnt find any editable scripts",
"add_script": "Add script",
"add_script": "Create new script",
"show_info": "Show info about script",
"trigger_script": "Trigger script",
"run_script": "Run script",
"edit_script": "Edit script",
"headers": {
"name": "Name"
@ -1307,6 +1308,7 @@
"load_error_not_editable": "Only scripts inside scripts.yaml are editable.",
"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.",
"link_available_actions": "Learn more about available actions."