Added translation to dev-tools-info-integrations (#5834)

This commit is contained in:
Mat Strange 2020-05-11 12:44:32 +01:00 committed by GitHub
parent cf575f83f5
commit 2d627819d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 4 deletions

View File

@ -34,7 +34,11 @@ class IntegrationsCard extends LitElement {
protected render(): TemplateResult { protected render(): TemplateResult {
return html` return html`
<ha-card header="Integrations"> <ha-card
.header=${this.hass.localize(
"ui.panel.developer-tools.tabs.info.integrations"
)}
>
<table class="card-content"> <table class="card-content">
<tbody> <tbody>
${this._sortedIntegrations(this.hass!.config.components).map( ${this._sortedIntegrations(this.hass!.config.components).map(
@ -62,7 +66,9 @@ class IntegrationsCard extends LitElement {
target="_blank" target="_blank"
rel="noreferrer" rel="noreferrer"
> >
Documentation ${this.hass.localize(
"ui.panel.developer-tools.tabs.info.documentation"
)}
</a> </a>
</td> </td>
${!manifest.is_built_in ${!manifest.is_built_in
@ -74,7 +80,9 @@ class IntegrationsCard extends LitElement {
target="_blank" target="_blank"
rel="noreferrer" rel="noreferrer"
> >
Issues ${this.hass.localize(
"ui.panel.developer-tools.tabs.info.issues"
)}
</a> </a>
</td> </td>
`} `}

View File

@ -2186,7 +2186,10 @@
"icons_by": "Icons by", "icons_by": "Icons by",
"frontend_version": "Frontend version: {version} - {type}", "frontend_version": "Frontend version: {version} - {type}",
"custom_uis": "Custom UIs:", "custom_uis": "Custom UIs:",
"system_health_error": "System Health component is not loaded. Add 'system_health:' to configuration.yaml" "system_health_error": "System Health component is not loaded. Add 'system_health:' to configuration.yaml",
"integrations": "Integrations",
"documentation": "Documentation",
"issues": "Issues"
}, },
"logs": { "logs": {
"title": "Logs", "title": "Logs",