Skip to content

Commit

Permalink
Arjun | Allow intl for React components (#343)
Browse files Browse the repository at this point in the history
* Arjun | Allow intl for React components

* add. new french and locale keys

* add. additional localisation for Appointment components

* update. Choose and option missing localisation
  • Loading branch information
Arjun-Go authored Sep 28, 2024
1 parent 2f07f80 commit f4f2261
Show file tree
Hide file tree
Showing 9 changed files with 393 additions and 166 deletions.
106 changes: 103 additions & 3 deletions ui/i18n/appointments/locale_es.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"CALENDAR_VIEW": "Calendar",
"LIST_VIEW": "List view",
"NO_PROVIDER_COLUMN_KEY": "[No Provider]",
"DOB_LABEL": "Date of Birth",
"SERVICES": "Services",
"APPOINTMENT_SERVICE_SAVE": "Save",
"APPOINTMENT_SERVICE_ADD_NEW": "Add New Service",
Expand Down Expand Up @@ -47,6 +48,7 @@
"APPOINTMENT_SERVICE_TYPE_CONFORMATION_POPUP_MESSAGE_FOR_DELETE": "Are you sure you want to delete service appointment type",
"ADD_AVAILABILITY": "ADD",
"CANCEL_KEY": "Cancel",
"DISCARD_KEY": "Discard",
"OK_KEY": "Ok",
"CONFIRM_DELETE_AVAILABILITY": "There could be appointments booked for this service availability. Are you sure you want to proceed with deleting it?",
"CONFIRM_EDIT_SERVICE_MESSAGE_KEY": "There could be appointments booked against this service. Are you sure you want to save the changes?",
Expand Down Expand Up @@ -99,6 +101,7 @@
"APPOINTMENT_CREATE_OUTOF": "out of",
"APPOINTMENT_PATIENT_ID": "Patient ID",
"APPOINTMENT_PATIENT_NAME": "Patient Name",
"APPOINTMENT_PATIENT_SEARCH_LABEL": "Search Patient",
"APPOINTMENT_CHECKIN_TIME_KEY": "Check in time",
"APPOINTMENT_SERVICE_TYPE_FULL": "Service Appointment Type",
"APPOINTMENT_WALK_IN": "Walk In",
Expand Down Expand Up @@ -142,7 +145,104 @@
"APPOINTMENT_RESET_CONFIRM_MESSAGE": "Are you sure, you want to reset the status to Scheduled?",
"APPOINTMENT_ADDITIONAL_INFO": "Additional Info",
"APPOINTMENT_STATUS_CHANGE_SUCCESS_MESSAGE": "Successfully changed appointment status to {{toStatus}}",
"SELECT_APPOINTMENT_PROVIDER": "Seleccionar Proveedor",
"INVITED_PROVIDERS": "Invitados",
"APPOINTMENT_PROVIDER_REMOVE_ACTION": "Retirar"
"NO_RESULTS_FOUND": "No results found",
"PRIVILEGE_REQUIRED": "User is logged in but doesn't have the relevant privilege",
"NO_FULFILMENT_MESSAGE": "No observations captured for this order.",
"NO_NAVIGATION_LINKS_AVAILABLE_MESSAGE": "No navigation links available.",
"ACCEPT":"Accept",
"SELECT_VALUE_FROM_AUTOCOMPLETE_DEFAULT_MESSAGE": "Please select a value from auto complete",
"CONCEPT_NOT_FOUND_MESSAGE": "concept not found.",
"NO_OBS_FOUND_MESSAGE": "No observations made for this patient.",
"TIME_OF_BIRTH_LABEL": "Time of Birth",
"PATIENT_PROFILE_RELATIONSHIPS_LABEL": "Relationships",
"BROWSER_DOES_NOT_SUPPORT_VIDEO_TAG_MESSAGE":"Your browser does not support the video tag.",
"YEARS_LABEL": "Years",
"CHOOSE_ANSWER_FROM_DROPDOWN_LABEL": "Choose Answer",
"DELETE_LABEL": "Delete",
"EDIT_LABEL": "Edit",
"SELECT_APPOINTMENT_PROVIDER": "Select Provider",
"INVITED_PROVIDERS": "Invitees",
"APPOINTMENT_PROVIDER_REMOVE_ACTION": "Remove",
"DROPDOWN_TYPE_TO_SEARCH_MESSAGE" : "Type to search",
"DROPDOWN_NO_OPTIONS_MESSAGE" : "No Patients Found",
"DROPDOWN_LOADING_MESSAGE" : "Loading...",
"APPOINTMENT_TIME_LABEL": "Choose a time slot",
"APPOINTMENT_TIME_FROM_LABEL": "Start time",
"APPOINTMENT_TIME_TO_LABEL": "End time",
"CURRENT_TIME_SLOT_LABEL": "Current time slot",
"APPOINTMENT_NOTES": "Notes",
"TODAY_LABEL": "Today",
"APPOINTMENT_DATE_LABEL": "Appointment date",
"RECURRING_APPOINTMENT_LABEL": "Recurring Appointment",
"WALK_IN_APPOINTMENT_LABEL": "Walk-in Appointment",
"PLAN_LABEL": "Plan",
"PLACEHOLDER_APPOINTMENT_CREATE_SEARCH_SERVICE_APP_TYPE": "Service App Type",
"PLACEHOLDER_APPOINTMENT_CREATE_SEARCH_PROVIDER": "Provider",
"PLACEHOLDER_APPOINTMENT_CREATE_SEARCH_SERVICE": "Service",
"PLACEHOLDER_APPOINTMENT_CREATE_SEARCH_SPECIALITY": "Speciality",
"PLACEHOLDER_APPOINTMENT_CREATE_APPOINTMENT_CATEGORY": "Appointment category",
"PLACEHOLDER_APPOINTMENT_CREATE_APPOINTMENT_STATUS": "Appointment status",
"PLACEHOLDER_APPOINTMENT_STATUS_SCHEDULED": "Scheduled",
"PLACEHOLDER_APPOINTMENT_STATUS_WAITLIST": "Waitlist",
"CHOOSE_TIME_PLACE_HOLDER": "hh:mm am/pm",
"APPOINTMENT_CREATE_CHECK_AND_SAVE": "Check and Save",
"APPOINTMENT_UPDATE_LABEL": "Update",
"PATIENT_ERROR_MESSAGE": "Please select patient",
"SERVICE_ERROR_MESSAGE": "Please select service",
"DATE_ERROR_MESSAGE": "Please select date",
"OCCURRENCE_ERROR_MESSAGE": "Please select valid occurrences",
"ENDDATE_TYPE_ERROR_MESSAGE": "Please select recurrence end type",
"TIME_ERROR_MESSAGE": "Please select time",
"RECURRENCE_PERIOD_ERROR_MESSAGE": "Please select valid recurrence period",
"START_TIME_LESSTHAN_END_TME_ERROR_MESSAGE": "End time shouldn't be before start time",
"RECURRENCE_WEEKDAYS_ERROR_MESSAGE": "Please select the day(s)",
"NO_CONTENT_ERROR_MESSAGE": "Selected days do not fall under the end date selected",
"UNEXPECTED_SERVICE_ERROR": "There was an unexpected issue on the server. Please try again",
"PRIORITY_ERROR_MESSAGE": "Please select appointment category",
"STATUS_ERROR_MESSAGE": "Please select appointment status",
"PUBLIC_HOLIDAY_WARNING": "Date selected is a Public Holiday",
"APPOINTMENT_CANCEL_CONFIRMATION_TEXT": "You will lose appointment details. Do you want to discard these changes?",
"APPOINTMENT_CANCEL_CONFIRMATION_TITLE": "Discard appointment?",
"APPOINTMENT_CANCEL_CONFIRMATION_NO": "No",
"APPOINTMENT_CANCEL_CONFIRMATION_YES": "Yes",
"OVERLAPPING_CONFLICTS_WARNING_HEADER": "You have an overlapping conflict",
"NO_SERVICE_DATE_CONFLICTS_WARNING_HEADER": "You have a no-service date conflict",
"OVERLAPPING_AND_NO_SERVICE_DATE_CONFLICTS_WARNING_HEADER": "You have an overlapping and no-service date conflict",
"NO_SERVICE_DATE_CONFLICTS": "No-Service Date conflicts",
"OVERLAPPING_CONFLICTS": "Overlapping conflicts",
"OVERLAPPING_CONFLICTS_DEFAULT_TEXT": "The appointment you are trying to book overlaps with the following dates",
"RECURRING_OVERLAPPING_CONFLICTS_DEFAULT_TEXT": "The recurring appointments you are trying to book overlaps with the following dates",
"APPOINTMENT_MODIFY_INFORMATION": "Modify Information",
"APPOINTMENT_SAVE_ANYWAY": "Save Anyway",
"APPOINTMENT_CANCEL_CONFIRMATION_TEXT_EDIT": "You will lose the edited appointment details. Do you want to discard these changes?",
"PLACEHOLDER_APPOINTMENT_NOTES_MAX_LENGTH": "Maximum of 250 characters",
"INVALID_DAY": "Invalid day",
"NEW_END_DATE_LABEL": "Series ends on",
"OCCURRENCES_LABEL": "Occurrences",
"WEEK_LABEL": "Week(s)",
"DAY_LABEL": "Day(s)",
"REPEATS_EVERY_LABEL": "Repeats every",
"REPEATS_ON_LABEL": "Repeats on",
"STARTS_LABEL": "Starts",
"ENDS_LABEL": "Ends",
"FROM_LABEL": "From",
"ON_LABEL": "On",
"AFTER_LABEL": "After",
"APPOINTMENT_UPDATE_ONE_LABEL": "This occurrence",
"APPOINTMENT_UPDATE_ALL_LABEL": "All occurrences",
"APPOINTMENT_UPDATE_TITLE": "Update occurrences",
"APPOINTMENT_SAVE_SUCCESS_TITLE": "Save successful",
"APPOINTMENT_SAVE_SUCCESS_HELP_TEXT": "Please check Appointment calendar for the updated schedule",
"APPOINTMENT_SAVE_SUCCESS_CLOSE": "Close",
"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.",
"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.",
"CHANGE_DATE_TO_LABEL": "Change ${moment(originalAppointmentDate).format('Do MMM')} to",
"PATIENT_DOUBLE_BOOKING_CONFLICT_MESSAGE": "Current {currentAppointmentService} request conflicts with {existingAppointmentService} appointment on",
"NO_SERVICE_CONFLICTS_DEFAULT_TEXT": "The {label} service you had selected for the appointment(s) is not available during below listed dates",
"PROVIDER_ERROR_MESSAGE": "Please select maximum of {maxAppointmentProviders} provider(s)"
}
Loading

0 comments on commit f4f2261

Please sign in to comment.