Skip to content

Commit

Permalink
Change button labels in modal upon patient creation
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverD3 committed Oct 4, 2023
1 parent 585e835 commit 8e6b1ee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,16 +137,16 @@ const NewPatientActivity: FunctionComponent<TProps> = ({
info={t("common.patientregistrationsuccessfull")}
items={[
{
label: t("common.dashboard"),
label: t("common.gohome"),
onClick: () => setActivityTransitionState("TO_DASHBOARD"),
},
{
label: t("common.keepediting"),
label: t("patient.createother"),
onClick: () =>
setActivityTransitionState("TO_NEW_PATIENT_RESET"),
},
{
label: t("patient.dashboard"),
label: t("common.gotopatientactivities"),
onClick: () =>
setActivityTransitionState("TO_PATIENT_DASHBOARD"),
},
Expand Down
7 changes: 5 additions & 2 deletions src/resources/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@
"operation": "Operation",
"updated": "Patient updated",
"created": "Patient created",
"updatesuccessful": "The patient was edit successfully."
"updatesuccessful": "The patient was edit successfully.",
"createother": "Add Another Patient"
},
"opd": {
"newopd": "Create new OPD Visit",
Expand Down Expand Up @@ -452,7 +453,9 @@
"continue": "Continue ?",
"collapse_all": "Collapse All",
"expand_all": "Expand All",
"remainingchars": "Remaining : {{current}} / {{max}}"
"remainingchars": "Remaining : {{current}} / {{max}}",
"gohome": "Go to home",
"gotopatientactivities": "Go to Patient Activities"
},
"permission": {
"denied": "Permission denied",
Expand Down

0 comments on commit 8e6b1ee

Please sign in to comment.