From 00d46424a3835ed28b798670a39e0ecd8a6fc8a3 Mon Sep 17 00:00:00 2001 From: Philip Allgaier Date: Sat, 1 May 2021 14:31:43 +0200 Subject: [PATCH] Translate new setup time info header + add blank before unit (#9067) --- src/panels/config/info/integrations-card.ts | 7 ++++--- src/translations/en.json | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/panels/config/info/integrations-card.ts b/src/panels/config/info/integrations-card.ts index 8a17a77b34..42287dda06 100644 --- a/src/panels/config/info/integrations-card.ts +++ b/src/panels/config/info/integrations-card.ts @@ -65,7 +65,7 @@ class IntegrationsCard extends LitElement { ` : ""} - Setup time + ${this.hass.localize("ui.panel.config.info.setup_time")} @@ -113,7 +113,7 @@ class IntegrationsCard extends LitElement { ${this.narrow ? html`
${docLink} ${issueLink}
- ${setupSeconds ? html`${setupSeconds}s` : ""} + ${setupSeconds ? html`${setupSeconds} s` : ""}
` : ""} @@ -123,7 +123,7 @@ class IntegrationsCard extends LitElement { ${docLink} ${issueLink} - ${setupSeconds ? html`${setupSeconds}s` : ""} + ${setupSeconds ? html`${setupSeconds} s` : ""} `} @@ -169,6 +169,7 @@ class IntegrationsCard extends LitElement { } td.setup { text-align: right; + white-space: nowrap; } th { text-align: right; diff --git a/src/translations/en.json b/src/translations/en.json index e5e0484d09..7471cf8938 100755 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -1039,6 +1039,7 @@ "integrations": "Integrations", "documentation": "Documentation", "issues": "Issues", + "setup_time": "Setup time", "system_health": { "manage": "Manage", "more_info": "more info"