Integration page fixes (#16822)

This commit is contained in:
Bram Kragten 2023-06-08 14:11:52 +02:00 committed by GitHub
parent 78cff3a921
commit 6d29b764d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 6 deletions

View File

@ -266,7 +266,7 @@ class HaConfigIntegrationPage extends SubscribeMixin(LitElement) {
path=${mdiPackageVariant} path=${mdiPackageVariant}
></ha-svg-icon> ></ha-svg-icon>
${this.hass.localize( ${this.hass.localize(
"ui.panel.config.integrations.config_entry.provided_by_custom_integration" "ui.panel.config.integrations.config_entry.custom_integration"
)}</ha-alert )}</ha-alert
>` >`
: ""} : ""}
@ -422,7 +422,7 @@ class HaConfigIntegrationPage extends SubscribeMixin(LitElement) {
.flow=${flow} .flow=${flow}
@click=${this._continueFlow} @click=${this._continueFlow}
.label=${this.hass.localize( .label=${this.hass.localize(
"config_entry.disabled_by.config_entry" "ui.panel.config.integrations.configure"
)} )}
></ha-button> ></ha-button>
</ha-list-item>` </ha-list-item>`

View File

@ -249,7 +249,7 @@ export class HaIntegrationCard extends LitElement {
} }
a { a {
text-decoration: none; text-decoration: none;
color: var(--primary-color); color: var(--primary-text-color);
} }
a ha-icon-button { a ha-icon-button {
color: var(--secondary-text-color); color: var(--secondary-text-color);

View File

@ -50,7 +50,7 @@ export class HaIntegrationHeader extends LitElement {
icons.push([ icons.push([
mdiPackageVariant, mdiPackageVariant,
this.hass.localize( this.hass.localize(
"ui.panel.config.integrations.config_entry.provided_by_custom_integration" "ui.panel.config.integrations.config_entry.custom_integration"
), ),
]); ]);
} }

View File

@ -84,7 +84,7 @@ export class HaIntegrationListItem extends ListItemBase {
><ha-svg-icon .path=${mdiPackageVariant}></ha-svg-icon ><ha-svg-icon .path=${mdiPackageVariant}></ha-svg-icon
><simple-tooltip animation-delay="0" position="left" ><simple-tooltip animation-delay="0" position="left"
>${this.hass.localize( >${this.hass.localize(
"ui.panel.config.integrations.config_entry.provided_by_custom_integration" "ui.panel.config.integrations.config_entry.custom_integration"
)}</simple-tooltip )}</simple-tooltip
></span ></span
>` >`

View File

@ -3320,7 +3320,7 @@
"device": "device" "device": "device"
} }
}, },
"provided_by_custom_integration": "Provided by a custom integration", "custom_integration": "Custom integration",
"depends_on_cloud": "Depends on the cloud", "depends_on_cloud": "Depends on the cloud",
"yaml_only": "Needs manual configuration", "yaml_only": "Needs manual configuration",
"disabled_polling": "Automatic polling for updated data disabled", "disabled_polling": "Automatic polling for updated data disabled",