all: Fix typos found by codespell (#8833)

This commit is contained in:
Dimitri Papadopoulos Orfanos
2023-03-21 08:07:28 +01:00
committed by GitHub
parent bc371eacf6
commit 526e21ae26
14 changed files with 24 additions and 24 deletions
+1 -1
View File
@@ -894,7 +894,7 @@ func getReport(db *sql.DB) map[string]interface{} {
r["distributions"] = analyticsFor(distributions, len(knownDistributions))
r["featureOrder"] = featureOrder
r["locations"] = locations
r["contries"] = countryList
r["countries"] = countryList
return r
}
+2 -2
View File
@@ -275,7 +275,7 @@ found in the LICENSE file.
<div class="col-md-6">
<table class="table table-striped">
<tbody>
{{range .contries | slice 2 1}}
{{range .countries | slice 2 1}}
<tr>
<td style="width: 45%">{{.Key}}</td>
<td style="width: 5%" class="text-right">{{if ge .Pct 10.0}}{{.Pct | printf "%.0f"}}{{else if ge .Pct 1.0}}{{.Pct | printf "%.01f"}}{{else}}{{.Pct | printf "%.02f"}}{{end}}%</td>
@@ -291,7 +291,7 @@ found in the LICENSE file.
<div class="col-md-6">
<table class="table table-striped">
<tbody>
{{range .contries | slice 2 2}}
{{range .countries | slice 2 2}}
<tr>
<td style="width: 45%">{{.Key}}</td>
<td style="width: 5%" class="text-right">{{if ge .Pct 10.0}}{{.Pct | printf "%.0f"}}{{else if ge .Pct 1.0}}{{.Pct | printf "%.01f"}}{{else}}{{.Pct | printf "%.02f"}}{{end}}%</td>