Make "Report a problem" link in embeddable map translateable
This commit is contained in:
parent
544ed36247
commit
fbf2b45ecc
2 changed files with 3 additions and 1 deletions
|
@ -58,7 +58,7 @@ window.onload = function () {
|
|||
L.Control.OSMReportAProblem = L.Control.Attribution.extend({
|
||||
options: {
|
||||
position: 'bottomright',
|
||||
prefix: '<a href="http://www.openstreetmap.org/fixthemap?lat={x}&lon={y}&zoom={z}" target="_blank">Report a problem</a>'
|
||||
prefix: '<a href="http://www.openstreetmap.org/fixthemap?lat={x}&lon={y}&zoom={z}" target="_blank">'+I18n.t('javascripts.embed.report_problem')+'</a>'
|
||||
},
|
||||
|
||||
onAdd: function (map) {
|
||||
|
|
|
@ -2172,6 +2172,8 @@ en:
|
|||
center_marker: "Center map on marker"
|
||||
paste_html: "Paste HTML to embed in website"
|
||||
view_larger_map: "View Larger Map"
|
||||
embed:
|
||||
report_problem: "Report a problem"
|
||||
key:
|
||||
title: "Map Key"
|
||||
tooltip: "Map Key"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue