From 77ad84f47ebe2273b6ed010853cc28d53ef9e7a5 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Wed, 5 Sep 2012 14:45:26 +0200 Subject: Added decimal checks to metadata validator Medatadata validator didn't have check for decimal values. It was added. https://fedorahosted.org/freeipa/ticket/3052 --- ipalib/plugins/internal.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ipalib/plugins') diff --git a/ipalib/plugins/internal.py b/ipalib/plugins/internal.py index 26e1b63f..f449da4f 100644 --- a/ipalib/plugins/internal.py +++ b/ipalib/plugins/internal.py @@ -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'), -- cgit