Skip to content

Commit

Permalink
fix: spanish translation on GDPR page
Browse files Browse the repository at this point in the history
  • Loading branch information
hopetambala committed Nov 1, 2020
1 parent bc90e71 commit cdafb81
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 38 deletions.
2 changes: 1 addition & 1 deletion domains/DataCollection/GdprCompliance/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const GdprCompliance = ({
};
return (
<View>
<Title style={{ marginLeft: 15 }}>Consent Form</Title>
<Title style={{ marginLeft: 15 }}>{I18n.t('gdpr.consentForm')}</Title>
<View style={styles.container}>
<Text style={{ flex: 2, padding: 10 }}>
{I18n.t('gdpr.policy')}
Expand Down
75 changes: 38 additions & 37 deletions modules/i18n/english/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@
"credentialsModal": {
"useCreds": "Would you like to use your saved login credentials?"
},
"unableLogin":"Unable to login",
"usernamePasswordIncorrect":"Your username or password may be incorrect, please try again.",
"credentials":"Credentials",
"saveLoginCreds":"Would you like to save your login credentials for future use?"
"unableLogin": "Unable to login",
"usernamePasswordIncorrect": "Your username or password may be incorrect, please try again.",
"credentials": "Credentials",
"saveLoginCreds": "Would you like to save your login credentials for future use?"
},
"pinCode": {
"getPinCode": {
Expand Down Expand Up @@ -251,6 +251,7 @@
"viewGallery": "View Forms Gallery"
},
"gdpr": {
"consentForm": "Consent Form",
"mustConsent": "Community member must consent before you can continue.",
"policy": "Lorem ipsum dolor sit amet, consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.a. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",
"viewFullPolicy": "View Full Policy",
Expand Down Expand Up @@ -293,46 +294,46 @@
"province": "Province:",
"license": "License Number:"
},
"forms":{
"completedForms":"Completed Forms",
"formCategory":"Form Category",
"comingSoon":"Coming Soon",
"suggestedForms":"Suggested Forms"
"forms": {
"completedForms": "Completed Forms",
"formCategory": "Form Category",
"comingSoon": "Coming Soon",
"suggestedForms": "Suggested Forms"
},
"household":{
"editProfile":"Edit Profile",
"demographics":"Demographics",
"forms":"Forms",
"household":"Household",
"goBack":"Go back to find records"
"household": {
"editProfile": "Edit Profile",
"demographics": "Demographics",
"forms": "Forms",
"household": "Household",
"goBack": "Go back to find records"
}
}
},
"householdManager":{
"createHousehold":"Create a new household",
"linkIndividual":"Link this individual to an existing house",
"household":"Household",
"householdManager":"Household Manager",
"relationshipHousehold":"What is their role/relationship in the household?",
"linked":"Linked"
"householdManager": {
"createHousehold": "Create a new household",
"linkIndividual": "Link this individual to an existing house",
"household": "Household",
"householdManager": "Household Manager",
"relationshipHousehold": "What is their role/relationship in the household?",
"linked": "Linked"
},
"header":{
"goodMorning":"Good morning",
"goodAfternoon":"Good afternoon",
"goodEvening":"Good evening",
"goodMorning!":"Good morning!",
"goodAfternoon!":"Good afternoon!",
"goodEvening!":"Good evening!",
"puente":"PUENTE",
"volunteerSince":"Volunteer Since",
"surveysCollected":"Surveys Collected"
"header": {
"goodMorning": "Good morning",
"goodAfternoon": "Good afternoon",
"goodEvening": "Good evening",
"goodMorning!": "Good morning!",
"goodAfternoon!": "Good afternoon!",
"goodEvening!": "Good evening!",
"puente": "PUENTE",
"volunteerSince": "Volunteer Since",
"surveysCollected": "Surveys Collected"
},
"languagePicker":{
"english":"English",
"spanish":"Spanish"
"languagePicker": {
"english": "English",
"spanish": "Spanish"
},
"residentIdSearchbar":{
"searchIndividual":"Search Individual"
"residentIdSearchbar": {
"searchIndividual": "Search Individual"
},
"termsModal": {
"termsService": "Terms and Service",
Expand Down
1 change: 1 addition & 0 deletions modules/i18n/spanish/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@
"viewGallery": "Ver galería de formularios"
},
"gdpr": {
"consentForm": "Formulario de consentimiento",
"mustConsent": "El miembro de la comunidad debe dar su consentimiento antes de poder continuar.",
"policy": "Lorem ipsum dolor sit amet, consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.a. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",
"viewFullPolicy": "Ver política completa",
Expand Down

0 comments on commit cdafb81

Please sign in to comment.