]> git.openstreetmap.org Git - nominatim.git/commitdiff
Fix typos found with codespell in comments
authorDaniele Forsi <daniele@forsi.it>
Tue, 10 Jul 2012 13:31:01 +0000 (15:31 +0200)
committerDaniele Forsi <daniele@forsi.it>
Tue, 10 Jul 2012 13:31:01 +0000 (15:31 +0200)
lib/lib.php
website/reverse.php
website/search.php

index c1926bc70437ebde23db4dfba3879e7c67d819cb..1959ded3d4748738215e4349f3bb35a1aad25267 100644 (file)
                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));
                */
index 2f6166e4e6d82ad50112ab30cd696f791e33cdc4..c155fa573030fa54cb5a71629727b808dc2be972 100755 (executable)
@@ -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))."]";
 
index a23ed9d7379dc7e333aae1ae3fb4c45e8182dd3c..ec348e070dcd5d6aeda1773fa4048c8672dccfb2 100755 (executable)
@@ -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);