summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2012-09-05 14:45:26 +0200
committerPetr Vobornik <pvoborni@redhat.com>2012-09-06 10:27:16 +0200
commit77ad84f47ebe2273b6ed010853cc28d53ef9e7a5 (patch)
treeceda5dabcae4077fc51bce5e5e85b5fdd08d0290 /ipalib
parent07cae43484911ddf87b87d7d3399f7b09378f8fe (diff)
downloadfreeipa-77ad84f47ebe2273b6ed010853cc28d53ef9e7a5.tar.gz
freeipa-77ad84f47ebe2273b6ed010853cc28d53ef9e7a5.tar.xz
freeipa-77ad84f47ebe2273b6ed010853cc28d53ef9e7a5.zip
Added decimal checks to metadata validator
Medatadata validator didn't have check for decimal values. It was added. https://fedorahosted.org/freeipa/ticket/3052
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/plugins/internal.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipalib/plugins/internal.py b/ipalib/plugins/internal.py
index 26e1b63fb..f449da4f4 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'),