Add label to version number (#25942)

Add label
This commit is contained in:
Bram Kragten 2025-06-26 14:38:33 +02:00 committed by GitHub
parent 2fb86f118e
commit 018aceb542
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -382,7 +382,10 @@ class HaConfigIntegrationPage extends SubscribeMixin(LitElement) {
<div class="sub">
${this._manifest?.version != null
? html`<span class="version"
>${this._manifest.version}</span
>${this.hass.localize(
"ui.panel.config.integrations.config_entry.version",
{ version: this._manifest.version }
)}</span
>`
: nothing}
${this._manifest?.is_built_in === false

View File

@ -5416,7 +5416,7 @@
"via": "Connected via",
"firmware": "Firmware: {version}",
"hardware": "Hardware: {version}",
"version": "Version: {version}",
"version": "Version {version}",
"serial_number": "Serial number: {serial_number}",
"unnamed_entry": "Unnamed entry",
"unknown_via_device": "Unknown device",