mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Reduce label length for regex pattern input text helper (#15016)
* Reduce label length for regex pattern input text helper * Rename key
This commit is contained in:
parent
7136142437
commit
c63b64cff5
@ -145,7 +145,10 @@ class HaInputTextForm extends LitElement {
|
|||||||
.configValue=${"pattern"}
|
.configValue=${"pattern"}
|
||||||
@input=${this._valueChanged}
|
@input=${this._valueChanged}
|
||||||
.label=${this.hass!.localize(
|
.label=${this.hass!.localize(
|
||||||
"ui.dialogs.helper_settings.input_text.pattern"
|
"ui.dialogs.helper_settings.input_text.pattern_label"
|
||||||
|
)}
|
||||||
|
.helper=${this.hass!.localize(
|
||||||
|
"ui.dialogs.helper_settings.input_text.pattern_helper"
|
||||||
)}
|
)}
|
||||||
></ha-textfield>
|
></ha-textfield>
|
||||||
`
|
`
|
||||||
|
@ -1033,7 +1033,8 @@
|
|||||||
"mode": "Display mode",
|
"mode": "Display mode",
|
||||||
"text": "Text",
|
"text": "Text",
|
||||||
"password": "Password",
|
"password": "Password",
|
||||||
"pattern": "Regex pattern for client-side validation"
|
"pattern_label": "Regex pattern",
|
||||||
|
"pattern_helper": "Used for client-side validation"
|
||||||
},
|
},
|
||||||
"input_number": {
|
"input_number": {
|
||||||
"min": "Minimum value",
|
"min": "Minimum value",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user