Browse Source

Found some strings which need to be translated

- incl. translation for de, en
master
parent
commit
416ee2b492
  1. 7
      lang/ast.json
  2. 7
      lang/ca.json
  3. 7
      lang/cs.json
  4. 7
      lang/da.json
  5. 7
      lang/de.json
  6. 7
      lang/el.json
  7. 7
      lang/en.json
  8. 7
      lang/es.json
  9. 7
      lang/et.json
  10. 7
      lang/fr.json
  11. 7
      lang/hu.json
  12. 7
      lang/it.json
  13. 7
      lang/ja.json
  14. 7
      lang/nl.json
  15. 7
      lang/pl.json
  16. 7
      lang/pt-br.json
  17. 7
      lang/ro.json
  18. 7
      lang/ru.json
  19. 7
      lang/sr.json
  20. 7
      lang/template.json
  21. 7
      lang/uk.json
  22. 6
      src/CategoryOverpass.js
  23. 6
      src/index.js

7
lang/ast.json

@ -5,7 +5,10 @@
"default": "",
"error": "",
"facilities": "",
"header:attributes": "",
"header:osm_meta": "",
"images": "",
"loading": "",
"main:options": "Opciones",
"more": "más",
"more_categories": "Más categoríes",
@ -23,5 +26,7 @@
"toggle_fullscreen": "",
"unknown": "",
"unnamed": "ensin nome",
"wikipedia:no-url-parse": ""
"wikipedia:no-url-parse": "",
"zoom_in_appear": "",
"zoom_in_more": ""
}

7
lang/ca.json

@ -5,7 +5,10 @@
"default": "",
"error": "",
"facilities": "",
"header:attributes": "",
"header:osm_meta": "",
"images": "",
"loading": "",
"main:options": "Opcions",
"more": "més",
"more_categories": "Més categories",
@ -23,5 +26,7 @@
"toggle_fullscreen": "",
"unknown": "",
"unnamed": "",
"wikipedia:no-url-parse": ""
"wikipedia:no-url-parse": "",
"zoom_in_appear": "",
"zoom_in_more": ""
}

7
lang/cs.json

@ -5,7 +5,10 @@
"default": "",
"error": "",
"facilities": "",
"header:attributes": "",
"header:osm_meta": "",
"images": "",
"loading": "",
"main:options": "Nastavení",
"more": "více",
"more_categories": "Více kategorií",
@ -23,5 +26,7 @@
"toggle_fullscreen": "",
"unknown": "",
"unnamed": "nepojmenováno",
"wikipedia:no-url-parse": ""
"wikipedia:no-url-parse": "",
"zoom_in_appear": "",
"zoom_in_more": ""
}

7
lang/da.json

@ -5,7 +5,10 @@
"default": "",
"error": "",
"facilities": "",
"header:attributes": "",
"header:osm_meta": "",
"images": "",
"loading": "",
"main:options": "Indstillinger",
"more": "mere",
"more_categories": "Flere kategorier",
@ -23,5 +26,7 @@
"toggle_fullscreen": "",
"unknown": "",
"unnamed": "unavngivet",
"wikipedia:no-url-parse": ""
"wikipedia:no-url-parse": "",
"zoom_in_appear": "",
"zoom_in_more": ""
}

7
lang/de.json

@ -8,7 +8,10 @@
"!=1": "Fehler"
},
"facilities": "Einrichtungen",
"header:attributes": "Attribute",
"header:osm_meta": "OSM Meta",
"images": "Bilder",
"loading": "Laden ...",
"main:options": "Optionen",
"more": "mehr",
"more_categories": "Mehr Kategorien",
@ -26,5 +29,7 @@
"toggle_fullscreen": "(De-)aktiviere Vollbildmodus",
"unknown": "unbekannt",
"unnamed": "Namenlos",
"wikipedia:no-url-parse": "Konnte Wikipedia Adresse nicht erkennen"
"wikipedia:no-url-parse": "Konnte Wikipedia Adresse nicht erkennen",
"zoom_in_appear": "Zoome hinein um Kartenobjekte zu sehen",
"zoom_in_more": "Zoome hinein für weitere Kartenobjekte"
}

7
lang/el.json

@ -5,7 +5,10 @@
"default": "",
"error": "",
"facilities": "",
"header:attributes": "",
"header:osm_meta": "",
"images": "",
"loading": "",
"main:options": "Επιλογές",
"more": "περισσότερα",
"more_categories": "Περισσότερες κατηγορίες",
@ -23,5 +26,7 @@
"toggle_fullscreen": "",
"unknown": "",
"unnamed": "ανώνυμο",
"wikipedia:no-url-parse": ""
"wikipedia:no-url-parse": "",
"zoom_in_appear": "",
"zoom_in_more": ""
}

7
lang/en.json

@ -8,7 +8,10 @@
"!=1": "Errors"
},
"facilities": "Facilities",
"header:attributes": "Attributes",
"header:osm_meta": "OSM Meta",
"images": "Images",
"loading": "Loading ...",
"main:options": "Options",
"more": "more",
"more_categories": "More categories",
@ -26,5 +29,7 @@
"toggle_fullscreen": "Toggle full screen mode",
"unknown": "unknown",
"unnamed": "unnamed",
"wikipedia:no-url-parse": "Could not parse Wikipedia URL"
"wikipedia:no-url-parse": "Could not parse Wikipedia URL",
"zoom_in_appear": "zoom in for map features to appear",
"zoom_in_more": "zoom in for more map features"
}

7
lang/es.json

@ -5,7 +5,10 @@
"default": "",
"error": "",
"facilities": "",
"header:attributes": "",
"header:osm_meta": "",
"images": "",
"loading": "",
"main:options": "Opciones",
"more": "más",
"more_categories": "Más categorías",
@ -23,5 +26,7 @@
"toggle_fullscreen": "",
"unknown": "",
"unnamed": "",
"wikipedia:no-url-parse": ""
"wikipedia:no-url-parse": "",
"zoom_in_appear": "",
"zoom_in_more": ""
}

7
lang/et.json

@ -5,7 +5,10 @@
"default": "",
"error": "",
"facilities": "",
"header:attributes": "",
"header:osm_meta": "",
"images": "",
"loading": "",
"main:options": "Valikud",
"more": "lisaks",
"more_categories": "Rohkem kategooriaid",
@ -23,5 +26,7 @@
"toggle_fullscreen": "",
"unknown": "",
"unnamed": "nimeta",
"wikipedia:no-url-parse": ""
"wikipedia:no-url-parse": "",
"zoom_in_appear": "",
"zoom_in_more": ""
}

7
lang/fr.json

@ -5,7 +5,10 @@
"default": "",
"error": "",
"facilities": "",
"header:attributes": "",
"header:osm_meta": "",
"images": "",
"loading": "",
"main:options": "Options",
"more": "plus",
"more_categories": "Plus de catégories",
@ -23,5 +26,7 @@
"toggle_fullscreen": "",
"unknown": "Inconnue",
"unnamed": "sans nom",
"wikipedia:no-url-parse": ""
"wikipedia:no-url-parse": "",
"zoom_in_appear": "",
"zoom_in_more": ""
}

7
lang/hu.json

@ -5,7 +5,10 @@
"default": "",
"error": "",
"facilities": "",
"header:attributes": "",
"header:osm_meta": "",
"images": "",
"loading": "",
"main:options": "Beállítások",
"more": "több",
"more_categories": "Több kategória",
@ -23,5 +26,7 @@
"toggle_fullscreen": "",
"unknown": "",
"unnamed": "",
"wikipedia:no-url-parse": ""
"wikipedia:no-url-parse": "",
"zoom_in_appear": "",
"zoom_in_more": ""
}

7
lang/it.json

@ -5,7 +5,10 @@
"default": "",
"error": "",
"facilities": "",
"header:attributes": "",
"header:osm_meta": "",
"images": "",
"loading": "",
"main:options": "Opzioni",
"more": "altri",
"more_categories": "Altre categorie",
@ -23,5 +26,7 @@
"toggle_fullscreen": "",
"unknown": "",
"unnamed": "privo di nome",
"wikipedia:no-url-parse": ""
"wikipedia:no-url-parse": "",
"zoom_in_appear": "",
"zoom_in_more": ""
}

7
lang/ja.json

@ -5,7 +5,10 @@
"default": "",
"error": "",
"facilities": "",
"header:attributes": "",
"header:osm_meta": "",
"images": "",
"loading": "",
"main:options": "オプション設定",
"more": "もっと",
"more_categories": "カテゴリを一覧から追加",
@ -23,5 +26,7 @@
"toggle_fullscreen": "",
"unknown": "",
"unnamed": "nameなし",
"wikipedia:no-url-parse": ""
"wikipedia:no-url-parse": "",
"zoom_in_appear": "",
"zoom_in_more": ""
}

7
lang/nl.json

@ -5,7 +5,10 @@
"default": "",
"error": "",
"facilities": "",
"header:attributes": "",
"header:osm_meta": "",
"images": "",
"loading": "",
"main:options": "Opties",
"more": "meer",
"more_categories": "Meer categorieën",
@ -23,5 +26,7 @@
"toggle_fullscreen": "",
"unknown": "",
"unnamed": "naamloos",
"wikipedia:no-url-parse": ""
"wikipedia:no-url-parse": "",
"zoom_in_appear": "",
"zoom_in_more": ""
}

7
lang/pl.json

@ -5,7 +5,10 @@
"default": "",
"error": "",
"facilities": "",
"header:attributes": "",
"header:osm_meta": "",
"images": "",
"loading": "",
"main:options": "Opcje",
"more": "więcej",
"more_categories": "Więcej kategorii",
@ -23,5 +26,7 @@
"toggle_fullscreen": "",
"unknown": "",
"unnamed": "nienazwane",
"wikipedia:no-url-parse": ""
"wikipedia:no-url-parse": "",
"zoom_in_appear": "",
"zoom_in_more": ""
}

7
lang/pt-br.json

@ -9,6 +9,9 @@
},
"facilities": "Instalações",
"images": "Imagens",
"header:attributes": "",
"header:osm_meta": "",
"loading": "",
"main:options": "Opções",
"more": "mais",
"more_categories": "Mais categorias",
@ -26,5 +29,7 @@
"toggle_fullscreen": "Alternar modo tela cheira",
"unknown": "desconhecido",
"unnamed": "sem nome",
"wikipedia:no-url-parse": "Não se pôde analisar URL da Wikipédia"
"wikipedia:no-url-parse": "Não se pôde analisar URL da Wikipédia",
"zoom_in_appear": "",
"zoom_in_more": ""
}

7
lang/ro.json

@ -5,7 +5,10 @@
"default": "",
"error": "",
"facilities": "",
"header:attributes": "",
"header:osm_meta": "",
"images": "",
"loading": "",
"main:options": "Optiuni",
"more": "Mai mult",
"more_categories": "Mai multe categorii",
@ -23,5 +26,7 @@
"toggle_fullscreen": "",
"unknown": "",
"unnamed": "anonim",
"wikipedia:no-url-parse": ""
"wikipedia:no-url-parse": "",
"zoom_in_appear": "",
"zoom_in_more": ""
}

7
lang/ru.json

@ -5,7 +5,10 @@
"default": "",
"error": "",
"facilities": "",
"header:attributes": "",
"header:osm_meta": "",
"images": "",
"loading": "",
"main:options": "Настройки",
"more": "Ещё",
"more_categories": "Больше категорий",
@ -23,5 +26,7 @@
"toggle_fullscreen": "",
"unknown": "",
"unnamed": "безымянный",
"wikipedia:no-url-parse": ""
"wikipedia:no-url-parse": "",
"zoom_in_appear": "",
"zoom_in_more": ""
}

7
lang/sr.json

@ -5,7 +5,10 @@
"default": "",
"error": "",
"facilities": "",
"header:attributes": "",
"header:osm_meta": "",
"images": "",
"loading": "",
"main:options": "Опције",
"more": "још",
"more_categories": "Више категорија",
@ -23,5 +26,7 @@
"toggle_fullscreen": "",
"unknown": "",
"unnamed": "без имена",
"wikipedia:no-url-parse": ""
"wikipedia:no-url-parse": "",
"zoom_in_appear": "",
"zoom_in_more": ""
}

7
lang/template.json

@ -5,7 +5,10 @@
"default": "",
"error": "",
"facilities": "",
"header:attributes": "",
"header:osm_meta": "",
"images": "",
"loading": "",
"main:options": "",
"more": "",
"more_categories": "",
@ -23,5 +26,7 @@
"toggle_fullscreen": "",
"unknown": "",
"unnamed": "",
"wikipedia:no-url-parse": ""
"wikipedia:no-url-parse": "",
"zoom_in_appear": "",
"zoom_in_more": ""
}

7
lang/uk.json

@ -5,7 +5,10 @@
"default": "",
"error": "",
"facilities": "",
"header:attributes": "",
"header:osm_meta": "",
"images": "",
"loading": "",
"main:options": "Налаштування",
"more": "Ще",
"more_categories": "Більше категорій",
@ -23,5 +26,7 @@
"toggle_fullscreen": "",
"unknown": "",
"unnamed": "безіменний",
"wikipedia:no-url-parse": ""
"wikipedia:no-url-parse": "",
"zoom_in_appear": "",
"zoom_in_more": ""
}

6
src/CategoryOverpass.js

@ -128,7 +128,7 @@ function CategoryOverpass (options, data) {
p = document.createElement('div')
p.className = 'loadingIndicator'
p.innerHTML = '<i class="fa fa-spinner fa-pulse fa-fw"></i><span class="sr-only">Loading...</span>'
p.innerHTML = '<i class="fa fa-spinner fa-pulse fa-fw"></i><span class="sr-only">' + lang('loading') + '</span>'
this.dom.appendChild(p)
p = document.createElement('div')
@ -223,12 +223,12 @@ CategoryOverpass.prototype.updateStatus = function () {
if (typeof this.data.query === 'object') {
var highestZoom = Object.keys(this.data.query).reverse()[0]
if (this.map.getZoom() < highestZoom) {
this.domStatus.innerHTML = 'zoom in for more map features'
this.domStatus.innerHTML = lang('zoom_in_more')
}
}
if ('minZoom' in this.data && this.map.getZoom() < this.data.minZoom) {
this.domStatus.innerHTML = 'zoom in for map features to appear'
this.domStatus.innerHTML = lang('zoom_in_appear')
}
}

6
src/index.js

@ -186,7 +186,7 @@ function show (id, options, callback) {
if (options.showDetails) {
call_hooks('hide-' + document.getElementById('content').className)
document.getElementById('content').className = 'details'
document.getElementById('contentDetails').innerHTML = 'Loading ...'
document.getElementById('contentDetails').innerHTML = lang('loading')
}
var m = id.match(/^(.*)\/([nwr]\d+)(\/details)?$/)
@ -269,7 +269,7 @@ window.showDetails = function (data, category) {
)
h = document.createElement('h3')
h.innerHTML = 'Attributes'
h.innerHTML = lang('header:attributes')
dom.appendChild(h)
div = document.createElement('dl')
@ -286,7 +286,7 @@ window.showDetails = function (data, category) {
dom.appendChild(div)
h = document.createElement('h3')
h.innerHTML = 'OSM Meta'
h.innerHTML = lang('header:osm_meta')
dom.appendChild(h)
div = document.createElement('dl')

Loading…
Cancel
Save