-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(fix) O3-3398: Combine the translation for Create New Patient/ Edit Patient #1186
Conversation
Size Change: -18 B (0%) Total Size: 3.47 MB ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this, @vasharma05. I've left some suggestions about casing and a change to the Edit patient translation string.
@@ -15,7 +15,7 @@ | |||
"configure": "Configure", | |||
"configureIdentifiers": "Configure identifiers", | |||
"contactSection": "Contact Details", | |||
"createNew": "Create New", | |||
"createNewPatient": "Create New Patient", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"createNewPatient": "Create New Patient", | |
"createNewPatient": "Create new patient", |
Prefer sentence-case. See https://zpl.io/VDNg9BO and https://carbondesignsystem.com/guidelines/content/writing-style#capitalization.
"editIdentifierTooltip": "Edit", | ||
"editPatient": "Edit Patient", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"editPatient": "Edit Patient", | |
"editPatient": "Edit patient", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto
<h4> | ||
{inEditMode ? t('edit', 'Edit') : t('createNew', 'Create New')} {t('patient', 'Patient')} | ||
</h4> | ||
<h4>{inEditMode ? t('editPatient', 'Edit Patient') : t('createNewPatient', 'Create New Patient')}</h4> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<h4>{inEditMode ? t('editPatient', 'Edit Patient') : t('createNewPatient', 'Create New Patient')}</h4> | |
<h4>{inEditMode ? t('editPatientDetails', 'Edit patient details') : t('createNewPatient', 'Create new patient')}</h4> |
Changes done @denniskigen! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks, @vasharma05.
Requirements
Summary
Create New Patient translation was broken into 2 words: Create New and Patient
The same was the case for Edit Patient: Edit and Patient
Screenshots
None
Related Issue
https://issues.openmrs.org/browse/O3-3398
Other