Added decimal checks to metadata validator

Medatadata validator didn't have check for decimal values. It was added.

https://fedorahosted.org/freeipa/ticket/3052
This commit is contained in:
Petr Vobornik
2012-09-05 14:45:26 +02:00
parent 07cae43484
commit 77ad84f47e
3 changed files with 15 additions and 3 deletions

View File

@@ -662,6 +662,7 @@ class i18n_messages(Command):
"undo_all": _("undo all"),
"validation": {
"error": _("Text does not match field pattern"),
"decimal": _("Must be a decimal number"),
"integer": _("Must be an integer"),
"ip_address": _('Not a valid IP address'),
"ip_v4_address": _('Not a valid IPv4 address'),