Fix typos found with codespell in comments

This commit is contained in:
Daniele Forsi 2012-07-10 15:31:01 +02:00
parent ca5305661e
commit f082611e25
3 changed files with 4 additions and 4 deletions

View File

@ -273,7 +273,7 @@
return false; return false;
/* /*
$fTotalFac is a suprisingly good indicator of accuracy $fTotalFac is a surprisingly good indicator of accuracy
$iZoom = 18 + round(log($fTotalFac,32)); $iZoom = 18 + round(log($fTotalFac,32));
$iZoom = max(13,min(18,$iZoom)); $iZoom = max(13,min(18,$iZoom));
*/ */

View File

@ -28,7 +28,7 @@
$bShowAddressDetails = true; $bShowAddressDetails = true;
if (isset($_GET['addressdetails'])) $bShowAddressDetails = (bool)$_GET['addressdetails']; if (isset($_GET['addressdetails'])) $bShowAddressDetails = (bool)$_GET['addressdetails'];
// Prefered language // Preferred language
$aLangPrefOrder = getPreferredLanguages(); $aLangPrefOrder = getPreferredLanguages();
$sLanguagePrefArraySQL = "ARRAY[".join(',',array_map("getDBQuoted",$aLangPrefOrder))."]"; $sLanguagePrefArraySQL = "ARRAY[".join(',',array_map("getDBQuoted",$aLangPrefOrder))."]";

View File

@ -36,7 +36,7 @@
// Show address breakdown // Show address breakdown
$bShowAddressDetails = isset($_GET['addressdetails']) && $_GET['addressdetails']; $bShowAddressDetails = isset($_GET['addressdetails']) && $_GET['addressdetails'];
// Prefered language // Preferred language
$aLangPrefOrder = getPreferredLanguages(); $aLangPrefOrder = getPreferredLanguages();
if (isset($aLangPrefOrder['name:de'])) $bReverseInPlan = true; if (isset($aLangPrefOrder['name:de'])) $bReverseInPlan = true;
if (isset($aLangPrefOrder['name:ru'])) $bReverseInPlan = true; if (isset($aLangPrefOrder['name:ru'])) $bReverseInPlan = true;
@ -96,7 +96,7 @@
{ {
$sQuery = substr($_SERVER['PATH_INFO'], 1); $sQuery = substr($_SERVER['PATH_INFO'], 1);
// reverse order of '/' seperated string // reverse order of '/' separated string
$aPhrases = explode('/', $sQuery); $aPhrases = explode('/', $sQuery);
$aPhrases = array_reverse($aPhrases); $aPhrases = array_reverse($aPhrases);
$sQuery = join(', ',$aPhrases); $sQuery = join(', ',$aPhrases);