mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-23 10:04:18 -08:00
Modify disabled label tooltip message
This commit is contained in:
parent
2282620bc7
commit
32814a71e3
3 changed files with 10 additions and 0 deletions
|
@ -510,6 +510,7 @@ const J40Map = ({location}: IJ40Interface) => {
|
||||||
onClick={onClickGeolocate}
|
onClick={onClickGeolocate}
|
||||||
trackUserLocation={windowWidth < constants.USWDS_BREAKPOINTS.MOBILE_LG}
|
trackUserLocation={windowWidth < constants.USWDS_BREAKPOINTS.MOBILE_LG}
|
||||||
showUserHeading={windowWidth < constants.USWDS_BREAKPOINTS.MOBILE_LG}
|
showUserHeading={windowWidth < constants.USWDS_BREAKPOINTS.MOBILE_LG}
|
||||||
|
disabledLabel={intl.formatMessage(EXPLORE_COPY.MAP.GEOLOC_MSG_DISABLED)}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -169,6 +169,11 @@ export const MAP = defineMessages({
|
||||||
defaultMessage: 'Finding location...',
|
defaultMessage: 'Finding location...',
|
||||||
description: 'On the explore the map page, on the map, this is the message above the gelocation icon that geolocation is locating.',
|
description: 'On the explore the map page, on the map, this is the message above the gelocation icon that geolocation is locating.',
|
||||||
},
|
},
|
||||||
|
GEOLOC_MSG_DISABLED: {
|
||||||
|
id: 'explore.map.page.map.geolocation.disabled',
|
||||||
|
defaultMessage: 'Geolocation disabled',
|
||||||
|
description: 'On the explore the map page, on the map, this is the message above the gelocation icon that geolocation is disabled.',
|
||||||
|
},
|
||||||
// GEOLOC_MSG_OFF: {
|
// GEOLOC_MSG_OFF: {
|
||||||
// id: 'explore.map.page.map.geolocation.off',
|
// id: 'explore.map.page.map.geolocation.off',
|
||||||
// defaultMessage: 'Geolocation off',
|
// defaultMessage: 'Geolocation off',
|
||||||
|
|
|
@ -343,6 +343,10 @@
|
||||||
"defaultMessage": "Communities identified as disadvantaged by the map are those that are marginalized, underserved, and overburdened by pollution. These communities are at or above the thresholds in one or more of eight categories of criteria.",
|
"defaultMessage": "Communities identified as disadvantaged by the map are those that are marginalized, underserved, and overburdened by pollution. These communities are at or above the thresholds in one or more of eight categories of criteria.",
|
||||||
"description": "On the explore the map page, the description of the legend"
|
"description": "On the explore the map page, the description of the legend"
|
||||||
},
|
},
|
||||||
|
"explore.map.page.map.geolocation.disabled": {
|
||||||
|
"defaultMessage": "Geolocation disabled",
|
||||||
|
"description": "On the explore the map page, on the map, this is the message above the gelocation icon that geolocation is disabled."
|
||||||
|
},
|
||||||
"explore.map.page.map.geolocation.locating": {
|
"explore.map.page.map.geolocation.locating": {
|
||||||
"defaultMessage": "Finding location...",
|
"defaultMessage": "Finding location...",
|
||||||
"description": "On the explore the map page, on the map, this is the message above the gelocation icon that geolocation is locating."
|
"description": "On the explore the map page, on the map, this is the message above the gelocation icon that geolocation is locating."
|
||||||
|
|
Loading…
Add table
Reference in a new issue