From b66692fe1ff6890e1f98f8842de2770f08b27913 Mon Sep 17 00:00:00 2001 From: its-kios09 Date: Tue, 26 Nov 2024 13:47:46 +0300 Subject: [PATCH 1/2] (refactor) renaming of the empty client registry modal --- .../hie-client-registry/hie-client-registry.component.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/esm-patient-registration-app/src/client-registry/hie-client-registry/hie-client-registry.component.tsx b/packages/esm-patient-registration-app/src/client-registry/hie-client-registry/hie-client-registry.component.tsx index 1062b4f42..db0de5f1a 100644 --- a/packages/esm-patient-registration-app/src/client-registry/hie-client-registry/hie-client-registry.component.tsx +++ b/packages/esm-patient-registration-app/src/client-registry/hie-client-registry/hie-client-registry.component.tsx @@ -58,10 +58,10 @@ const HIEClientRegistry: React.FC = ({ setInitialFormVal const dispose = showModal('empty-client-registry-modal', { onConfirm: () => dispose(), close: () => dispose(), - title: t('clientRegistryEmpty', 'Create & Post Patient'), + title: t('clientRegistryEmpty', 'Create Patient'), message: t( 'patientNotFound', - `No patient found with the provided ${data?.identifierType}. Proceed to register.`, + `The patient records could not be found in the client registry, proceed to create patient or try again.`, ), }); return; From 8d78112a7ef57d8340f527e87ea3d8de5c2f623e Mon Sep 17 00:00:00 2001 From: its-kios09 Date: Tue, 26 Nov 2024 13:58:16 +0300 Subject: [PATCH 2/2] updated translation --- .../hie-client-registry/hie-client-registry.component.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/esm-patient-registration-app/src/client-registry/hie-client-registry/hie-client-registry.component.tsx b/packages/esm-patient-registration-app/src/client-registry/hie-client-registry/hie-client-registry.component.tsx index db0de5f1a..e1eddcd0c 100644 --- a/packages/esm-patient-registration-app/src/client-registry/hie-client-registry/hie-client-registry.component.tsx +++ b/packages/esm-patient-registration-app/src/client-registry/hie-client-registry/hie-client-registry.component.tsx @@ -58,9 +58,9 @@ const HIEClientRegistry: React.FC = ({ setInitialFormVal const dispose = showModal('empty-client-registry-modal', { onConfirm: () => dispose(), close: () => dispose(), - title: t('clientRegistryEmpty', 'Create Patient'), + title: t('clientRegistryEmptys', 'Create Patient'), message: t( - 'patientNotFound', + 'patientNotFounds', `The patient records could not be found in the client registry, proceed to create patient or try again.`, ), });