user.php 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. <?php
  2. return [
  3. 'user' => [
  4. 'changePassword' => [
  5. 'user_not_exist' => 'The user does not exist',
  6. 'old_password_wrong' => 'The old password is wrong',
  7. 'save_failed' => 'Save failed'
  8. ],
  9. 'info' => [
  10. 'user_not_exist' => 'The user does not exist'
  11. ],
  12. 'getSubscribe' => [
  13. 'user_not_exist' => 'The user does not exist',
  14. 'plan_not_exist' => 'Subscription plan does not exist',
  15. ],
  16. 'resetSecurity' => [
  17. 'user_not_exist' => 'The user does not exist',
  18. 'reset_failed' => 'Reset failed'
  19. ],
  20. 'update' => [
  21. 'user_not_exist' => 'The user does not exist',
  22. 'save_failed' => 'Save failed',
  23. ],
  24. 'transfer' => [
  25. 'user_not_exist' => 'The user does not exist',
  26. 'params_wrong' => 'Invalid parameter',
  27. 'insufficient_commission_balance' => 'Insufficient commission balance',
  28. 'transfer_failed' => 'Transfer failed'
  29. ]
  30. ],
  31. 'ticket' => [
  32. 'fetch' => [
  33. 'ticket_not_exist' => 'Ticket does not exist',
  34. ],
  35. 'save' => [
  36. 'exist_other_open_ticket' => 'There are other unresolved tickets',
  37. 'ticket_create_failed' => 'Failed to open ticket',
  38. ],
  39. 'reply' => [
  40. 'params_wrong' => 'Invalid parameter',
  41. 'message_not_empty' => 'Message cannot be empty',
  42. 'ticket_not_exist' => 'Ticket does not exist',
  43. 'ticket_close_not_reply' => 'The ticket is closed and cannot be replied',
  44. 'wait_reply' => 'Please wait for the technical enginneer to reply',
  45. 'ticket_reply_failed' => 'Ticket reply failed',
  46. ],
  47. 'close' => [
  48. 'params_wrong' => 'Invalid parameter',
  49. 'ticket_not_exist' => 'Ticket does not exist',
  50. 'close_failed' => 'Close failed',
  51. ],
  52. 'withdraw' => [
  53. 'not_support_withdraw_method' => 'Unsupported withdrawal method',
  54. 'system_require_withdraw_limit' => 'The current required minimum withdrawal commission is: ¥:limitCNY',
  55. 'ticket_subject' => '[Commission Withdrawal Request] This ticket is opened by the system',
  56. 'ticket_create_failed' => 'Failed to open ticket',
  57. 'ticket_message' => "Withdrawal method: :method\r\nPayment account: :account\r\n",
  58. 'not_support_withdraw' => 'Unsupported withdrawal'
  59. ]
  60. ],
  61. 'plan' => [
  62. 'fetch' => [
  63. 'plan_not_exist' => 'Subscription plan does not exist'
  64. ]
  65. ],
  66. 'order' => [
  67. 'details' => [
  68. 'order_not_exist' => 'Order does not exist',
  69. 'plan_not_exist' => 'Subscription plan does not exist',
  70. ],
  71. 'save' => [
  72. 'plan_not_exist' => 'Subscription plan does not exist',
  73. 'exist_open_order' => 'You have an unpaid or pending order, please try again later or cancel it',
  74. 'plan_stop_sell' => 'This subscription has been sold out, please choose another subscription',
  75. 'plan_stop_renew' => 'This subscription cannot be renewed, please change to another subscription',
  76. 'plan_stop' => 'This payment cycle cannot be purchased, please choose another cycle',
  77. 'plan_exist_not_buy_package' => 'Subscription has expired or no active subscription, unable to purchase Data Reset Package',
  78. 'plan_expired' => 'This subscription has expired, please change to another subscription',
  79. 'coupon_use_failed' => 'Invalid coupon',
  80. 'insufficient_balance' => 'Insufficient balance',
  81. 'order_create_failed' => 'Failed to create order'
  82. ],
  83. 'checkout' => [
  84. 'order_not_exist_or_paid' => 'Order does not exist or has been paid',
  85. 'pay_method_not_use' => 'Payment method is not available',
  86. ],
  87. 'check' => [
  88. 'order_not_exist' => 'Order does not exist'
  89. ],
  90. 'cancel' => [
  91. 'params_wrong' => 'Invalid parameter',
  92. 'order_not_exist' => 'Order does not exist',
  93. 'only_cancel_pending_order' => 'You can only cancel pending orders',
  94. 'cancel_failed' => 'Cancel failed',
  95. ],
  96. 'stripeAlipay' => [
  97. 'currency_convert_timeout' => 'Currency conversion has timed out, please try again later',
  98. 'gateway_request_failed' => 'Payment gateway request failed',
  99. ],
  100. 'stripeWepay' => [
  101. 'currency_convert_timeout' => 'Currency conversion has timed out, please try again later',
  102. 'gateway_request_failed' => 'Payment gateway request failed',
  103. ],
  104. 'stripeCard' => [
  105. 'currency_convert_timeout' => 'Currency conversion has timed out, please try again later',
  106. 'was_problem' => "Oops, there's a problem... Please refresh the page and try again later",
  107. 'deduction_failed' => 'Payment failed. Please check your credit card information'
  108. ]
  109. ],
  110. 'knowledge' => [
  111. 'fetch' => [
  112. 'knowledge_not_exist' => 'Article does not exist',
  113. 'apple_id_must_be_plan' => 'No active subscription. Unable to use our provided Apple ID'
  114. ]
  115. ],
  116. 'invite' => [
  117. 'save' => [
  118. 'invite_create_limit' => 'The maximum number of creations has been reached'
  119. ]
  120. ],
  121. 'coupon' => [
  122. 'check' => [
  123. 'coupon_not_empty' => 'Coupon cannot be empty',
  124. 'coupon_invalid' => 'Invalid coupon',
  125. 'coupon_not_available_by_number' => 'This coupon is no longer available',
  126. 'coupon_not_available_by_time' => 'This coupon has not yet started',
  127. 'coupon_expired' => 'This coupon has expired',
  128. 'coupon_limit_plan' => 'The coupon code cannot be used for this subscription'
  129. ]
  130. ]
  131. ];