Fix desktop translation for browser media source (#27293)

Fix translation for desktop
pull/27297/head^2
Aidan Timson 2025-10-02 14:36:12 +01:00 committed by GitHub
parent 8c4a67315b
commit ca1cda4824
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 3 deletions

View File

@ -328,9 +328,13 @@ export class BarMediaPlayer extends SubscribeMixin(LitElement) {
</span>
${this.narrow
? nothing
: stateObj
? computeStateName(stateObj)
: this.entityId}
: isBrowser
? this.hass.localize(
"ui.components.media-browser.web-browser"
)
: stateObj
? computeStateName(stateObj)
: this.entityId}
<ha-svg-icon
slot="end"
.path=${mdiChevronDown}