diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2012-01-02 16:55:51 +0100 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2012-01-11 12:04:22 -0500 |
commit | a7880fb1edd395cb54bc3de237edfff76a632089 (patch) | |
tree | 9a6bab84645f3a39decf221562881f4b16c4e832 /ipalib | |
parent | d406d6481df06f920b7f452b013f5e8c2a4185e2 (diff) | |
download | freeipa.git-a7880fb1edd395cb54bc3de237edfff76a632089.tar.gz freeipa.git-a7880fb1edd395cb54bc3de237edfff76a632089.tar.xz freeipa.git-a7880fb1edd395cb54bc3de237edfff76a632089.zip |
Added client-side validation of A and AAAA DNS records
https://fedorahosted.org/freeipa/ticket/1466
Diffstat (limited to 'ipalib')
-rw-r--r-- | ipalib/plugins/internal.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ipalib/plugins/internal.py b/ipalib/plugins/internal.py index e4308140..3eed9ec5 100644 --- a/ipalib/plugins/internal.py +++ b/ipalib/plugins/internal.py @@ -515,6 +515,9 @@ class i18n_messages(Command): "validation": { "error": _("Text does not match field pattern"), "integer": _("Must be an integer"), + "ip_address": _('Not a valid IP address'), + "ip_v4_address": _('Not a valid IPv4 address'), + "ip_v6_address": _('Not a valid IPv6 address'), "max_value": _("Maximum value is ${value}"), "min_value": _("Minimum value is ${value}"), "required": _("Required field"), |