Skip to content

Commit

Permalink
edit in osm button
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanocudini committed Apr 1, 2018
1 parent fc744aa commit 32fccce
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 12 deletions.
3 changes: 3 additions & 0 deletions packages/osm/client/views/panels.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
{{#with osm}}
{{> popupOsm}}
{{/with}}
<a class="btn btn-default clearfix pull-right" target="_blank" href="https://www.openstreetmap.org/edit?{{osm.properties.type}}={{osm.properties.id}}&amp;editor=id">
<i class="icon icon-osm"></i> {{i18n 'btn_osmedit'}}
</a>
</div>
<div style="font-size:10px" class="text-muted text-right">
provided by <a href="http://www.osm.org/" target="_blank">openstreetmap.org</a>
Expand Down
5 changes: 3 additions & 2 deletions packages/osm/i18n/de.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ i18n.map('de', {
label_osmuser: "Nutzer",
label_osmdate: "Datum",

btn_osmsearch: "Suche OpenStreetMap!",
btn_osmimport: "Importiere OpenStreetMap!"
btn_osmsearch: "Suche OpenStreetMap",
btn_osmimport: "Importiere OpenStreetMap",
btn_osmedit: "Bearbeiten in OpenStreetMap"
});
5 changes: 3 additions & 2 deletions packages/osm/i18n/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ i18n.map('en', {
label_osmuser: "User",
label_osmdate: "Date",

btn_osmsearch: "Search OpenStreetMap!",
btn_osmimport: "Import OpenStreetMap!"
btn_osmsearch: "Search OpenStreetMap",
btn_osmimport: "Import OpenStreetMap",
btn_osmedit: "Edit in OpenStreetMap"
});
5 changes: 3 additions & 2 deletions packages/osm/i18n/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ i18n.map('es', {
label_osmuser: "Usuario",
label_osmdate: "Fecha",

btn_osmsearch: "Buscar OpenStreetMap!",
btn_osmimport: "Importar OpenStreetMap!"
btn_osmsearch: "Buscar OpenStreetMap",
btn_osmimport: "Importar OpenStreetMap",
btn_osmedit: "Modificar en OpenStreetMap"
});
5 changes: 3 additions & 2 deletions packages/osm/i18n/fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ i18n.map('fr', {
label_osmuser: "Utilisateur",
label_osmdate: "Date",

btn_osmsearch: "Chercher OpenStreetMap!",
btn_osmimport: "Importer OpenStreetMap!"
btn_osmsearch: "Chercher OpenStreetMap",
btn_osmimport: "Importer OpenStreetMap",
btn_osmedit: "Modifier in OpenStreetMap"
});
5 changes: 3 additions & 2 deletions packages/osm/i18n/it.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ i18n.map('it', {
label_osmuser: "Utente",
label_osmdate: "Data",

btn_osmsearch: "Cerca OpenStreetMap!",
btn_osmimport: "Importa OpenStreetMap!"
btn_osmsearch: "Cerca OpenStreetMap",
btn_osmimport: "Importa OpenStreetMap",
btn_osmedit: "Modifica in OpenStreetMap"
});
5 changes: 3 additions & 2 deletions packages/osm/i18n/sv.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ i18n.map('sv', {
label_osmuser: "Användare",
label_osmdate: "Datum",

btn_osmsearch: "Sök OpenStreetMap!",
btn_osmimport: "Importera OpenStreetMap!"
btn_osmsearch: "Sök OpenStreetMap",
btn_osmimport: "Importera OpenStreetMap",
btn_osmedit: "Redigera in OpenStreetMap"
});

0 comments on commit 32fccce

Please sign in to comment.