X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/78641615b35fb40ec195ece5834b2b93e7b6ef1a..e2e61692ea04fc156221082aeddc21ea18facdec:/app/assets/javascripts/diary_entry.js diff --git a/app/assets/javascripts/diary_entry.js b/app/assets/javascripts/diary_entry.js index a87eb35f1..bfc3fc012 100644 --- a/app/assets/javascripts/diary_entry.js +++ b/app/assets/javascripts/diary_entry.js @@ -12,7 +12,7 @@ $(function () { } marker = L.marker(e.latlng, { icon: OSM.getUserIcon() }).addTo(map) - .bindPopup(I18n.t("diary_entries.edit.marker_text")); + .bindPopup(OSM.i18n.t("diary_entries.edit.marker_text")); } $("#usemap").click(function (e) { @@ -37,7 +37,7 @@ $(function () { if ($("#latitude").val() && $("#longitude").val()) { marker = L.marker(centre, { icon: OSM.getUserIcon() }).addTo(map) - .bindPopup(I18n.t("diary_entries.edit.marker_text")); + .bindPopup(OSM.i18n.t("diary_entries.edit.marker_text")); } map.on("click", setLocation);