mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-13 12:26:35 +00:00
Localization updates (#6359)
This commit is contained in:
parent
833ccf3637
commit
7d1835e59c
@ -26,6 +26,9 @@ class SearchInput extends LitElement {
|
||||
@property({ type: Boolean })
|
||||
public autofocus = false;
|
||||
|
||||
@property({ type: String })
|
||||
public label?: string;
|
||||
|
||||
public focus() {
|
||||
this.shadowRoot!.querySelector("paper-input")!.focus();
|
||||
}
|
||||
@ -43,7 +46,7 @@ class SearchInput extends LitElement {
|
||||
<paper-input
|
||||
class=${classMap({ "no-underline": this.noUnderline })}
|
||||
.autofocus=${this.autofocus}
|
||||
label="Search"
|
||||
.label=${this.label || "Search"}
|
||||
.value=${this.filter}
|
||||
@value-changed=${this._filterInputChanged}
|
||||
.noLabelFloat=${this.noLabelFloat}
|
||||
|
@ -81,6 +81,7 @@ class StepFlowPickHandler extends LitElement {
|
||||
autofocus
|
||||
.filter=${this.filter}
|
||||
@value-changed=${this._filterChanged}
|
||||
.label=${this.hass.localize("ui.panel.config.integrations.search")}
|
||||
></search-input>
|
||||
<div
|
||||
style=${styleMap({
|
||||
|
@ -127,6 +127,9 @@ export class HaTabsSubpageDataTable extends LitElement {
|
||||
no-label-float
|
||||
no-underline
|
||||
@value-changed=${this._handleSearchChange}
|
||||
.label=${this.hass.localize(
|
||||
"ui.components.data-table.search"
|
||||
)}
|
||||
></search-input>
|
||||
${this.activeFilters
|
||||
? html`<div class="active-filters">
|
||||
@ -172,6 +175,9 @@ export class HaTabsSubpageDataTable extends LitElement {
|
||||
no-label-float
|
||||
no-underline
|
||||
@value-changed=${this._handleSearchChange}
|
||||
.label=${this.hass.localize(
|
||||
"ui.components.data-table.search"
|
||||
)}
|
||||
>
|
||||
</search-input>
|
||||
${this.activeFilters
|
||||
|
@ -422,6 +422,9 @@ export class HaConfigEntities extends SubscribeMixin(LitElement) {
|
||||
no-underline
|
||||
@value-changed=${this._handleSearchChange}
|
||||
.filter=${this._filter}
|
||||
.label=${this.hass.localize(
|
||||
"ui.panel.config.entities.picker.search"
|
||||
)}
|
||||
></search-input
|
||||
>${activeFilters
|
||||
? html`<div class="active-filters">
|
||||
|
@ -155,6 +155,9 @@ export class HaConfigHelpers extends LitElement {
|
||||
.data=${this._getItems(this._stateItems)}
|
||||
@row-click=${this._openEditDialog}
|
||||
hasFab
|
||||
.noDataText=${this.hass.localize(
|
||||
"ui.panel.config.helpers.picker.no_helpers"
|
||||
)}
|
||||
>
|
||||
</hass-tabs-subpage-data-table>
|
||||
<mwc-fab
|
||||
|
@ -263,6 +263,9 @@ class HaConfigIntegrations extends SubscribeMixin(LitElement) {
|
||||
no-label-float
|
||||
no-underline
|
||||
@value-changed=${this._handleSearchChange}
|
||||
.label=${this.hass.localize(
|
||||
"ui.panel.config.integrations.search"
|
||||
)}
|
||||
></search-input>
|
||||
</slot>
|
||||
</div>
|
||||
@ -293,6 +296,9 @@ class HaConfigIntegrations extends SubscribeMixin(LitElement) {
|
||||
no-underline
|
||||
.filter=${this._filter}
|
||||
@value-changed=${this._handleSearchChange}
|
||||
.label=${this.hass.localize(
|
||||
"ui.panel.config.integrations.search"
|
||||
)}
|
||||
></search-input>
|
||||
</div>
|
||||
`
|
||||
|
@ -97,6 +97,9 @@ export class HuiCardPicker extends LitElement {
|
||||
.filter=${this._filter}
|
||||
no-label-float
|
||||
@value-changed=${this._handleSearchChange}
|
||||
.label=${this.hass.localize(
|
||||
"ui.panel.lovelace.editor.card.generic.search"
|
||||
)}
|
||||
></search-input>
|
||||
<div
|
||||
id="content"
|
||||
|
@ -331,6 +331,9 @@
|
||||
"scene": "Part of the following scenes",
|
||||
"script": "Part of the following scripts",
|
||||
"automation": "Part of the following automations"
|
||||
},
|
||||
"data-table": {
|
||||
"search": "Search"
|
||||
}
|
||||
},
|
||||
"dialogs": {
|
||||
@ -602,7 +605,8 @@
|
||||
"type": "Type",
|
||||
"editable": "Editable"
|
||||
},
|
||||
"add_helper": "Add helper"
|
||||
"add_helper": "Add helper",
|
||||
"no_helpers": "Looks like you don't have any helpers yet!"
|
||||
},
|
||||
"dialog": {
|
||||
"create": "Create",
|
||||
@ -1338,6 +1342,7 @@
|
||||
"header": "Entities",
|
||||
"introduction": "Home Assistant keeps a registry of every entity it has ever seen that can be uniquely identified. Each of these entities will have an entity ID assigned which will be reserved for just this entity.",
|
||||
"introduction2": "Use the entity registry to override the name, change the entity ID or remove the entry from Home Assistant.",
|
||||
"search": "Search entities",
|
||||
"filter": {
|
||||
"filter": "Filter",
|
||||
"show_disabled": "Show disabled entities",
|
||||
@ -1452,6 +1457,7 @@
|
||||
"details": "Integration details",
|
||||
"rename_dialog": "Edit the name of this config entry",
|
||||
"rename_input_label": "Entry name",
|
||||
"search": "Search integrations",
|
||||
"ignore": {
|
||||
"ignore": "Ignore",
|
||||
"confirm_ignore_title": "Ignore discovery of {name}?",
|
||||
@ -1996,7 +2002,8 @@
|
||||
"unit": "Unit",
|
||||
"url": "Url",
|
||||
"state": "State",
|
||||
"secondary_info_attribute": "Secondary Info Attribute"
|
||||
"secondary_info_attribute": "Secondary Info Attribute",
|
||||
"search": "Search"
|
||||
},
|
||||
"map": {
|
||||
"name": "Map",
|
||||
|
Loading…
x
Reference in New Issue
Block a user