Fixed overrideFrequency Input Constraints (#801)
* Fixed overrideFrequency to properly allow for floats with a minimum of 410 MHz and maximum of 930 MHz. Added 3 decimal point check. * Removed duplicate error message in FormInput.tsx * Added error message for overrideFrequency in several locales * Simplified check and reverted translated languages to English besides German. Also fixed a typo in src/components/UI/Input.tsx. * Let i18n handle fallback + linting --------- Co-authored-by: philon- <jeremy@gallant.se>
This commit is contained in:
@@ -135,6 +135,9 @@
|
||||
"generic": "Dies ist ein Pflichtfeld.",
|
||||
"managed": "Mindestens ein administrativer Schlüssel wird benötigt, um diesen Knoten zu verwalten",
|
||||
"key": "Schlüssel erforderlich."
|
||||
},
|
||||
"invalidOverrideFreq": {
|
||||
"number": "Ungültiges Format, erwartet 430-930 MHz."
|
||||
}
|
||||
},
|
||||
"yes": "Ja",
|
||||
|
||||
@@ -111,6 +111,9 @@
|
||||
"generic": "This field is required.",
|
||||
"managed": "At least one admin key is requred if the node is managed.",
|
||||
"key": "Key is required."
|
||||
},
|
||||
"invalidOverrideFreq": {
|
||||
"number": "Invalid format, expected between 430-930 MHz."
|
||||
}
|
||||
},
|
||||
"yes": "Yes",
|
||||
|
||||
Reference in New Issue
Block a user