Browse Source

Repo: use repository as base repository

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

1
lang/ast.json

@ -29,6 +29,7 @@
"options:preferredBaseMap": "",
"options:ui_lang": "Llingua de la interfaz",
"other": "",
"repo-use-as-base": "",
"save": "Guardar",
"show details": "",
"toggle_fullscreen": "",

1
lang/ca.json

@ -29,6 +29,7 @@
"options:preferredBaseMap": "",
"options:ui_lang": "",
"other": "",
"repo-use-as-base": "",
"save": "Guardar",
"show details": "",
"toggle_fullscreen": "",

1
lang/cs.json

@ -29,6 +29,7 @@
"options:preferredBaseMap": "",
"options:ui_lang": "Jazyk rozhraní",
"other": "",
"repo-use-as-base": "",
"save": "Uložit",
"show details": "",
"toggle_fullscreen": "",

1
lang/da.json

@ -29,6 +29,7 @@
"options:preferredBaseMap": "",
"options:ui_lang": "Brugerfladesprog",
"other": "",
"repo-use-as-base": "",
"save": "Gem",
"show details": "",
"toggle_fullscreen": "",

1
lang/de.json

@ -32,6 +32,7 @@
"options:preferredBaseMap": "Bevorzugte Hintergrundkarte",
"options:ui_lang": "Anwendungssprache",
"other": "Andere",
"repo-use-as-base": "",
"save": "Speichern",
"show details": "zeige Details",
"toggle_fullscreen": "(De-)aktiviere Vollbildmodus",

1
lang/el.json

@ -29,6 +29,7 @@
"options:preferredBaseMap": "",
"options:ui_lang": "Γλώσσα διεπαφής",
"other": "",
"repo-use-as-base": "",
"save": "Αποθήκευση",
"show details": "",
"toggle_fullscreen": "",

1
lang/en.json

@ -32,6 +32,7 @@
"options:preferredBaseMap": "Preferred base map",
"options:ui_lang": "Interface language",
"other": "Other",
"repo-use-as-base": "Use this repository as base repository",
"save": "Save",
"show details": "show details",
"toggle_fullscreen": "Toggle full screen mode",

1
lang/es.json

@ -29,6 +29,7 @@
"options:preferredBaseMap": "",
"options:ui_lang": "Idioma de interfaz",
"other": "",
"repo-use-as-base": "",
"save": "Guardar",
"show details": "",
"toggle_fullscreen": "",

1
lang/et.json

@ -29,6 +29,7 @@
"options:preferredBaseMap": "",
"options:ui_lang": "Kasutajaliidese keel",
"other": "",
"repo-use-as-base": "",
"save": "Salvesta",
"show details": "",
"toggle_fullscreen": "",

1
lang/fr.json

@ -29,6 +29,7 @@
"options:preferredBaseMap": "Carte de base préférée",
"options:ui_lang": "Langue de l'interface",
"other": "Autres",
"repo-use-as-base": "",
"save": "Sauvegarder",
"show details": "montrer les détails",
"toggle_fullscreen": "Basculer en plein écran",

1
lang/hu.json

@ -29,6 +29,7 @@
"options:preferredBaseMap": "Előnyben részesített alaptérkép",
"options:ui_lang": "Menü nyelve",
"other": "Egyéb",
"repo-use-as-base": "",
"save": "Mentés",
"show details": "Részletek megjelenítése",
"toggle_fullscreen": "Teljes képernyős nézet",

1
lang/it.json

@ -29,6 +29,7 @@
"options:preferredBaseMap": "",
"options:ui_lang": "Lingua dell'interfaccia",
"other": "",
"repo-use-as-base": "",
"save": "Salva",
"show details": "",
"toggle_fullscreen": "",

1
lang/ja.json

@ -29,6 +29,7 @@
"options:preferredBaseMap": "",
"options:ui_lang": "インタフェース表示",
"other": "",
"repo-use-as-base": "",
"save": "保存",
"show details": "",
"toggle_fullscreen": "",

1
lang/nl.json

@ -29,6 +29,7 @@
"options:preferredBaseMap": "",
"options:ui_lang": "Interfacetaal",
"other": "",
"repo-use-as-base": "",
"save": "Opslaan",
"show details": "",
"toggle_fullscreen": "",

1
lang/pl.json

@ -29,6 +29,7 @@
"options:preferredBaseMap": "",
"options:ui_lang": "Język interfejsu",
"other": "",
"repo-use-as-base": "",
"save": "Zapisz",
"show details": "",
"toggle_fullscreen": "",

1
lang/pt-br.json

@ -32,6 +32,7 @@
"options:preferredBaseMap": "Mapa-base preferido",
"options:ui_lang": "Língua da interface",
"other": "Outro",
"repo-use-as-base": "",
"save": "Salvar",
"show details": "mostrar detalhes",
"toggle_fullscreen": "Alternar modo tela cheia",

1
lang/pt.json

@ -32,6 +32,7 @@
"options:preferredBaseMap": "Mapa-base preferido",
"options:ui_lang": "Língua da interface",
"other": "Outro",
"repo-use-as-base": "",
"save": "Guardar",
"show details": "mostrar detalhes",
"toggle_fullscreen": "Alternar modo ecrã inteiro",

1
lang/ro.json

@ -29,6 +29,7 @@
"options:preferredBaseMap": "",
"options:ui_lang": "Limba interfata",
"other": "",
"repo-use-as-base": "",
"save": "Salveaza",
"show details": "",
"toggle_fullscreen": "",

1
lang/ru.json

@ -29,6 +29,7 @@
"options:preferredBaseMap": "",
"options:ui_lang": "Язык интерфейса",
"other": "",
"repo-use-as-base": "",
"save": "Сохранить",
"show details": "",
"toggle_fullscreen": "",

1
lang/sr.json

@ -29,6 +29,7 @@
"options:preferredBaseMap": "",
"options:ui_lang": "Језик интерфејса",
"other": "",
"repo-use-as-base": "",
"save": "Запамти",
"show details": "",
"toggle_fullscreen": "",

1
lang/template.json

@ -29,6 +29,7 @@
"options:preferredBaseMap": "",
"options:ui_lang": "",
"other": "",
"repo-use-as-base": "",
"save": "",
"show details": "",
"toggle_fullscreen": "",

1
lang/uk.json

@ -29,6 +29,7 @@
"options:preferredBaseMap": "",
"options:ui_lang": "Мова інтерфейсу",
"other": "",
"repo-use-as-base": "",
"save": "Зберегти",
"show details": "",
"toggle_fullscreen": "",

15
src/addCategories.js

@ -67,6 +67,21 @@ function addCategoriesShow (repo) {
})
}
let menu = document.createElement('ul')
menu.className = 'menu'
content.appendChild(menu)
if (repo) {
let li = document.createElement('li')
menu.appendChild(li)
let text = document.createElement('a')
text.innerHTML = lang('repo-use-as-base')
text.href = '#repo=' + repo
text.onclick = addCategoriesHide
li.appendChild(text)
}
if ('branches' in repoData) {
let text = document.createElement('span')
text.innerHTML = lang('available_branches') + ': '

Loading…
Cancel
Save