mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-31 05:06:38 +00:00
Added integration name to System Options dialog (#3996)
* Added integration name to System Options dialog * Passed integration name into translation string * Translated integration name * Added option for no translation
This commit is contained in:
parent
9d3dfad98c
commit
59e4cdc62a
@ -60,7 +60,13 @@ class DialogConfigEntrySystemOptions extends LitElement {
|
||||
@opened-changed="${this._openedChanged}"
|
||||
>
|
||||
<h2>
|
||||
${this.hass.localize("ui.dialogs.config_entry_system_options.title")}
|
||||
${this.hass.localize(
|
||||
"ui.dialogs.config_entry_system_options.title",
|
||||
"integration",
|
||||
this.hass.localize(
|
||||
`component.${this._params.entry.domain}.config.title`
|
||||
) || this._params.entry.domain
|
||||
)}
|
||||
</h2>
|
||||
<paper-dialog-scrollable>
|
||||
${this._loading
|
||||
@ -89,7 +95,13 @@ class DialogConfigEntrySystemOptions extends LitElement {
|
||||
</p>
|
||||
<p class="secondary">
|
||||
${this.hass.localize(
|
||||
"ui.dialogs.config_entry_system_options.enable_new_entities_description"
|
||||
"ui.dialogs.config_entry_system_options.enable_new_entities_description",
|
||||
"integration",
|
||||
this.hass.localize(
|
||||
`component.${
|
||||
this._params.entry.domain
|
||||
}.config.title`
|
||||
) || this._params.entry.domain
|
||||
)}
|
||||
</p>
|
||||
</div>
|
||||
|
@ -559,9 +559,9 @@
|
||||
}
|
||||
},
|
||||
"config_entry_system_options": {
|
||||
"title": "System Options",
|
||||
"title": "System Options for {integration}",
|
||||
"enable_new_entities_label": "Enable newly added entities.",
|
||||
"enable_new_entities_description": "If disabled, newly discovered entities will not be automatically added to Home Assistant."
|
||||
"enable_new_entities_description": "If disabled, newly discovered entities for {integration} will not be automatically added to Home Assistant."
|
||||
},
|
||||
"zha_device_info": {
|
||||
"manuf": "by {manufacturer}",
|
||||
|
Loading…
x
Reference in New Issue
Block a user