From a5bf5ed905bb7aed53249ffc22ddf507940a8497 Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Wed, 29 Apr 2020 11:47:22 +0000 Subject: [PATCH] spfcheck : update messages git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5969 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- spfcheck.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/spfcheck.php b/spfcheck.php index 058b0bc..ce557ad 100644 --- a/spfcheck.php +++ b/spfcheck.php @@ -254,7 +254,7 @@ class spfcheck if (! is_string ($ext) || trim ($ext) === "") { $this->errors[$domain][$part] = sprintf (dgettext ("domframework", - "Invalid redirect set form domain '%s' : empty"), $domain); + "Invalid redirect set for domain '%s' : empty"), $domain); continue; } $ips = $ips + $this->getRecordsRecurse ($ext); @@ -268,7 +268,7 @@ class spfcheck if (! is_string ($ext) || trim ($ext) === "") { $this->errors[$domain][$part] = sprintf (dgettext ("domframework", - "Invalid include set form domain '%s' : empty"), $domain); + "Invalid include set for domain '%s' : empty"), $domain); continue; } $ips = $ips + $this->getRecordsRecurse ($ext); @@ -285,7 +285,7 @@ class spfcheck if (! is_string ($ext) || trim ($ext) === "") { $this->errors[$domain][$part] = sprintf (dgettext ("domframework", - "Invalid mx set form domain '%s' : empty"), $domain); + "Invalid mx set for domain '%s' : empty"), $domain); continue; } foreach ($this->dns_get_record ($ext, DNS_MX, "$domain/$part") as @@ -308,7 +308,7 @@ class spfcheck if (! is_string ($ext) || trim ($ext) === "") { $this->errors[$domain][$part] = sprintf (dgettext ("domframework", - "Invalid ip4 set form domain '%s' : empty"), $domain); + "Invalid ip4 set for domain '%s' : empty"), $domain); continue; } @list ($ip, $mask) = explode ("/", $ext); @@ -331,7 +331,7 @@ class spfcheck if (! is_string ($ext) || trim ($ext) === "") { $this->errors[$domain][$part] = sprintf (dgettext ("domframework", - "Invalid ip6 set form domain '%s' : empty"), $domain); + "Invalid ip6 set for domain '%s' : empty"), $domain); continue; } @list ($ip, $mask) = explode ("/", $ext); @@ -367,7 +367,7 @@ class spfcheck if (! is_string ($ext) || trim ($ext) === "") { $this->errors[$domain][$part] = sprintf (dgettext ("domframework", - "Invalid A set form domain '%s' : empty"), $domain); + "Invalid A set for domain '%s' : empty"), $domain); continue; } foreach ($this->dns_get_record ($ext, DNS_A | DNS_AAAA,