mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-13 12:26:35 +00:00
Revert translation change for device quick bar (#23131)
This commit is contained in:
parent
697a99f913
commit
3c03dfb322
@ -172,9 +172,11 @@ export class QuickBar extends LitElement {
|
|||||||
);
|
);
|
||||||
|
|
||||||
const translationKey =
|
const translationKey =
|
||||||
this._mode === QuickBarMode.Device ? "devices" : "entities";
|
this._mode === QuickBarMode.Device
|
||||||
|
? "filter_placeholder_devices"
|
||||||
|
: "filter_placeholder";
|
||||||
const placeholder = this.hass.localize(
|
const placeholder = this.hass.localize(
|
||||||
`ui.dialogs.quick-bar.filter_placeholder.${translationKey}`
|
`ui.dialogs.quick-bar.${translationKey}`
|
||||||
);
|
);
|
||||||
|
|
||||||
const commandMode = this._mode === QuickBarMode.Command;
|
const commandMode = this._mode === QuickBarMode.Command;
|
||||||
|
@ -1195,10 +1195,8 @@
|
|||||||
"addon_info": "{addon} Info"
|
"addon_info": "{addon} Info"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"filter_placeholder": {
|
"filter_placeholder": "Search entities",
|
||||||
"entities": "Search entities",
|
"filter_placeholder_devices": "Search devices",
|
||||||
"devices": "Search devices"
|
|
||||||
},
|
|
||||||
"title": "Quick search",
|
"title": "Quick search",
|
||||||
"key_c_hint": "Press 'c' on any page to open the command dialog",
|
"key_c_hint": "Press 'c' on any page to open the command dialog",
|
||||||
"nothing_found": "Nothing found!"
|
"nothing_found": "Nothing found!"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user