messages.php 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <?php
  2. return [
  3. 'welcome' => 'Welcome to our application',
  4. 'created' => 'Created successfully',
  5. 'updated' => 'Updated successfully',
  6. 'deleted' => 'Deleted successfully',
  7. 'not_found' => 'Record not found',
  8. 'email_sent' => 'Email sent successfully',
  9. 'email_not_sent' => 'Email not sent',
  10. 'imported' => 'Imported successfully',
  11. 'import_error' => 'Error importing',
  12. 'buyer_not_allowed' => 'Buyer not allowed',
  13. 'code_sent' => 'Verification code sent successfully',
  14. 'user_not_found_or_code_not_validated' => 'User not found or invalid code.',
  15. 'provider_approved' => 'Provider approved successfully.',
  16. 'provider_rejected' => 'Provider rejected.',
  17. 'provider_registered_pending' => 'Registration submitted successfully! Your profile is under review and you will be able to access the app once it is approved.',
  18. 'payment_confirmed' => 'Payment confirmed.',
  19. 'payment_pending_confirmation' => 'Payment created and awaiting confirmation.',
  20. 'payment_not_confirmed' => 'Payment not confirmed.',
  21. 'service_package_same_provider' => 'All appointments in the service package must belong to the same provider.',
  22. 'schedule_must_be_accepted_for_payment' => 'The appointment must be accepted before payment.',
  23. 'invalid_payment_method' => 'Invalid payment method.',
  24. 'schedule_requires_confirmed_provider' => 'The appointment requires a confirmed provider before payment can be created.',
  25. 'schedule_amount_must_be_positive' => 'The appointment amount must be greater than zero before payment can be created.',
  26. 'provider_requires_pagarme_recipient' => 'The provider must have a Pagar.me recipient_id to receive the split.',
  27. 'schedule_payment_already_in_progress' => 'A payment is already in progress for this appointment.',
  28. 'payment_card_required' => 'A payment card or card_id is required.',
  29. 'payment_card_not_found_or_inactive' => 'The payment card was not found or is inactive for this client.',
  30. 'invalid_pagarme_payment_card' => 'The payment card is invalid or does not have a Pagar.me gateway_card_id.',
  31. 'service_package_payment_already_in_progress' => 'A payment is already in progress for this service package.',
  32. 'service_package_must_be_open_for_payment' => 'The service package must be open before payment.',
  33. 'service_package_requires_schedule' => 'The service package must contain at least one appointment.',
  34. 'service_package_same_client' => 'All appointments in the service package must belong to the same client.',
  35. 'package_schedule_must_be_accepted' => 'Appointment :schedule must be accepted before the service package can be paid.',
  36. 'package_schedule_amount_must_be_positive' => 'Appointment :schedule must have an amount greater than zero before payment can be created.',
  37. 'multi_item_package_requires_package_checkout' => 'An appointment in a multi-item service package must be paid through the package checkout.',
  38. 'provider_id_required' => 'The provider ID is required.',
  39. 'code_verified' => 'Code verified successfully!',
  40. 'client_not_found' => 'Client not found.',
  41. 'provider_not_found' => 'Provider not found.',
  42. 'only_clients_allowed' => 'Only clients may access this resource.',
  43. 'only_providers_allowed' => 'Only providers may access this resource.',
  44. 'provider_unavailable_for_schedule' => 'Provider unavailable for this appointment.',
  45. 'invalid_current_status' => 'The current status is invalid.',
  46. 'status_transition_not_allowed' => 'Status transition not allowed.',
  47. 'schedule_status_update_failed' => 'The appointment status could not be updated.',
  48. 'cancellation_not_allowed_for_status' => 'Cancellation is not allowed for the current status.',
  49. 'payment_error' => 'The payment could not be processed.',
  50. 'missing_payment_data' => 'Insufficient data to process payment. Check your profile.',
  51. 'schedule_cancellation_failed' => 'The appointment could not be cancelled.',
  52. 'invalid_schedule_period' => 'Invalid appointment period.',
  53. 'withdrawal_already_in_progress' => 'You already have a withdrawal in progress.',
  54. 'insufficient_withdrawal_balance' => 'Insufficient available balance for withdrawal.',
  55. 'insufficient_balance_for_transfer_fee' => 'Insufficient available balance to cover the transfer fee.',
  56. 'pagarme_card_save_failed' => 'The card could not be saved in Pagar.me.',
  57. 'service_amount_must_be_positive' => 'The service amount must be greater than zero.',
  58. 'client_field_required_for_pagarme_order' => 'The client must have :field to create the Pagar.me order.',
  59. 'schedule_address_required_for_pagarme_order' => 'The appointment address was not found for the Pagar.me order.',
  60. 'client_field_invalid_for_pagarme_order' => 'The client must have a valid :field to create the Pagar.me order.',
  61. 'opportunities_created' => '{1} :count opportunity created successfully!|[2,*] :count opportunities created successfully!',
  62. 'proposal_sent' => 'Proposal sent successfully!',
  63. 'provider_accepted' => 'Provider accepted successfully!',
  64. 'provider_refused' => 'Provider refused.',
  65. 'opportunity_refused' => 'Opportunity refused.',
  66. 'withdrawal_requested' => 'Withdrawal requested successfully.',
  67. 'service_package_provider_mismatch' => 'The provider does not match the existing appointments in the service package.',
  68. 'service_package_client_mismatch' => 'The client does not match the existing appointments in the service package.',
  69. 'service_package_must_be_open_for_changes' => 'Only open service packages may be changed.',
  70. 'service_package_schedule_same_client' => 'The appointment must belong to the same client as the service package.',
  71. 'service_package_schedule_already_assigned' => 'The appointment already belongs to another service package.',
  72. 'service_package_schedule_has_active_payment' => 'The appointment already has a payment and cannot be added to the service package.',
  73. 'gender_only_for_providers' => 'Gender can only be changed for provider users.',
  74. ];