Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 41 additions & 2 deletions openmrs/apps/registration/v2/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,47 @@
"translationKey": "REGISTRATION_ALTERNATE_PHONE_NUMBER"
}
]
},
"showExtraPatientIdentifiersSection": true
}
},
"registrationForm": {
"sections": [
{
"name": "Basic Details",
"controls": [
{
"type": "profile",
"titleTranslationKey": "REGISTRATION_SECTION_BASIC_INFO"
},
{
"type": "address",
"titleTranslationKey": "REGISTRATION_SECTION_ADDRESS_DETAILS"
},
{
"type": "contactInfo",
"titleTranslationKey": "REGISTRATION_SECTION_CONTACT_DETAILS"
}
]
},
{
"name": "Additional Information",
"translationKey": "REGISTRATION_SECTION_ADDITIONAL_INFO",
"controls": [
{
"type": "additionalInfo"
}
]
},
{
"name": "Identifiers",
"translationKey": "REGISTRATION_SECTION_IDENTIFIERS",
"controls": [{ "type": "additionalIdentifiers" }]
},
{
"name": "Relationships",
"translationKey": "REGISTRATION_SECTION_RELATIONSHIPS",
"controls": [{ "type": "relationships" }]
}
]
},
"fieldValidation": {
"firstName": {
Expand Down
8 changes: 7 additions & 1 deletion openmrs/i18n/registration/locale_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,11 @@
"REGISTRATION_LAST_NAME_VALIDATION": "Last name should contain only alphabets without space",
"REGISTRATION_EMAIL_VALIDATION": "Should be a valid email address",
"REGISTRATION_PHONE_NUMBER_VALIDATION": "Phone number should be numbers between 6 to 15 digits",
"REGISTRATION_ALTERNATE_PHONE_NUMBER_VALIDATION": "Alternate phone number should be numbers between 6 to 15 digits"
"REGISTRATION_ALTERNATE_PHONE_NUMBER_VALIDATION": "Alternate phone number should be numbers between 6 to 15 digits",
"REGISTRATION_SECTION_BASIC_INFO": "Basic Information",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maintain consistency with design file - in all headers second word starts with small letter e.g "Basic information"

"REGISTRATION_SECTION_ADDRESS_DETAILS": "Address Information",
"REGISTRATION_SECTION_CONTACT_DETAILS": "Contact information",
"REGISTRATION_SECTION_ADDITIONAL_INFO": "Additional information",
"REGISTRATION_SECTION_IDENTIFIERS": "Additional Identifiers",
"REGISTRATION_SECTION_RELATIONSHIPS": "Relationships Information"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be "Relationship" in the translated text

}
8 changes: 7 additions & 1 deletion openmrs/i18n/registration/locale_es.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,11 @@
"REGISTRATION_LAST_NAME_VALIDATION": "El apellido debe contener solo letras sin espacios",
"REGISTRATION_EMAIL_VALIDATION": "Debe ser una dirección de correo electrónico válida",
"REGISTRATION_PHONE_NUMBER_VALIDATION": "El número de teléfono debe tener entre 6 y 15 dígitos",
"REGISTRATION_ALTERNATE_PHONE_NUMBER_VALIDATION": "El número de teléfono alternativo debe tener entre 6 y 15 dígitos"
"REGISTRATION_ALTERNATE_PHONE_NUMBER_VALIDATION": "El número de teléfono alternativo debe tener entre 6 y 15 dígitos",
"REGISTRATION_SECTION_BASIC_INFO": "Información básica",
"REGISTRATION_SECTION_ADDRESS_DETAILS": "Información de dirección",
"REGISTRATION_SECTION_CONTACT_DETAILS": "Información de contacto",
"REGISTRATION_SECTION_ADDITIONAL_INFO": "Información adicional",
"REGISTRATION_SECTION_IDENTIFIERS": "Identificadores adicionales",
"REGISTRATION_SECTION_RELATIONSHIPS": "Información de relaciones"
}