Skip to content

Commit

Permalink
Change no data message on protection levels widget
Browse files Browse the repository at this point in the history
  • Loading branch information
clementprdhomme committed Oct 7, 2024
1 parent abf89cd commit f596eda
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ const ProtectionTypesWidget: FCWithMessages<ProtectionTypesWidgetProps> = ({ loc
title={t('marine-conservation-protection-levels')}
lastUpdated={lastUpdated}
noData={noData}
noDataMessage={t('not-assessed')}
loading={loading}
>
{widgetChartData.map((chartData) => (
Expand Down
3 changes: 2 additions & 1 deletion frontend/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,8 @@
"terrestrial-protected-area": "{protectedArea} km² out of {totalArea} km²",
"explore-terrestrial-conservation": "Explore Terrestrial Conservation",
"explore-marine-conservation": "Explore Marine Conservation",
"terrestrial-existing-conservation": "Existing terrestrial conservation coverage"
"terrestrial-existing-conservation": "Existing terrestrial conservation coverage",
"not-assessed": "Not assessed"
},
"map-sidebar-layers-panel": {
"layers": "Layers",
Expand Down

0 comments on commit f596eda

Please sign in to comment.