backend phase 14 & frontend phase 7

This commit is contained in:
hamid
2026-07-09 15:30:03 +03:30
parent de53f9d8a6
commit 93cc5ecb98
101 changed files with 12930 additions and 39 deletions
+109 -5
View File
@@ -9,6 +9,7 @@
"coverage": "Coverage",
"services": "Services",
"dashboard": "Dashboard",
"requests": "Requests",
"verification": "Verification",
"visits": "Visits",
"admin": "Admin",
@@ -365,12 +366,115 @@
"request_booking": "Request booking"
},
"booking": {
"gender_female": "Woman",
"gender_male": "Man",
"gender_any": "No preference",
"unnamed_nurse": "Nurse",
"summary_patient": "Patient",
"summary_service": "Service",
"summary_address": "Address",
"summary_when": "Time",
"request_title": "Booking request",
"deferred": "The booking request form arrives in the next phase.",
"handoff_echo": "Nurse #{nurse}, service #{variant}, caregiver: {gender}.",
"gender_female": "woman",
"gender_male": "man",
"gender_any": "no preference"
"form_subtitle": "Send a request to this nurse. No payment is taken yet — the nurse reviews it first.",
"missing_nurse_title": "No nurse selected",
"missing_nurse_body": "Choose a nurse from search, then send a request.",
"missing_nurse_cta": "Find a nurse",
"patient_label": "Patient (care recipient)",
"patient_placeholder": "Select a patient",
"patient_empty": "You haven't added a patient yet.",
"patient_add_cta": "Add a patient",
"service_label": "Service type",
"service_placeholder": "Select a service",
"service_empty": "This nurse has no bookable service.",
"address_label": "Address",
"address_placeholder": "Select an address",
"address_empty": "You haven't added an address yet.",
"address_add_cta": "Add an address",
"address_whole_city": "Whole city",
"date_label": "Date",
"time_start_label": "From",
"time_end_label": "To",
"gender_label": "Caregiver gender",
"gender_hint": "For personal/bodily care, a same-gender caregiver matters. Your choice is sent with the request.",
"notes_label": "Notes for the nurse",
"notes_placeholder": "What the nurse sees before accepting…",
"notes_hint": "This is the only thing the nurse sees before accepting. The full care record is added after confirmation.",
"notes_counter": "{count}/{max}",
"submit": "Send request",
"submitting": "Sending…",
"error_patient_required": "Choose a patient.",
"error_service_required": "Choose a service.",
"error_address_required": "Choose an address.",
"error_gender_required": "Choose the caregiver gender.",
"error_date_required": "Choose a date.",
"error_time_required": "Choose a start and end time.",
"error_time_range": "The end time must be after the start time.",
"error_past_date": "Choose a future date and time.",
"error_notes_long": "Notes are too long.",
"error_gender_mismatch": "The chosen gender doesn't match this nurse.",
"error_not_bookable": "This service can't be booked right now.",
"error_tenancy": "That patient or address wasn't found.",
"error_generic": "Couldn't send the request. Please try again.",
"awaiting_title": "Request sent to the nurse",
"awaiting_subtitle": "Awaiting the nurse's response",
"step_submitted": "Request submitted",
"step_awaiting": "Awaiting nurse approval",
"step_payment": "Payment & final confirmation",
"response_countdown_label": "Nurse response window",
"response_elapsed": "Awaiting server confirmation…",
"accepted_badge": "The nurse accepted",
"accepted_body": "Pay within the window below to confirm the booking.",
"payment_countdown_label": "Payment window",
"payment_elapsed": "The payment window has closed",
"continue_payment": "Continue to payment ←",
"cancel_request": "Cancel request",
"cancelling": "Cancelling…",
"cancel_confirm_title": "Cancel this request?",
"cancel_confirm_body": "The nurse will no longer see it. You can request another nurse anytime.",
"cancel_confirm_yes": "Yes, cancel",
"rejected_title": "The nurse declined the request",
"rejected_reason_label": "Nurse's reason",
"expired_title": "The nurse didn't respond in time",
"payment_expired_title": "The payment window has closed",
"cancelled_title": "Request cancelled",
"converted_title": "Your booking is confirmed",
"converted_cta": "View booking",
"terminal_rerequest": "Request another nurse",
"not_found_title": "Request not found",
"not_found_body": "This request may have been removed.",
"error_title": "Something went wrong",
"error_body": "We couldn't load this request.",
"retry": "Try again",
"inbox_title": "Incoming requests",
"inbox_subtitle": "Families requesting your care. You see only their notes until you accept.",
"inbox_empty": "You have no new requests.",
"inbox_notes_label": "Family's notes",
"required_gender_chip": "Caregiver: {gender}",
"open_detail": "View",
"detail_title": "Request detail",
"location_label": "Location",
"disclosure_note": "Before accepting you see only the family's notes. The full address and care record appear after you accept.",
"accept": "Accept request",
"accepting": "Accepting…",
"reject": "Decline",
"reject_dialog_title": "Decline request",
"reject_reason_label": "Reason",
"reject_reason_placeholder": "A short reason the family will see…",
"reject_submit": "Submit decline",
"rejecting": "Declining…",
"reason_required": "A reason is required.",
"reason_too_long": "The reason is too long.",
"action_stale": "This request can no longer be actioned.",
"accepted_toast": "Request accepted.",
"rejected_toast": "Request declined.",
"cancelled_toast": "Request cancelled.",
"status_pending_nurse_response": "Awaiting nurse response",
"status_accepted_awaiting_payment": "Accepted — awaiting payment",
"status_converted": "Booked",
"status_rejected_by_nurse": "Declined by nurse",
"status_expired_no_response": "No response in time",
"status_payment_deadline_expired": "Payment window lapsed",
"status_cancelled_by_customer": "Cancelled"
},
"auth": {
"customer_title": "Sign in to Balinyaar",