mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-23 05:35:13 +03:00
Fix typos found with codespell in comments
This commit is contained in:
parent
ca5305661e
commit
f082611e25
@ -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));
|
||||
*/
|
||||
|
@ -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))."]";
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user