Adjust FAB for blueprint overview + align translations (#7730)

This commit is contained in:
Philip Allgaier 2020-11-19 22:48:34 +01:00 committed by GitHub
parent 1289bd03b2
commit 45721eb4fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 6 deletions

View File

@ -138,9 +138,10 @@ class HaBlueprintOverview extends LitElement {
</mwc-icon-button> </mwc-icon-button>
<mwc-fab <mwc-fab
slot="fab" slot="fab"
title=${this.hass.localize( .label=${this.hass.localize(
"ui.panel.config.blueprint.overview.add_blueprint" "ui.panel.config.blueprint.overview.add_blueprint"
)} )}
extended
@click=${this._addBlueprint} @click=${this._addBlueprint}
> >
<ha-svg-icon slot="icon" .path=${mdiPlus}></ha-svg-icon> <ha-svg-icon slot="icon" .path=${mdiPlus}></ha-svg-icon>

View File

@ -1450,19 +1450,20 @@
"headers": { "headers": {
"name": "Name" "name": "Name"
}, },
"confirm_delete_header": "Delete this Blueprint?", "confirm_delete_header": "Delete this blueprint?",
"confirm_delete_text": "Are you sure you want to delete this Blueprint" "confirm_delete_text": "Are you sure you want to delete this blueprint",
"add_blueprint": "Add blueprint"
}, },
"add": { "add": {
"header": "Add new blueprint", "header": "Add new blueprint",
"import_header": "Import {name} ({domain})", "import_header": "Import {name} ({domain})",
"import_introduction": "You can import Blueprints of other users from Github and the community forums. Enter the url of the Blueprint below.", "import_introduction": "You can import blueprints of other users from Github and the community forums. Enter the URL of the blueprint below.",
"url": "Url of the blueprint", "url": "URL of the blueprint",
"importing": "Importing blueprint...", "importing": "Importing blueprint...",
"import_btn": "Import blueprint", "import_btn": "Import blueprint",
"saving": "Saving blueprint...", "saving": "Saving blueprint...",
"save_btn": "Save blueprint", "save_btn": "Save blueprint",
"error_no_url": "Please enter the url of the blueprint." "error_no_url": "Please enter the URL of the blueprint."
} }
}, },
"script": { "script": {