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;
/*
$fTotalFac is a suprisingly good indicator of accuracy
$fTotalFac is a surprisingly good indicator of accuracy
$iZoom = 18 + round(log($fTotalFac,32));
$iZoom = max(13,min(18,$iZoom));
*/

View File

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

View File

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