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

View File

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