Use middle dot 00B7 as separator (#25336)

This commit is contained in:
Paul Bottein 2025-05-06 15:56:20 +02:00 committed by GitHub
parent 38a5035d68
commit 1aa1bfda2c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 11 additions and 11 deletions

View File

@ -603,7 +603,7 @@ export class HaDataTable extends LitElement {
.map(
([key2, column2], i) =>
html`${i !== 0
? " "
? " · "
: nothing}${column2.template
? column2.template(row)
: row[key2]}`

View File

@ -57,7 +57,7 @@ class MoreInfoCover extends LitElement {
);
if (positionStateDisplay) {
return `${stateDisplay} ${positionStateDisplay}`;
return `${stateDisplay} · ${positionStateDisplay}`;
}
return stateDisplay;
}

View File

@ -57,7 +57,7 @@ class MoreInfoValve extends LitElement {
);
if (positionStateDisplay) {
return `${stateDisplay} ${positionStateDisplay}`;
return `${stateDisplay} · ${positionStateDisplay}`;
}
return stateDisplay;
}

View File

@ -102,7 +102,7 @@ class HaBackupConfigAgents extends LitElement {
);
}
}
return join(texts, html`<span class="separator"> </span>`);
return join(texts, html`<span class="separator"> · </span>`);
}
private _availableAgents = memoizeOne(

View File

@ -156,7 +156,7 @@ class HaConfigInfo extends LitElement {
)}
</span>
<span class="version">
${JS_VERSION}${JS_TYPE !== "modern" ? ` ${JS_TYPE}` : ""}
${JS_VERSION}${JS_TYPE !== "modern" ? ` · ${JS_TYPE}` : ""}
</span>
</li>
</ul>

View File

@ -70,7 +70,7 @@ class DownloadLogsDialog extends LitElement {
<span slot="subtitle">
${this._dialogParams.header}${this._dialogParams.boot === 0
? ""
: ` ${this._dialogParams.boot === -1 ? this.hass.localize("ui.panel.config.logs.previous") : this.hass.localize("ui.panel.config.logs.startups_ago", { boot: this._dialogParams.boot * -1 })}`}
: ` · ${this._dialogParams.boot === -1 ? this.hass.localize("ui.panel.config.logs.previous") : this.hass.localize("ui.panel.config.logs.startups_ago", { boot: this._dialogParams.boot * -1 })}`}
</span>
</ha-dialog-header>
<div slot="content" class="content">

View File

@ -20,7 +20,7 @@ class DialogRepairsIssueSubtitle extends LitElement {
protected render() {
const domainName = domainToName(this.hass.localize, this.issue.domain);
const reportedBy = domainName
? ` ${this.hass.localize("ui.panel.config.repairs.reported_by", {
? ` · ${this.hass.localize("ui.panel.config.repairs.reported_by", {
integration: domainName,
})}`
: "";

View File

@ -100,13 +100,13 @@ class HaConfigRepairs extends LitElement {
${(issue.severity === "critical" ||
issue.severity === "error") &&
issue.created
? " "
? " · "
: ""}
${createdBy
? html`<span .title=${createdBy}>${createdBy}</span>`
: nothing}
${issue.ignored
? ` ${this.hass.localize(
? ` · ${this.hass.localize(
"ui.panel.config.repairs.dialog.ignored_in_version_short",
{ version: issue.dismissed_version }
)}`

View File

@ -366,7 +366,7 @@ export class HaStateControlClimateTemperature extends LitElement {
>
${this._renderTarget(this._targetTemperature.low!, "normal", true)}
</button>
<span></span>
<span>·</span>
<button
@click=${this._handleSelectTemp}
.target=${"high"}

View File

@ -183,7 +183,7 @@ class StateDisplay extends LitElement {
return html`${this.hass!.formatEntityState(stateObj)}`;
}
return join(values, " ");
return join(values, " · ");
}
}