Francois Gouget : php: Fix the spelling of PHP comments.
Alexandre Julliard
julliard at winehq.org
Mon Jun 21 16:08:23 CDT 2021
Module: website
Branch: master
Commit: 69d0de55cab9df822716f1182d0c537c80d1c9aa
URL: https://source.winehq.org/git/website.git/?a=commit;h=69d0de55cab9df822716f1182d0c537c80d1c9aa
Author: Francois Gouget <fgouget at free.fr>
Date: Sat Jun 19 18:53:12 2021 +0200
php: Fix the spelling of PHP comments.
Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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;
}
More information about the wine-cvs
mailing list