Skip to content
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

Bindu |Change the update error message #309

Merged
merged 1 commit into from
Oct 20, 2023
Merged
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
2 changes: 1 addition & 1 deletion i18n/appointments/locale_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@
"NUMBER_OF_OCCURRENCE_LABEL": "# of occurrences",
"APPOINTMENT_UPDATE_CONFIRMATION_TITLE": "Kindly Confirm",
"APPOINTMENT_UPDATE_CONFIRMATION_TEXT_RECURRING_APPOINTMENT": "This will update the details of the entire appointment series. This cannot be reversed!",
"APPOINTMENT_UPDATE_CONFIRMATION_TEXT_SINGLE_APPOINTMENT": "This will update the details of the selected appointment. This cannot be reversed!",
"APPOINTMENT_UPDATE_CONFIRMATION_TEXT_SINGLE_APPOINTMENT": "This will update the details of the selected appointment",
"APPOINTMENT_UPDATE_CONFIRMATION_NO": "No, go back",
"APPOINTMENT_UPDATE_CONFIRMATION_YES": "Yes, I confirm",
"APPOINTMENT_SAVE_SUCCESS_TEXT": "The new appointment for the patient {patientDetails} has been saved.",
Expand Down
2 changes: 1 addition & 1 deletion ui/i18n/appointments/locale_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@
"NUMBER_OF_OCCURRENCE_LABEL": "# of occurrences",
"APPOINTMENT_UPDATE_CONFIRMATION_TITLE": "Kindly Confirm",
"APPOINTMENT_UPDATE_CONFIRMATION_TEXT_RECURRING_APPOINTMENT": "This will update the details of the entire appointment series. This cannot be reversed!",
"APPOINTMENT_UPDATE_CONFIRMATION_TEXT_SINGLE_APPOINTMENT": "This will update the details of the selected appointment. This cannot be reversed!",
"APPOINTMENT_UPDATE_CONFIRMATION_TEXT_SINGLE_APPOINTMENT": "This will update the details of the selected appointment.",
"APPOINTMENT_UPDATE_CONFIRMATION_NO": "No, go back",
"APPOINTMENT_UPDATE_CONFIRMATION_YES": "Yes, I confirm",
"APPOINTMENT_SAVE_SUCCESS_TEXT": "The new appointment for the patient {patientDetails} has been saved.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const UpdateConfirmationModal = (props) => {
setOpen(false);
}
const body = <FormattedMessage id={'APPOINTMENT_UPDATE_CONFIRMATION_TEXT_SINGLE_APPOINTMENT'}
defaultMessage={'This will update the details of the selected appointment. This cannot be reversed!'}/>
defaultMessage={'This will update the details of the selected appointment.'}/>

const title=<FormattedMessage id={'APPOINTMENT_UPDATE_CONFIRMATION_TITLE'} defaultMessage={"Kindly Confirm"} />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ describe('Update Confirmation Modal ', () => {
it('should render update confirm modal closeIcon, title, body, yes and no buttons', () => {
const {getByText} = renderWithReactIntl(<UpdateConfirmationModal />);
getByText('Kindly Confirm');
getByText('This will update the details of the selected appointment. This cannot be reversed!');
getByText('This will update the details of the selected appointment.');
getByText('No, go back');
getByText('Yes, I confirm');
});
Expand Down
Loading