diff --git a/public/locale/en.json b/public/locale/en.json index a97d780fb20..72f163c68d3 100644 --- a/public/locale/en.json +++ b/public/locale/en.json @@ -1175,6 +1175,7 @@ "from_date_must_be_before_to_date": "From date must be before to date", "from_user": "from User", "fulfilled": "Fulfilled", + "full_day_unavailable": "Full Day Unavailable", "full_name": "Full Name", "full_screen": "Full Screen", "gender": "Gender", @@ -1884,12 +1885,12 @@ "quantity_approved": "Quantity Approved", "quantity_requested": "Quantity Requested", "quantity_required": "Quantity Required", - "questionnaire": "Questionnaire", "questionnaire_error_loading": "Error loading questionnaire", "questionnaire_not_exist": "The questionnaire you tried to access does not exist.", + "questionnaire_one": "Questionnaire", + "questionnaire_other": "Questionnaires", "questionnaire_submission_failed": "Failed to submit questionnaire", "questionnaire_submitted_successfully": "Questionnaire submitted successfully", - "questionnaires": "Questionnaires", "quick_access": "Quick Access", "quick_actions": "Quick Actions", "quick_actions_description": "Schedule an appointment or create a new encounter", diff --git a/public/locale/hi.json b/public/locale/hi.json index a89ae61b137..b68db3f9e72 100644 --- a/public/locale/hi.json +++ b/public/locale/hi.json @@ -801,4 +801,4 @@ "you_need_at_least_a_location_to_create_an_assest": "संपत्ति बनाने के लिए आपको कम से कम एक स्थान की आवश्यकता होगी।", "zoom_in": "ज़ूम इन", "zoom_out": "ज़ूम आउट" -} +} \ No newline at end of file diff --git a/public/locale/ml.json b/public/locale/ml.json index c8c6be67ce5..98ddfde0835 100644 --- a/public/locale/ml.json +++ b/public/locale/ml.json @@ -1502,7 +1502,6 @@ "quantity_approved": "അളവ് അംഗീകരിച്ചു", "quantity_requested": "അഭ്യർത്ഥിച്ച അളവ്", "quantity_required": "ആവശ്യമായ അളവ്", - "questionnaire": "ചോദ്യാവലി", "questionnaire_error_loading": "ചോദ്യാവലി ലോഡുചെയ്യുന്നതിൽ പിശക്", "questionnaire_not_exist": "നിങ്ങൾ ആക്സസ് ചെയ്യാൻ ശ്രമിച്ച ചോദ്യാവലി നിലവിലില്ല.", "raise_consent_request": "ABDM വഴി രോഗിയുടെ രേഖകൾ ലഭ്യമാക്കാൻ സമ്മത അഭ്യർത്ഥന ഉന്നയിക്കുക", diff --git a/src/components/Patient/EncounterQuestionnaire.tsx b/src/components/Patient/EncounterQuestionnaire.tsx index 10799afe296..0a7eefe1804 100644 --- a/src/components/Patient/EncounterQuestionnaire.tsx +++ b/src/components/Patient/EncounterQuestionnaire.tsx @@ -39,7 +39,7 @@ export default function EncounterQuestionnaire({ enabled: !!encounterId, }); return ( - +
{encounter && (
diff --git a/src/components/Questionnaire/QuestionnaireList.tsx b/src/components/Questionnaire/QuestionnaireList.tsx index d3ba62e4f70..dd3f9cab1b6 100644 --- a/src/components/Questionnaire/QuestionnaireList.tsx +++ b/src/components/Questionnaire/QuestionnaireList.tsx @@ -45,7 +45,7 @@ export function QuestionnaireList() {
-

{t("questionnaires")}

+

{t("questionnaire_other")}

{t("manage_and_view_questionnaires")}

diff --git a/src/components/Questionnaire/QuestionnaireSearch.tsx b/src/components/Questionnaire/QuestionnaireSearch.tsx index 70fb2e613c7..899e3ee1e9e 100644 --- a/src/components/Questionnaire/QuestionnaireSearch.tsx +++ b/src/components/Questionnaire/QuestionnaireSearch.tsx @@ -80,14 +80,14 @@ export function QuestionnaireSearch({ - +
setSearch(e.target.value)} diff --git a/src/components/Users/UserAvailabilityTab.tsx b/src/components/Users/UserAvailabilityTab.tsx index 07840422d00..41ced0a23b7 100644 --- a/src/components/Users/UserAvailabilityTab.tsx +++ b/src/components/Users/UserAvailabilityTab.tsx @@ -175,12 +175,15 @@ export default function UserAvailabilityTab({ userData: user }: Props) { />
-
-
+
+
@@ -189,7 +192,7 @@ export default function UserAvailabilityTab({ userData: user }: Props) { onClick={() => setQParams({ tab: "exceptions" })} className={cn( view === "exceptions" && "shadow", - "hover:bg-white", + "hover:bg-white text-xs sm:text-sm px-2 md:px-4", )} > {t("exceptions")} diff --git a/src/components/ui/sidebar/admin-nav.tsx b/src/components/ui/sidebar/admin-nav.tsx index e0544ad919b..ea7b95639ca 100644 --- a/src/components/ui/sidebar/admin-nav.tsx +++ b/src/components/ui/sidebar/admin-nav.tsx @@ -13,7 +13,7 @@ function generateAdminLinks(t: TFunction) { const baseUrl = "/admin"; const links: NavigationLink[] = [ { - name: t("questionnaire"), + name: t("questionnaire_one"), url: `${baseUrl}/questionnaire`, icon: "d-book-open", }, diff --git a/src/pages/Patients/VerifyPatient.tsx b/src/pages/Patients/VerifyPatient.tsx index aa2fa1dd61c..19f534e6745 100644 --- a/src/pages/Patients/VerifyPatient.tsx +++ b/src/pages/Patients/VerifyPatient.tsx @@ -164,7 +164,7 @@ export default function VerifyPatient(props: { facilityId: string }) { data-cy="create-encounter-button" className="group relative h-[100px] md:h-[120px] overflow-hidden border-0 bg-gradient-to-br from-emerald-50 to-teal-50 p-0 shadow-md hover:shadow-xl transition-all duration-300 justify-start" > -
+
diff --git a/src/pages/Scheduling/components/CreateScheduleExceptionSheet.tsx b/src/pages/Scheduling/components/CreateScheduleExceptionSheet.tsx index 22883d6f75b..67c0b77958e 100644 --- a/src/pages/Scheduling/components/CreateScheduleExceptionSheet.tsx +++ b/src/pages/Scheduling/components/CreateScheduleExceptionSheet.tsx @@ -193,7 +193,7 @@ export default function CreateScheduleExceptionSheet({ name="reason" render={({ field }) => ( - Reason + {t("reason")} ( - Valid From + {t("valid_from")} field.onChange(date)} @@ -226,7 +226,7 @@ export default function CreateScheduleExceptionSheet({ name="valid_to" render={({ field }) => ( - Valid Till + {t("valid_to")} field.onChange(date)} @@ -249,7 +249,7 @@ export default function CreateScheduleExceptionSheet({ />
- Full Day Unavailable + {t("full_day_unavailable")}
)}