Set standard name for Cancel button, to align translations (#8914)

This commit is contained in:
Carlos Garcia Saura 2021-04-14 23:09:31 +02:00 committed by GitHub
parent 193016a46a
commit c53575a74f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -127,7 +127,7 @@ export class HuiSaveConfig extends LitElement implements HassDialog {
? html` ? html`
<mwc-button slot="primaryAction" @click=${this.closeDialog} <mwc-button slot="primaryAction" @click=${this.closeDialog}
>${this.hass!.localize( >${this.hass!.localize(
"ui.panel.lovelace.editor.save_config.cancel" "ui.common.cancel"
)} )}
</mwc-button> </mwc-button>
<mwc-button <mwc-button

View File

@ -2823,7 +2823,6 @@
"yaml_control": "To take control in YAML mode, create a YAML file with the name you specified in your config for this dashboard, or the default 'ui-lovelace.yaml'.", "yaml_control": "To take control in YAML mode, create a YAML file with the name you specified in your config for this dashboard, or the default 'ui-lovelace.yaml'.",
"yaml_config": "To help you start here is the current config of this dashboard:", "yaml_config": "To help you start here is the current config of this dashboard:",
"empty_config": "Start with an empty dashboard", "empty_config": "Start with an empty dashboard",
"cancel": "Never mind",
"close": "Close", "close": "Close",
"save": "Take control" "save": "Take control"
}, },