mirror of
https://github.com/CIMEngine/map.git
synced 2024-11-25 04:06:20 +03:00
fix: language
This commit is contained in:
parent
1b2e0eadf9
commit
0b4ce6d201
1 changed files with 4 additions and 4 deletions
8
index.js
8
index.js
|
@ -32,7 +32,7 @@ function logoccupation(...str) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function onMapClick(e) {
|
function onMapClick(e) {
|
||||||
loginfo("Даблклик", e.latlng.toString());
|
loginfo("click on:", e.latlng.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
window.onload = async () => {
|
window.onload = async () => {
|
||||||
|
@ -163,7 +163,7 @@ window.onload = async () => {
|
||||||
`
|
`
|
||||||
${
|
${
|
||||||
feature?.properties?.amount
|
feature?.properties?.amount
|
||||||
? `<div class="row glass" style="color: "white";"><div class="col">Население - ${feature.properties.amount} чел.</div></div>`
|
? `<div class="row glass" style="color: "white";"><div class="col">Population - ${feature.properties.amount} people.</div></div>`
|
||||||
: ""
|
: ""
|
||||||
}
|
}
|
||||||
<div class="row" style="padding: 5px;">
|
<div class="row" style="padding: 5px;">
|
||||||
|
@ -223,7 +223,7 @@ window.onload = async () => {
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 text-center glass">
|
<div class="col-12 text-center glass">
|
||||||
Основание: ${country.date}
|
Founding date: ${country.date}
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-12 col-sm-12 text-center glass">
|
<div class="col-md-12 col-sm-12 text-center glass">
|
||||||
${
|
${
|
||||||
|
@ -237,7 +237,7 @@ window.onload = async () => {
|
||||||
<div class="col-12 text-center mt-2">
|
<div class="col-12 text-center mt-2">
|
||||||
${
|
${
|
||||||
country.about
|
country.about
|
||||||
? `<a href="${country.about}" class="about">Подробнее</a>`
|
? `<a href="${country.about}" class="about">About</a>`
|
||||||
: ""
|
: ""
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue