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

7
lang/cs.json

@ -5,7 +5,10 @@
"default": "", "default": "",
"error": "", "error": "",
"facilities": "", "facilities": "",
"header:attributes": "",
"header:osm_meta": "",
"images": "", "images": "",
"loading": "",
"main:options": "Nastavení", "main:options": "Nastavení",
"more": "více", "more": "více",
"more_categories": "Více kategorií", "more_categories": "Více kategorií",
@ -23,5 +26,7 @@
"toggle_fullscreen": "", "toggle_fullscreen": "",
"unknown": "", "unknown": "",
"unnamed": "nepojmenováno", "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": "", "default": "",
"error": "", "error": "",
"facilities": "", "facilities": "",
"header:attributes": "",
"header:osm_meta": "",
"images": "", "images": "",
"loading": "",
"main:options": "Indstillinger", "main:options": "Indstillinger",
"more": "mere", "more": "mere",
"more_categories": "Flere kategorier", "more_categories": "Flere kategorier",
@ -23,5 +26,7 @@
"toggle_fullscreen": "", "toggle_fullscreen": "",
"unknown": "", "unknown": "",
"unnamed": "unavngivet", "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" "!=1": "Fehler"
}, },
"facilities": "Einrichtungen", "facilities": "Einrichtungen",
"header:attributes": "Attribute",
"header:osm_meta": "OSM Meta",
"images": "Bilder", "images": "Bilder",
"loading": "Laden ...",
"main:options": "Optionen", "main:options": "Optionen",
"more": "mehr", "more": "mehr",
"more_categories": "Mehr Kategorien", "more_categories": "Mehr Kategorien",
@ -26,5 +29,7 @@
"toggle_fullscreen": "(De-)aktiviere Vollbildmodus", "toggle_fullscreen": "(De-)aktiviere Vollbildmodus",
"unknown": "unbekannt", "unknown": "unbekannt",
"unnamed": "Namenlos", "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": "", "default": "",
"error": "", "error": "",
"facilities": "", "facilities": "",
"header:attributes": "",
"header:osm_meta": "",
"images": "", "images": "",
"loading": "",
"main:options": "Επιλογές", "main:options": "Επιλογές",
"more": "περισσότερα", "more": "περισσότερα",
"more_categories": "Περισσότερες κατηγορίες", "more_categories": "Περισσότερες κατηγορίες",
@ -23,5 +26,7 @@
"toggle_fullscreen": "", "toggle_fullscreen": "",
"unknown": "", "unknown": "",
"unnamed": "ανώνυμο", "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" "!=1": "Errors"
}, },
"facilities": "Facilities", "facilities": "Facilities",
"header:attributes": "Attributes",
"header:osm_meta": "OSM Meta",
"images": "Images", "images": "Images",
"loading": "Loading ...",
"main:options": "Options", "main:options": "Options",
"more": "more", "more": "more",
"more_categories": "More categories", "more_categories": "More categories",
@ -26,5 +29,7 @@
"toggle_fullscreen": "Toggle full screen mode", "toggle_fullscreen": "Toggle full screen mode",
"unknown": "unknown", "unknown": "unknown",
"unnamed": "unnamed", "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": "", "default": "",
"error": "", "error": "",
"facilities": "", "facilities": "",
"header:attributes": "",
"header:osm_meta": "",
"images": "", "images": "",
"loading": "",
"main:options": "Opciones", "main:options": "Opciones",
"more": "más", "more": "más",
"more_categories": "Más categorías", "more_categories": "Más categorías",
@ -23,5 +26,7 @@
"toggle_fullscreen": "", "toggle_fullscreen": "",
"unknown": "", "unknown": "",
"unnamed": "", "unnamed": "",
"wikipedia:no-url-parse": ""
"wikipedia:no-url-parse": "",
"zoom_in_appear": "",
"zoom_in_more": ""
} }

7
lang/et.json

@ -5,7 +5,10 @@
"default": "", "default": "",
"error": "", "error": "",
"facilities": "", "facilities": "",
"header:attributes": "",
"header:osm_meta": "",
"images": "", "images": "",
"loading": "",
"main:options": "Valikud", "main:options": "Valikud",
"more": "lisaks", "more": "lisaks",
"more_categories": "Rohkem kategooriaid", "more_categories": "Rohkem kategooriaid",
@ -23,5 +26,7 @@
"toggle_fullscreen": "", "toggle_fullscreen": "",
"unknown": "", "unknown": "",
"unnamed": "nimeta", "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": "", "default": "",
"error": "", "error": "",
"facilities": "", "facilities": "",
"header:attributes": "",
"header:osm_meta": "",
"images": "", "images": "",
"loading": "",
"main:options": "Options", "main:options": "Options",
"more": "plus", "more": "plus",
"more_categories": "Plus de catégories", "more_categories": "Plus de catégories",
@ -23,5 +26,7 @@
"toggle_fullscreen": "", "toggle_fullscreen": "",
"unknown": "Inconnue", "unknown": "Inconnue",
"unnamed": "sans nom", "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": "", "default": "",
"error": "", "error": "",
"facilities": "", "facilities": "",
"header:attributes": "",
"header:osm_meta": "",
"images": "", "images": "",
"loading": "",
"main:options": "Beállítások", "main:options": "Beállítások",
"more": "több", "more": "több",
"more_categories": "Több kategória", "more_categories": "Több kategória",
@ -23,5 +26,7 @@
"toggle_fullscreen": "", "toggle_fullscreen": "",
"unknown": "", "unknown": "",
"unnamed": "", "unnamed": "",
"wikipedia:no-url-parse": ""
"wikipedia:no-url-parse": "",
"zoom_in_appear": "",
"zoom_in_more": ""
} }

7
lang/it.json

@ -5,7 +5,10 @@
"default": "", "default": "",
"error": "", "error": "",
"facilities": "", "facilities": "",
"header:attributes": "",
"header:osm_meta": "",
"images": "", "images": "",
"loading": "",
"main:options": "Opzioni", "main:options": "Opzioni",
"more": "altri", "more": "altri",
"more_categories": "Altre categorie", "more_categories": "Altre categorie",
@ -23,5 +26,7 @@
"toggle_fullscreen": "", "toggle_fullscreen": "",
"unknown": "", "unknown": "",
"unnamed": "privo di nome", "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": "", "default": "",
"error": "", "error": "",
"facilities": "", "facilities": "",
"header:attributes": "",
"header:osm_meta": "",
"images": "", "images": "",
"loading": "",
"main:options": "オプション設定", "main:options": "オプション設定",
"more": "もっと", "more": "もっと",
"more_categories": "カテゴリを一覧から追加", "more_categories": "カテゴリを一覧から追加",
@ -23,5 +26,7 @@
"toggle_fullscreen": "", "toggle_fullscreen": "",
"unknown": "", "unknown": "",
"unnamed": "nameなし", "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": "", "default": "",
"error": "", "error": "",
"facilities": "", "facilities": "",
"header:attributes": "",
"header:osm_meta": "",
"images": "", "images": "",
"loading": "",
"main:options": "Opties", "main:options": "Opties",
"more": "meer", "more": "meer",
"more_categories": "Meer categorieën", "more_categories": "Meer categorieën",
@ -23,5 +26,7 @@
"toggle_fullscreen": "", "toggle_fullscreen": "",
"unknown": "", "unknown": "",
"unnamed": "naamloos", "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": "", "default": "",
"error": "", "error": "",
"facilities": "", "facilities": "",
"header:attributes": "",
"header:osm_meta": "",
"images": "", "images": "",
"loading": "",
"main:options": "Opcje", "main:options": "Opcje",
"more": "więcej", "more": "więcej",
"more_categories": "Więcej kategorii", "more_categories": "Więcej kategorii",
@ -23,5 +26,7 @@
"toggle_fullscreen": "", "toggle_fullscreen": "",
"unknown": "", "unknown": "",
"unnamed": "nienazwane", "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", "facilities": "Instalações",
"images": "Imagens", "images": "Imagens",
"header:attributes": "",
"header:osm_meta": "",
"loading": "",
"main:options": "Opções", "main:options": "Opções",
"more": "mais", "more": "mais",
"more_categories": "Mais categorias", "more_categories": "Mais categorias",
@ -26,5 +29,7 @@
"toggle_fullscreen": "Alternar modo tela cheira", "toggle_fullscreen": "Alternar modo tela cheira",
"unknown": "desconhecido", "unknown": "desconhecido",
"unnamed": "sem nome", "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": "", "default": "",
"error": "", "error": "",
"facilities": "", "facilities": "",
"header:attributes": "",
"header:osm_meta": "",
"images": "", "images": "",
"loading": "",
"main:options": "Optiuni", "main:options": "Optiuni",
"more": "Mai mult", "more": "Mai mult",
"more_categories": "Mai multe categorii", "more_categories": "Mai multe categorii",
@ -23,5 +26,7 @@
"toggle_fullscreen": "", "toggle_fullscreen": "",
"unknown": "", "unknown": "",
"unnamed": "anonim", "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": "", "default": "",
"error": "", "error": "",
"facilities": "", "facilities": "",
"header:attributes": "",
"header:osm_meta": "",
"images": "", "images": "",
"loading": "",
"main:options": "Настройки", "main:options": "Настройки",
"more": "Ещё", "more": "Ещё",
"more_categories": "Больше категорий", "more_categories": "Больше категорий",
@ -23,5 +26,7 @@
"toggle_fullscreen": "", "toggle_fullscreen": "",
"unknown": "", "unknown": "",
"unnamed": "безымянный", "unnamed": "безымянный",
"wikipedia:no-url-parse": ""
"wikipedia:no-url-parse": "",
"zoom_in_appear": "",
"zoom_in_more": ""
} }

7
lang/sr.json

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

7
lang/template.json

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

7
lang/uk.json

@ -5,7 +5,10 @@
"default": "", "default": "",
"error": "", "error": "",
"facilities": "", "facilities": "",
"header:attributes": "",
"header:osm_meta": "",
"images": "", "images": "",
"loading": "",
"main:options": "Налаштування", "main:options": "Налаштування",
"more": "Ще", "more": "Ще",
"more_categories": "Більше категорій", "more_categories": "Більше категорій",
@ -23,5 +26,7 @@
"toggle_fullscreen": "", "toggle_fullscreen": "",
"unknown": "", "unknown": "",
"unnamed": "безіменний", "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 = document.createElement('div')
p.className = 'loadingIndicator' 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) this.dom.appendChild(p)
p = document.createElement('div') p = document.createElement('div')
@ -223,12 +223,12 @@ CategoryOverpass.prototype.updateStatus = function () {
if (typeof this.data.query === 'object') { if (typeof this.data.query === 'object') {
var highestZoom = Object.keys(this.data.query).reverse()[0] var highestZoom = Object.keys(this.data.query).reverse()[0]
if (this.map.getZoom() < highestZoom) { 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) { 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) { if (options.showDetails) {
call_hooks('hide-' + document.getElementById('content').className) call_hooks('hide-' + document.getElementById('content').className)
document.getElementById('content').className = 'details' document.getElementById('content').className = 'details'
document.getElementById('contentDetails').innerHTML = 'Loading ...'
document.getElementById('contentDetails').innerHTML = lang('loading')
} }
var m = id.match(/^(.*)\/([nwr]\d+)(\/details)?$/) var m = id.match(/^(.*)\/([nwr]\d+)(\/details)?$/)
@ -269,7 +269,7 @@ window.showDetails = function (data, category) {
) )
h = document.createElement('h3') h = document.createElement('h3')
h.innerHTML = 'Attributes'
h.innerHTML = lang('header:attributes')
dom.appendChild(h) dom.appendChild(h)
div = document.createElement('dl') div = document.createElement('dl')
@ -286,7 +286,7 @@ window.showDetails = function (data, category) {
dom.appendChild(div) dom.appendChild(div)
h = document.createElement('h3') h = document.createElement('h3')
h.innerHTML = 'OSM Meta'
h.innerHTML = lang('header:osm_meta')
dom.appendChild(h) dom.appendChild(h)
div = document.createElement('dl') div = document.createElement('dl')

Loading…
Cancel
Save