Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,18 @@
</span>
<span class="t" data-t="nav.run">Run</span>
</button>
<button
class="t button"
accesskey="1"
data-ide-handler="click:onClearClick"
title=""
data-t="[title]nav.clear"
>
<span class="icon">
<span class="fas fa-eraser"></span>
</span>
<span class="t" data-t="nav.clear">Run</span>
</button>
<button
id="rerender-button"
class="t button"
Expand Down
3 changes: 3 additions & 0 deletions js/ide.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2824,6 +2824,9 @@ class IDE {
}
});
}
onClearClick() {
this.setQuery("");
}
}

const ide = new IDE();
Expand Down
1 change: 1 addition & 0 deletions locales/ast_ES.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "Executar",
"nav.run_tt": "executar esta consulta na API d'Overpass",
"nav.clear": "Clear query",
"nav.rerender_tt": "parse the MapCSS and rerender the map",
"nav.share": "Compartir",
"nav.share_tt": "enllaz permanente a la consulta",
Expand Down
1 change: 1 addition & 0 deletions locales/ca.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "Executa",
"nav.run_tt": "executa aquesta consulta a l'API de l'Overpass",
"nav.clear": "Clear query",
"nav.rerender_tt": "analitza el MapCSS i torna a renderitzar el mapa",
"nav.share": "Comparteix",
"nav.share_tt": "obté un enllaç permanent per a aquesta consulta",
Expand Down
1 change: 1 addition & 0 deletions locales/cs.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "Spustit",
"nav.run_tt": "spustit tento databázový dotaz v rozhraní Overpass API",
"nav.clear": "Clear query",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am pretty sure that only the main language file should be changed.
The other languages will get the translations later.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So what do I need to do? Revert every locales/xx.json except english?

"nav.rerender_tt": "analyzovat MapCSS a znovu vykreslit mapu",
"nav.share": "Sdílet",
"nav.share_tt": "získat trvalý odkaz pro tento databázový dotaz",
Expand Down
1 change: 1 addition & 0 deletions locales/cy.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "Gweithredu",
"nav.run_tt": "Gweithredu'r ymholiad hwn ar Overpass API",
"nav.clear": "Clear query",
"nav.rerender_tt": "dosrannu'r MapCSS ac ailgynhyrchu'r map",
"nav.share": "Rhannu",
"nav.share_tt": "cael dolen barhaol ar gyfer yr ymholiad hwn",
Expand Down
1 change: 1 addition & 0 deletions locales/da.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "Søg",
"nav.run_tt": "udfør denne søgning på Overpass API",
"nav.clear": "Clear query",
"nav.rerender_tt": "forktolk MapCSS og gentegn kortet",
"nav.share": "Del",
"nav.share_tt": "få et permalink for denne søgning",
Expand Down
1 change: 1 addition & 0 deletions locales/de.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "Ausführen",
"nav.run_tt": "Diese Abfrage auf der Overpass-API ausführen",
"nav.clear": "Clear query",
"nav.rerender_tt": "Lese die MapCSS ein und zeichne die Karte erneut",
"nav.share": "Teilen",
"nav.share_tt": "Einen Permalink für diese Abfrage erstellen.",
Expand Down
1 change: 1 addition & 0 deletions locales/el.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "Εκτέλεση",
"nav.run_tt": "εκτέλεση αυτού του ερωτήματος στο Overpass API",
"nav.clear": "Clear query",
"nav.rerender_tt": "ανάλυση του MapCss και ξανασχεδίαση του χάρτη",
"nav.share": "Μοίρασμα",
"nav.share_tt": "πάρτε ένα σταθεροδεσμό αυτού του ερωτήματος",
Expand Down
52 changes: 4 additions & 48 deletions locales/en.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions locales/en_GB.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "Run",
"nav.run_tt": "execute this query on Overpass API",
"nav.clear": "Clear query",
"nav.rerender_tt": "parse the MapCSS and rerender the map",
"nav.share": "Share",
"nav.share_tt": "get a permalink for this query",
Expand Down
1 change: 1 addition & 0 deletions locales/eo.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "Ruli",
"nav.run_tt": "plenumi ĉi tiun informpeton per overpass API",
"nav.clear": "Clear query",
"nav.rerender_tt": "analizi MapCSS kaj rebildigi la mapon",
"nav.share": "Diskonigi",
"nav.share_tt": "akiri konstantan ligilon al ĉi tiu informpeto",
Expand Down
1 change: 1 addition & 0 deletions locales/es.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "Ejecutar",
"nav.run_tt": "ejecutar esta consulta en la API Overpass",
"nav.clear": "Clear query",
"nav.rerender_tt": "analizar el MapCSS y volver a renderizar el mapa",
"nav.share": "Compartir",
"nav.share_tt": "obtener un enlace permanente para esta consulta",
Expand Down
1 change: 1 addition & 0 deletions locales/et.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "Käivita",
"nav.run_tt": "teosta antud päring Overpass API peal",
"nav.clear": "Clear query",
"nav.rerender_tt": "parse the MapCSS and rerender the map",
"nav.share": "Jaga",
"nav.share_tt": "püsilink antud päringule",
Expand Down
1 change: 1 addition & 0 deletions locales/fa.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "اجرا",
"nav.run_tt": "این پرس‌وجو را از طریق Overpass API اجرا کنید",
"nav.clear": "Clear query",
"nav.rerender_tt": "MapCSS را بخوان و نقشه را دوباره رندر کن",
"nav.share": "هم‌رسانی",
"nav.share_tt": "برای این پرس‌وجو یک پایاپیوند دریافت کنید",
Expand Down
1 change: 1 addition & 0 deletions locales/fr.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "Exécuter",
"nav.run_tt": "Exécuter cette requête avec l'API Overpass",
"nav.clear": "Clear query",
"nav.rerender_tt": "analyser le MapCSS et refaire le rendu de carte",
"nav.share": "Partager",
"nav.share_tt": "obtenir un permalien pour cette requête",
Expand Down
1 change: 1 addition & 0 deletions locales/gl.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "Executar",
"nav.run_tt": "executar esta consulta no Overpass API",
"nav.clear": "Clear query",
"nav.rerender_tt": "parse the MapCSS and rerender the map",
"nav.share": "Compartir",
"nav.share_tt": "obter unha ligazón para esta consulta",
Expand Down
1 change: 1 addition & 0 deletions locales/hr.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "Pokreni",
"nav.run_tt": "execute this query on Overpass API",
"nav.clear": "Clear query",
"nav.rerender_tt": "parse the MapCSS and rerender the map",
"nav.share": "Dijeli",
"nav.share_tt": "get a permalink for this query",
Expand Down
1 change: 1 addition & 0 deletions locales/hu.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "Futtatás",
"nav.run_tt": "a lekérdezés futtatása Overpass API-n",
"nav.clear": "Clear query",
"nav.rerender_tt": "a MapCSS elemzése és a térkép újbóli megjelenítése",
"nav.share": "Megosztás",
"nav.share_tt": "állandó hivatkozás erre a lekérdezésre",
Expand Down
1 change: 1 addition & 0 deletions locales/it.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "Esegui",
"nav.run_tt": "esegui questa richiesta con le API Overpass",
"nav.clear": "Clear query",
"nav.rerender_tt": "analizza il codice MapCSS e aggiorna la mappa",
"nav.share": "Condividi",
"nav.share_tt": "ottieni un link permanente per questa richiesta",
Expand Down
1 change: 1 addition & 0 deletions locales/ja.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "実行",
"nav.run_tt": "このクエリをOverpass APIで実行する",
"nav.clear": "Clear query",
"nav.rerender_tt": "MapCSSを解析して地図を再描画する",
"nav.share": "共有",
"nav.share_tt": "このクエリのパーマリンクを取得する",
Expand Down
1 change: 1 addition & 0 deletions locales/ko.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "실행",
"nav.run_tt": "이 쿼리를 Overpass API에서 실행합니다",
"nav.clear": "Clear query",
"nav.rerender_tt": "MapCSS를 파싱하고 지도를 다시 렌더링합니다",
"nav.share": "공유",
"nav.share_tt": "이 쿼리의 고유 링크를 얻습니다",
Expand Down
1 change: 1 addition & 0 deletions locales/lv.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "Run",
"nav.run_tt": "execute this query on Overpass API",
"nav.clear": "Clear query",
"nav.rerender_tt": "parse the MapCSS and rerender the map",
"nav.share": "Share",
"nav.share_tt": "get a permalink for this query",
Expand Down
1 change: 1 addition & 0 deletions locales/mr.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "चालवा",
"nav.run_tt": "ही विचारणा overpass API वर चालवा",
"nav.clear": "Clear query",
"nav.rerender_tt": "MapCSS वाचा आणि नकाशा परत काढा",
"nav.share": "सामायिक",
"nav.share_tt": "ह्या विचारणाची कायमदुवा मिळवा",
Expand Down
1 change: 1 addition & 0 deletions locales/nl.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "Uitvoeren",
"nav.run_tt": "bevraag Overpass API",
"nav.clear": "Clear query",
"nav.rerender_tt": "parse de MapCSS en geef de kaart weer",
"nav.share": "Delen",
"nav.share_tt": "Permanent geldige doorverwijzing voor deze bevraging aanmaken",
Expand Down
1 change: 1 addition & 0 deletions locales/no.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "Søk",
"nav.run_tt": "kjør denne spørringen mot Overpass API",
"nav.clear": "Clear query",
"nav.rerender_tt": "parse the MapCSS and rerender the map",
"nav.share": "Del",
"nav.share_tt": "hent permanent lenke for dette søket",
Expand Down
1 change: 1 addition & 0 deletions locales/oc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "Run",
"nav.run_tt": "execute this query on Overpass API",
"nav.clear": "Clear query",
"nav.rerender_tt": "parse the MapCSS and rerender the map",
"nav.share": "Share",
"nav.share_tt": "get a permalink for this query",
Expand Down
1 change: 1 addition & 0 deletions locales/pl.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "Uruchom",
"nav.run_tt": "uruchom tę kwerendę na Overpass API",
"nav.clear": "Clear query",
"nav.rerender_tt": "parse the MapCSS and rerender the map",
"nav.share": "Udostępnij",
"nav.share_tt": "Link do tej kwerendy",
Expand Down
1 change: 1 addition & 0 deletions locales/pt.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "Executar",
"nav.run_tt": "executar esta consulta na API do Overpass",
"nav.clear": "Clear query",
"nav.rerender_tt": "analisar o MapCSS e renderizar novamente o mapa",
"nav.share": "Partilhar",
"nav.share_tt": "obter uma hiperligação permanente para esta consulta",
Expand Down
1 change: 1 addition & 0 deletions locales/pt_BR.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "Executar",
"nav.run_tt": "execute esta consulta na API do Overpass",
"nav.clear": "Clear query",
"nav.rerender_tt": "analisar o MapCSS e renderizar novamente o mapa",
"nav.share": "Compartilhar",
"nav.share_tt": "pegue um link permanente para essa consulta",
Expand Down
1 change: 1 addition & 0 deletions locales/ro.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "Executa",
"nav.run_tt": "Executa interogarea cu Overpass API",
"nav.clear": "Clear query",
"nav.rerender_tt": "parse the MapCSS and rerender the map",
"nav.share": "Distribuie",
"nav.share_tt": "obtine un link permanent pentru aceasta interogare",
Expand Down
1 change: 1 addition & 0 deletions locales/ru.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "Старт",
"nav.run_tt": "выполнить этот запрос в Overpass API",
"nav.clear": "Clear query",
"nav.rerender_tt": "проанализировать MapCSS и перерисовать карту",
"nav.share": "Поделиться",
"nav.share_tt": "получить постоянную ссылку на этот запрос",
Expand Down
1 change: 1 addition & 0 deletions locales/sl.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "Poženi",
"nav.run_tt": "execute this query on Overpass API",
"nav.clear": "Clear query",
"nav.rerender_tt": "parse the MapCSS and rerender the map",
"nav.share": "Deli",
"nav.share_tt": "get a permalink for this query",
Expand Down
1 change: 1 addition & 0 deletions locales/sv.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "Run",
"nav.run_tt": "execute this query on Overpass API",
"nav.clear": "Clear query",
"nav.rerender_tt": "parse the MapCSS and rerender the map",
"nav.share": "Dela",
"nav.share_tt": "get a permalink for this query",
Expand Down
1 change: 1 addition & 0 deletions locales/th.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "รัน",
"nav.run_tt": "ดำเนินการคำร้องถามบน Overpass API",
"nav.clear": "Clear query",
"nav.rerender_tt": "วิเคราะห์ MapCSS และเรนเดอร์แผนที่ใหม่",
"nav.share": "แชร์",
"nav.share_tt": "รับลิงก์ถาวรสำหรับคำร้องถามนี้",
Expand Down
1 change: 1 addition & 0 deletions locales/tr_TR.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "Çalıştır",
"nav.run_tt": "Bu sorguyu Overpass API üzerinde çalıştırın",
"nav.clear": "Clear query",
"nav.rerender_tt": "MapCSS verisini oku ve haritayı yeniden çiz",
"nav.share": "Paylaş",
"nav.share_tt": "Sorgu için paylaşma uzantısı oluştur",
Expand Down
1 change: 1 addition & 0 deletions locales/uk.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "Старт",
"nav.run_tt": "виконати цей запит в Overpass API",
"nav.clear": "Clear query",
"nav.rerender_tt": "опрацювати MapCSS та показати дані на мапі",
"nav.share": "Поділитися",
"nav.share_tt": "отримати постійне посилання на цей запит",
Expand Down
1 change: 1 addition & 0 deletions locales/vi.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "Chạy",
"nav.run_tt": "chạy truy vấn này trên Overpass API",
"nav.clear": "Clear query",
"nav.rerender_tt": "phân tích mã MapCSS và kết xuất lại bản đồ",
"nav.share": "Chia sẻ",
"nav.share_tt": "lấy liên kết thường trực đến truy vấn này",
Expand Down
1 change: 1 addition & 0 deletions locales/zh_CN.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "运行",
"nav.run_tt": "通过 Overpass API 执行此查询",
"nav.clear": "Clear query",
"nav.rerender_tt": "解析 MapCSS 并重新渲染地图",
"nav.share": "分享",
"nav.share_tt": "获取此查询的固定链接",
Expand Down
1 change: 1 addition & 0 deletions locales/zh_TW.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"nav.run": "執行",
"nav.run_tt": "使用Overpass API執行檢索",
"nav.clear": "Clear query",
"nav.rerender_tt": "解析 MapCSS 並重新渲染地圖",
"nav.share": "分享",
"nav.share_tt": "取得檢索結果的永久連結",
Expand Down