From 2d627819d973ba76c28f2880426af18c03bcdf18 Mon Sep 17 00:00:00 2001 From: Mat Strange <54028700+matstrange@users.noreply.github.com> Date: Mon, 11 May 2020 12:44:32 +0100 Subject: [PATCH] Added translation to dev-tools-info-integrations (#5834) --- .../developer-tools/info/integrations-card.ts | 14 +++++++++++--- src/translations/en.json | 5 ++++- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/src/panels/developer-tools/info/integrations-card.ts b/src/panels/developer-tools/info/integrations-card.ts index 1c9c9761ba..3b2ecd8030 100644 --- a/src/panels/developer-tools/info/integrations-card.ts +++ b/src/panels/developer-tools/info/integrations-card.ts @@ -34,7 +34,11 @@ class IntegrationsCard extends LitElement { protected render(): TemplateResult { return html` - + ${this._sortedIntegrations(this.hass!.config.components).map( @@ -62,7 +66,9 @@ class IntegrationsCard extends LitElement { target="_blank" rel="noreferrer" > - Documentation + ${this.hass.localize( + "ui.panel.developer-tools.tabs.info.documentation" + )} ${!manifest.is_built_in @@ -74,7 +80,9 @@ class IntegrationsCard extends LitElement { target="_blank" rel="noreferrer" > - Issues + ${this.hass.localize( + "ui.panel.developer-tools.tabs.info.issues" + )} `} diff --git a/src/translations/en.json b/src/translations/en.json index 71557cfd2a..eee160588a 100755 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -2186,7 +2186,10 @@ "icons_by": "Icons by", "frontend_version": "Frontend version: {version} - {type}", "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": { "title": "Logs",