inc/error.inc.php
changeset 140 e68c3d6094d1
parent 138 3e36ebbfe048
child 141 1ede5203910d
equal deleted inserted replaced
139:98ce0ffae5b8 140:e68c3d6094d1
    67 define("ERR_DB_NO_DB_TYPE", _('No or unknown database type has been set in config.inc.php.'));
    67 define("ERR_DB_NO_DB_TYPE", _('No or unknown database type has been set in config.inc.php.'));
    68 
    68 
    69 /* DNS */
    69 /* DNS */
    70 define("ERR_DNS_CONTENT", _('Your content field doesnt have a legit value.'));
    70 define("ERR_DNS_CONTENT", _('Your content field doesnt have a legit value.'));
    71 define("ERR_DNS_HOSTNAME", _('Invalid hostname.'));
    71 define("ERR_DNS_HOSTNAME", _('Invalid hostname.'));
    72 define("ERR_DNS_RECORDTYPE", _('Invalid record type! You should not even been able to get that here.'));
    72 define("ERR_DNS_HN_INV_CHARS", _('You have invalid characters in your hostname.'));
       
    73 define("ERR_DNS_HN_DASH", _('A hostname can not start or end with a dash.'));
       
    74 define("ERR_DNS_HN_LENGTH", _('Given hostname or one of the labels is too short or too long.'));
       
    75 define("ERR_DNS_HN_SLASH", _('Given hostname has too many slashes.'));
       
    76 define("ERR_DNS_RR_TYPE", _('Unknown record type.'));
    73 define("ERR_DNS_IP", _('This is not a valid IPv4 or IPv6 address.')); 
    77 define("ERR_DNS_IP", _('This is not a valid IPv4 or IPv6 address.')); 
    74 define("ERR_DNS_IPV6", _('This is not a valid IPv6 address.'));
    78 define("ERR_DNS_IPV6", _('This is not a valid IPv6 address.'));
    75 define("ERR_DNS_IPV4", _('This is not a valid IPv4 address.'));
    79 define("ERR_DNS_IPV4", _('This is not a valid IPv4 address.'));
    76 define("ERR_DNS_CNAME", _('This is not a valid CNAME. Did you assign an MX or NS record to the record?'));
    80 define("ERR_DNS_CNAME", _('This is not a valid CNAME. Did you assign an MX or NS record to the record?'));
    77 define("ERR_DNS_NS_CNAME", _('You can not point a NS record to a CNAME record. Remove or rename the CNAME record first or take another name.'));
    81 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.'));
    78 define("ERR_DNS_NS_HNAME", _('NS records must be a hostnames.'));
    82 define("ERR_DNS_NS_HNAME", _('NS records must be a hostnames.'));
    79 define("ERR_DNS_MX_CNAME", _('You can not point a MX record to a CNAME record. Remove or rename the CNAME record first or take another name.'));
       
    80 define("ERR_DNS_MX_PRIO", _('A prio field should be numeric.'));
    83 define("ERR_DNS_MX_PRIO", _('A prio field should be numeric.'));
       
    84 define("ERR_DNS_SOA_NAME", _('Invalid value for name field of SOA record. It should be the name of the zone.'));
    81 define("ERR_DNS_SOA_MNAME", _('You have an error in the MNAME field of the SOA record.'));
    85 define("ERR_DNS_SOA_MNAME", _('You have an error in the MNAME field of the SOA record.'));
       
    86 define("ERR_DNS_HINFO_INV_CONTENT", _('Invalid value for content field of HINFO record.'));
       
    87 define("ERR_DNS_TXT_INV_CONTENT", _('Invalid value for content field of TXT record.'));
    82 define("ERR_DNS_HN_TOO_LONG", _('The hostname is too long.'));
    88 define("ERR_DNS_HN_TOO_LONG", _('The hostname is too long.'));
    83 define("ERR_DNS_INV_TLD", _('You are using an invalid top level domain.'));
    89 define("ERR_DNS_INV_TLD", _('You are using an invalid top level domain.'));
       
    90 define("ERR_DNS_INV_TTL", _('Invalid value for TTL field. It should be numeric.'));
       
    91 define("ERR_DNS_INV_PRIO", _('Invalid value for prio field. It should be numeric.'));
    84 
    92 
    85 /* GOOD! */
    93 /* GOOD! */
    86 define("SUC_ZONE_ADD", _('Zone has been added successfully.')); 
    94 define("SUC_ZONE_ADD", _('Zone has been added successfully.')); 
    87 define("SUC_ZONE_DEL", _('Zone has been deleted successfully.')); 
    95 define("SUC_ZONE_DEL", _('Zone has been deleted successfully.')); 
    88 define("SUC_USER_UPD", _('The user has been updated successfully.')); 
    96 define("SUC_USER_UPD", _('The user has been updated successfully.'));