Skip to content

Commit

Permalink
#583 update map popup text
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Collins committed Feb 2, 2024
1 parent 6459a03 commit 1396f98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions grails-app/assets/javascripts/map.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ function generatePopup(layer, latlng) {

L.popup()
.setLatLng([latlng.lat, latlng.lng])
.setContent("species count: <b id='speciesCountDiv'>calculating...</b><br>" +
"occurrence count: <b id='occurrenceCountDiv'>calculating...</b><br>" +
.setContent(jQuery.i18n.prop("advancedsearch.js.map.common.speciescount") + ": <b id='speciesCountDiv'>calculating...</b><br>" +
jQuery.i18n.prop("advancedsearch.js.map.common.occurrencecount") + ": <b id='occurrenceCountDiv'>calculating...</b><br>" +
"<a id='showOnlyTheseRecords' href='" + BC_CONF.contextPath + "/occurrences/search" +
params + "'>" + jQuery.i18n.prop("search.map.popup.linkText") + "</a><br>" +
"<a id='removeArea' href='javascript:void(0)' " +
Expand Down
4 changes: 2 additions & 2 deletions grails-app/i18n/messages_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -807,8 +807,8 @@ advancedsearch.js.map.canceldrawing=Cancel drawing
advancedsearch.js.map.remove.tooltip=Click on a feature to remove
advancedsearch.js.map.error1=Oh snap!
advancedsearch.js.map.error2=you can&apos;t draw that!
advancedsearch.js.map.common.speciescount=Species count\:
advancedsearch.js.map.common.occurrencecount=Ocurrence count\:
advancedsearch.js.map.common.speciescount=Taxon count
advancedsearch.js.map.common.occurrencecount=Occurrence count
advancedsearch.js.map.validwkt=Please paste a valid WKT string
advancedsearch.js.map.invalidwkt=Invalid WKT string provided to read()
advancedsearch.js.map.jsonerror=JSON.parse() is not available; cannot parse GeoJSON strings
Expand Down

0 comments on commit 1396f98

Please sign in to comment.