spfcheck : update messages
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5969 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
12
spfcheck.php
12
spfcheck.php
@@ -254,7 +254,7 @@ class spfcheck
|
|||||||
if (! is_string ($ext) || trim ($ext) === "")
|
if (! is_string ($ext) || trim ($ext) === "")
|
||||||
{
|
{
|
||||||
$this->errors[$domain][$part] = sprintf (dgettext ("domframework",
|
$this->errors[$domain][$part] = sprintf (dgettext ("domframework",
|
||||||
"Invalid redirect set form domain '%s' : empty"), $domain);
|
"Invalid redirect set for domain '%s' : empty"), $domain);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$ips = $ips + $this->getRecordsRecurse ($ext);
|
$ips = $ips + $this->getRecordsRecurse ($ext);
|
||||||
@@ -268,7 +268,7 @@ class spfcheck
|
|||||||
if (! is_string ($ext) || trim ($ext) === "")
|
if (! is_string ($ext) || trim ($ext) === "")
|
||||||
{
|
{
|
||||||
$this->errors[$domain][$part] = sprintf (dgettext ("domframework",
|
$this->errors[$domain][$part] = sprintf (dgettext ("domframework",
|
||||||
"Invalid include set form domain '%s' : empty"), $domain);
|
"Invalid include set for domain '%s' : empty"), $domain);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$ips = $ips + $this->getRecordsRecurse ($ext);
|
$ips = $ips + $this->getRecordsRecurse ($ext);
|
||||||
@@ -285,7 +285,7 @@ class spfcheck
|
|||||||
if (! is_string ($ext) || trim ($ext) === "")
|
if (! is_string ($ext) || trim ($ext) === "")
|
||||||
{
|
{
|
||||||
$this->errors[$domain][$part] = sprintf (dgettext ("domframework",
|
$this->errors[$domain][$part] = sprintf (dgettext ("domframework",
|
||||||
"Invalid mx set form domain '%s' : empty"), $domain);
|
"Invalid mx set for domain '%s' : empty"), $domain);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
foreach ($this->dns_get_record ($ext, DNS_MX, "$domain/$part") as
|
foreach ($this->dns_get_record ($ext, DNS_MX, "$domain/$part") as
|
||||||
@@ -308,7 +308,7 @@ class spfcheck
|
|||||||
if (! is_string ($ext) || trim ($ext) === "")
|
if (! is_string ($ext) || trim ($ext) === "")
|
||||||
{
|
{
|
||||||
$this->errors[$domain][$part] = sprintf (dgettext ("domframework",
|
$this->errors[$domain][$part] = sprintf (dgettext ("domframework",
|
||||||
"Invalid ip4 set form domain '%s' : empty"), $domain);
|
"Invalid ip4 set for domain '%s' : empty"), $domain);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@list ($ip, $mask) = explode ("/", $ext);
|
@list ($ip, $mask) = explode ("/", $ext);
|
||||||
@@ -331,7 +331,7 @@ class spfcheck
|
|||||||
if (! is_string ($ext) || trim ($ext) === "")
|
if (! is_string ($ext) || trim ($ext) === "")
|
||||||
{
|
{
|
||||||
$this->errors[$domain][$part] = sprintf (dgettext ("domframework",
|
$this->errors[$domain][$part] = sprintf (dgettext ("domframework",
|
||||||
"Invalid ip6 set form domain '%s' : empty"), $domain);
|
"Invalid ip6 set for domain '%s' : empty"), $domain);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@list ($ip, $mask) = explode ("/", $ext);
|
@list ($ip, $mask) = explode ("/", $ext);
|
||||||
@@ -367,7 +367,7 @@ class spfcheck
|
|||||||
if (! is_string ($ext) || trim ($ext) === "")
|
if (! is_string ($ext) || trim ($ext) === "")
|
||||||
{
|
{
|
||||||
$this->errors[$domain][$part] = sprintf (dgettext ("domframework",
|
$this->errors[$domain][$part] = sprintf (dgettext ("domframework",
|
||||||
"Invalid A set form domain '%s' : empty"), $domain);
|
"Invalid A set for domain '%s' : empty"), $domain);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
foreach ($this->dns_get_record ($ext, DNS_A | DNS_AAAA,
|
foreach ($this->dns_get_record ($ext, DNS_A | DNS_AAAA,
|
||||||
|
|||||||
Reference in New Issue
Block a user