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