From c7ae0c20db86aeace6224425f3ccf7e4726d6b46 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Mon, 2 Jan 2012 16:55:51 +0100 Subject: Added client-side validation of A and AAAA DNS records https://fedorahosted.org/freeipa/ticket/1466 --- ipalib/plugins/internal.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ipalib/plugins/internal.py') 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"), -- cgit