[WineHQ] php: Fix the spelling of PHP comments.

Francois Gouget fgouget at free.fr
Sat Jun 19 11:53:12 CDT 2021


Signed-off-by: Francois Gouget <fgouget at free.fr>
---
 include/incl.php  | 4 ++--
 include/utils.php | 2 +-
 include/wwn.php   | 2 +-
 site.php          | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/include/incl.php b/include/incl.php
index 4a528614..443bde2c 100644
--- a/include/incl.php
+++ b/include/incl.php
@@ -84,7 +84,7 @@ else
             $avail = array_map("strtolower", $avail);
             foreach ($avail as $inLang)
             {
-                // check to see if langage is available
+                // check to see if language is available
                 if (in_array($inLang, $GLOBALS['config']->languages))
                 {
                     debug("global", "lang from browser: {$inLang}");
@@ -92,7 +92,7 @@ else
                     break;
                 }
 
-                // check to see if variation of langage is available
+                // check to see if variation of language is available
                 if (strlen($inLang) > 2)
                 {
                     $inLangAlt = substr($inLang, 0, 2);
diff --git a/include/utils.php b/include/utils.php
index 4876bd89..7052f67e 100644
--- a/include/utils.php
+++ b/include/utils.php
@@ -357,7 +357,7 @@ function array_finder ($array, $filter)
     return $ret;
 }
 
-// sort a multi-dimentional array by one of the keys
+// sort a multi-dimensional array by one of the keys
 function array_qsort (&$array, $column=0, $order=SORT_ASC, $first=0, $last= -2)
 {
     // $array  - the array to be sorted
diff --git a/include/wwn.php b/include/wwn.php
index d13957ec..9231be81 100644
--- a/include/wwn.php
+++ b/include/wwn.php
@@ -21,7 +21,7 @@ class wwn
     private $map_array;
     private $inquote = 0;
 
-    // constuctor
+    // constructor
     public function __construct ()
     {
         $this->summary = array();
diff --git a/site.php b/site.php
index e108f779..1c4be8ce 100644
--- a/site.php
+++ b/site.php
@@ -56,7 +56,7 @@ if (isset($_SERVER['PATH_INFO']))
                 $_SERVER['PHP_SELF'] = str_replace($page_params, '', $_SERVER['PHP_SELF']);
                 $_SERVER['PHP_SELF'] = preg_replace('/\/\/$/', '/', $_SERVER['PHP_SELF']);
 
-                // don't contine the loop, this is the end page
+                // don't continue the loop, this is the end page
                 unset($page_params);
                 break;
             }
-- 
2.20.1




More information about the wine-devel mailing list