X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/037585db3933a2954b43bd4b30ea5e30ade00be2..62dff6ab7ff94c38b19208dd1423ad0be5cb9dcf:/app/assets/javascripts/diary_entry.js?ds=inline 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);