Skip to content

Commit

Permalink
Small fixes to organisation select component part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
erikao1998 committed Jan 24, 2024
1 parent c6c6298 commit b580f84
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/client/components/Choices/OrganisationSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ const OrganisationList = ({
onChange={(e, data) => onChange(data)}
sx={{ width: '50%' }}
renderInput={(params) => (
<TextField {...params} label="organisaatio" />
<TextField
{...params}
label={t('organisationSelect:autocompleteLabel')}
/>
)}
/>
</Box>
Expand Down
3 changes: 2 additions & 1 deletion src/client/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"organisationSelect": {
"searchButton": "Search",
"listInfoText": "Select your partner organisation from the list",
"noResults": "Your partner organisation is not in the database"
"noResults": "Your partner organisation is not in the database",
"autocompleteLabel": "Organisation"
},
"questions": {
"optionalPartnerOrganisationNameQuestion": "Koordinoivan yhteistyöorganisaation nimi",
Expand Down
3 changes: 2 additions & 1 deletion src/client/locales/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"organisationSelect": {
"searchButton": "Hae",
"listInfoText": "Valitse yhteistyökumppanisi nimi listalta",
"noResults": "Yhteistyökumppaniasi ei löytynyt tietokannasta"
"noResults": "Yhteistyökumppaniasi ei löytynyt tietokannasta",
"autocompleteLabel": "Organisaatio"
},
"questions": {
"optionalPartnerOrganisationNameQuestion": "Koordinoivan yhteistyöorganisaation nimi",
Expand Down

0 comments on commit b580f84

Please sign in to comment.