X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cb87f02642d0097ebc067ca1f9371dde274a41e3..62dff6ab7ff94c38b19208dd1423ad0be5cb9dcf:/app/assets/javascripts/diary_entry.js diff --git a/app/assets/javascripts/diary_entry.js b/app/assets/javascripts/diary_entry.js index b513057c1..f13706971 100644 --- a/app/assets/javascripts/diary_entry.js +++ b/app/assets/javascripts/diary_entry.js @@ -10,7 +10,7 @@ $(document).ready(function () { } marker = L.marker(e.latlng, {icon: OSM.getUserIcon()}).addTo(map) - .bindPopup(I18n.t('diary_entry.edit.marker_text')); + .bindPopup(I18n.t('diary_entries.edit.marker_text')); } $("#usemap").click(function (e) { @@ -35,7 +35,7 @@ $(document).ready(function () { if ($("#latitude").val() && $("#longitude").val()) { marker = L.marker(centre, {icon: OSM.getUserIcon()}).addTo(map) - .bindPopup(I18n.t('diary_entry.edit.marker_text')); + .bindPopup(I18n.t('diary_entries.edit.marker_text')); } map.on("click", setLocation);