Translate new setup time info header + add blank before unit (#9067)

This commit is contained in:
Philip Allgaier 2021-05-01 14:31:43 +02:00 committed by GitHub
parent 2a5f940744
commit 00d46424a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -65,7 +65,7 @@ class IntegrationsCard extends LitElement {
<th></th>
<th></th>`
: ""}
<th>Setup time</th>
<th>${this.hass.localize("ui.panel.config.info.setup_time")}</th>
</tr>
</thead>
<tbody>
@ -113,7 +113,7 @@ class IntegrationsCard extends LitElement {
${this.narrow
? html`<div class="mobile-row">
<div>${docLink} ${issueLink}</div>
${setupSeconds ? html`${setupSeconds}s` : ""}
${setupSeconds ? html`${setupSeconds} s` : ""}
</div>`
: ""}
</td>
@ -123,7 +123,7 @@ class IntegrationsCard extends LitElement {
<td>${docLink}</td>
<td>${issueLink}</td>
<td class="setup">
${setupSeconds ? html`${setupSeconds}s` : ""}
${setupSeconds ? html`${setupSeconds} s` : ""}
</td>
`}
</tr>
@ -169,6 +169,7 @@ class IntegrationsCard extends LitElement {
}
td.setup {
text-align: right;
white-space: nowrap;
}
th {
text-align: right;

View File

@ -1039,6 +1039,7 @@
"integrations": "Integrations",
"documentation": "Documentation",
"issues": "Issues",
"setup_time": "Setup time",
"system_health": {
"manage": "Manage",
"more_info": "more info"