Skip to content

Commit

Permalink
chore: add I18n Translations
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-mccombs committed Nov 16, 2020
1 parent 3c2f853 commit b943642
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const HouseholdManager = (props) => {
surveyingOrganization={surveyingOrganization}
/>
{!selectPerson && (
<Text style={{ fontWeight: 'bold', padding: 10 }}>Please use the searchbar to find and select the correct Househld.</Text>
<Text style={{ fontWeight: 'bold', padding: 10 }}>{I18n.t('householdManager.useSearchBar')}</Text>
)}
{selectPerson && (
<Text>{I18n.t('householdManager.relationshipHousehold')}</Text>
Expand Down
3 changes: 2 additions & 1 deletion modules/i18n/english/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,8 @@
"household": "Household",
"householdManager": "Household Manager",
"relationshipHousehold": "What is their role/relationship in the household?",
"linked": "Linked"
"linked": "Linked",
"useSearchBar": "Please use the searchbar to find and select the correct Household."
},
"header": {
"goodMorning": "Good morning",
Expand Down
3 changes: 2 additions & 1 deletion modules/i18n/spanish/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,8 @@
"household": "Casa",
"householdManager": "Administrador del hogar",
"relationshipHousehold": "¿Cuál es su función / relación en el hogar?",
"linked": "Vinculada"
"linked": "Vinculada",
"useSearchBar": "Please use the searchbar to find and select the correct Household."
},
"header": {
"goodMorning": "Buenos días",
Expand Down

0 comments on commit b943642

Please sign in to comment.