# HG changeset patch # User rejo # Date 1210934637 0 # Node ID 0b992665ac4d9d1b7df2ecfb9a1e67390f607ca4 # Parent def8799ec0d7c9076dbb7ac6d6597d2946191afa [feladat @ 273] Renamed error ERR_DNS_MX_NS_TO_CNAME to more generic ERR_DNS_NON_ALIAS_TARGET. See also r270. diff -r def8799ec0d7 -r 0b992665ac4d inc/dns.inc.php --- a/inc/dns.inc.php Fri May 16 10:42:36 2008 +0000 +++ b/inc/dns.inc.php Fri May 16 10:43:57 2008 +0000 @@ -254,7 +254,7 @@ $response = $db->query($query); if (PEAR::isError($response)) { error($response->getMessage()); return false; }; if ($response->numRows() > 0) { - error(ERR_DNS_MX_NS_TO_CNAME); return false; + error(ERR_DNS_NON_ALIAS_TARGET); return false; } return true; } diff -r def8799ec0d7 -r 0b992665ac4d inc/error.inc.php --- a/inc/error.inc.php Fri May 16 10:42:36 2008 +0000 +++ b/inc/error.inc.php Fri May 16 10:43:57 2008 +0000 @@ -80,7 +80,7 @@ define("ERR_DNS_IPV6", _('This is not a valid IPv6 address.')); define("ERR_DNS_IPV4", _('This is not a valid IPv4 address.')); define("ERR_DNS_CNAME", _('This is not a valid CNAME. Did you assign an MX or NS record to the record?')); -define("ERR_DNS_MX_NS_TO_CNAME", _('You can not point a NS or MX record to a CNAME record. Remove or rame the CNAME record first, or take another name.')); +define("ERR_DNS_NON_ALIAS_TARGET", _('You can not point a NS or MX record to a CNAME record. Remove or rame the CNAME record first, or take another name.')); define("ERR_DNS_NS_HNAME", _('NS records must be a hostnames.')); define("ERR_DNS_MX_PRIO", _('A prio field should be numeric.')); define("ERR_DNS_SOA_NAME", _('Invalid value for name field of SOA record. It should be the name of the zone.'));