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