mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
WebUI: Add positive number validator
Add new validator which inherits from integer validator and checks whether the integer is positive. https://pagure.io/freeipa/issue/6980 Reviewed-By: Felipe Volpone <felipevolpone@gmail.com>
This commit is contained in:
committed by
Martin Babinsky
parent
7f10a5145c
commit
3cac851498
@@ -982,6 +982,7 @@ class i18n_messages(Command):
|
||||
"min_value": _("Minimum value is ${value}"),
|
||||
"net_address": _("Not a valid network address (examples: 2001:db8::/64, 192.0.2.0/24)"),
|
||||
"parse": _("Parse error"),
|
||||
"positive_number": _("Must be a positive number"),
|
||||
"port": _("'${port}' is not a valid port"),
|
||||
"required": _("Required field"),
|
||||
"unsupported": _("Unsupported value"),
|
||||
|
||||
Reference in New Issue
Block a user