mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +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"}
|
||||
@input=${this._valueChanged}
|
||||
.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>
|
||||
`
|
||||
|
@ -1033,7 +1033,8 @@
|
||||
"mode": "Display mode",
|
||||
"text": "Text",
|
||||
"password": "Password",
|
||||
"pattern": "Regex pattern for client-side validation"
|
||||
"pattern_label": "Regex pattern",
|
||||
"pattern_helper": "Used for client-side validation"
|
||||
},
|
||||
"input_number": {
|
||||
"min": "Minimum value",
|
||||
|
Loading…
x
Reference in New Issue
Block a user