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( .map(
([key2, column2], i) => ([key2, column2], i) =>
html`${i !== 0 html`${i !== 0
? " " ? " · "
: nothing}${column2.template : nothing}${column2.template
? column2.template(row) ? column2.template(row)
: row[key2]}` : row[key2]}`

View File

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

View File

@ -57,7 +57,7 @@ class MoreInfoValve extends LitElement {
); );
if (positionStateDisplay) { if (positionStateDisplay) {
return `${stateDisplay} ${positionStateDisplay}`; return `${stateDisplay} · ${positionStateDisplay}`;
} }
return stateDisplay; 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( private _availableAgents = memoizeOne(

View File

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

View File

@ -70,7 +70,7 @@ class DownloadLogsDialog extends LitElement {
<span slot="subtitle"> <span slot="subtitle">
${this._dialogParams.header}${this._dialogParams.boot === 0 ${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> </span>
</ha-dialog-header> </ha-dialog-header>
<div slot="content" class="content"> <div slot="content" class="content">

View File

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

View File

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

View File

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

View File

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