Skip to content

Commit

Permalink
add to dictionnary
Browse files Browse the repository at this point in the history
  • Loading branch information
MickaelMenet committed Mar 25, 2024
1 parent 59246bc commit c860dff
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions src/i18n/surveyUnitMessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,13 @@ const surveyUnitMessage = {
fr: 'Revenir à la liste des unités à enquêter',
en: 'Back to the survey-units list',
},
HideFinishedUnits: {
fr:'Masquer les unités terminées',
en:'Hide finished units'
},
PriorityUnits: {
fr:'Unités prioritaires',
en:'Priority units'
}
};
export default surveyUnitMessage;
4 changes: 2 additions & 2 deletions src/pages/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ function Sidebar({ surveyUnits }) {
onChange={() => filter.toggle('terminated')}
/>
}
label="Masquer les unités terminées"
label={D.HideFinishedUnits}
/>

<Stack gap={0.5}>
Expand Down Expand Up @@ -190,7 +190,7 @@ function Sidebar({ surveyUnits }) {
sx={{ padding: 0 }}
/>
}
label="Unités prioritaires"
label={D.PriorityUnits}
/>
</Accordion>
<Hr />
Expand Down

0 comments on commit c860dff

Please sign in to comment.