rewardpoints.php 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. <?php
  2. return [
  3. 'customer' => [
  4. 'my-reward-points' => 'My Reward Points',
  5. 'available-points' => 'Available Points',
  6. 'daily-sign-in' => 'Daily Sign In',
  7. 'sign-in-now' => 'Sign In Now',
  8. 'signed-today' => 'Signed In Today',
  9. 'sign-in-success' => 'Sign in successful! You earned',
  10. 'sign-in-failed' => 'Failed to sign in',
  11. 'sign-in-error' => 'An error occurred during sign in',
  12. 'current-streak' => 'Current Streak',
  13. 'days' => 'days',
  14. 'points-history' => 'Points History',
  15. 'date' => 'Date',
  16. 'type' => 'Type',
  17. 'description' => 'Description',
  18. 'points' => 'Points',
  19. 'balance' => 'Balance',
  20. 'status' => 'Status',
  21. 'order' => 'Order',
  22. 'registration' => 'Registration',
  23. 'review' => 'Review',
  24. 'sign-in' => 'Sign In',
  25. 'referral' => 'Referral',
  26. 'birthday' => 'Birthday',
  27. 'other' => 'Other',
  28. 'pending' => 'Pending',
  29. 'completed' => 'Completed',
  30. 'cancelled' => 'Cancelled',
  31. 'expired' => 'Expired',
  32. 'no-history' => 'No points history yet',
  33. ],
  34. 'admin' => [
  35. 'reward-points' => 'Reward Points',
  36. 'rules' => 'Rules',
  37. 'customers' => 'Customers',
  38. 'reports' => 'Reports',
  39. 'add-rule' => 'Add Rule',
  40. 'transactions' => 'Transactions',
  41. 'earned-transactions' => 'Earned Transactions',
  42. 'view-all-transactions' => 'All Transactions',
  43. 'view-earned-only' => 'Earned Only',
  44. 'total' => 'Total',
  45. 'edit-rule' => 'Edit Rule',
  46. 'delete-rule' => 'Delete Rule',
  47. 'rule-name' => 'Rule Name',
  48. 'transaction-type' => 'Transaction Type',
  49. 'status' => 'Status',
  50. 'active' => 'Active',
  51. 'inactive' => 'Inactive',
  52. 'actions' => 'Actions',
  53. 'edit' => 'Edit',
  54. 'delete' => 'Delete',
  55. 'create-rule' => 'Create Rule',
  56. 'update-rule' => 'Update Rule',
  57. 'back' => 'Back',
  58. 'save' => 'Save',
  59. 'cancel' => 'Cancel',
  60. 'customer-list' => 'Customer List',
  61. 'customer-name' => 'Customer Name',
  62. 'email' => 'Email',
  63. 'points-balance' => 'Points Balance',
  64. 'add-points' => 'Add Points',
  65. 'deduct-points' => 'Deduct Points',
  66. 'reason' => 'Reason',
  67. 'total-points' => 'Total Points',
  68. 'total-customers' => 'Total Customers',
  69. 'average-points' => 'Average Points',
  70. 'export' => 'Export',
  71. 'bulk-update' => 'Bulk Update',
  72. 'date-range' => 'Date Range',
  73. 'start-date' => 'Start Date',
  74. 'end-date' => 'End Date',
  75. 'points-earned' => 'Points Earned',
  76. 'points-redeemed' => 'Points Redeemed',
  77. 'title' => 'Customer Reward Points',
  78. 'details-title' => ':name\'s Reward Points Details',
  79. 'customer-info' => 'Customer Information',
  80. 'points-history' => 'Points History',
  81. 'adjust-points' => 'Adjust Points',
  82. 'type' => 'Type',
  83. 'amount' => 'Amount',
  84. 'balance' => 'Balance',
  85. 'date' => 'Date',
  86. 'description' => 'Description',
  87. 'customer-id' => 'Customer ID',
  88. 'name' => 'Name',
  89. 'view' => 'View',
  90. 'no-customers-found' => 'No customers found',
  91. 'no-reward-points-records' => 'No reward points records available',
  92. // 交易类型映射(使用字符串而不是数组)
  93. 'transaction-types' => [
  94. 'order' => 'Order',
  95. 'registration' => 'Registration',
  96. 'review' => 'Product Review',
  97. 'sign-in' => 'Daily Sign In',
  98. 'referral' => 'Referral',
  99. 'birthday' => 'Birthday',
  100. 'share' => 'Share',
  101. 'subscribe' => 'Subscribe',
  102. ],
  103. 'adjust-points-by-identifier' => 'Adjust Points by Email or ID',
  104. 'identifier' => 'Identifier',
  105. 'email-or-id' => 'Email or ID',
  106. 'enter-email-or-id' => 'Enter customer email or ID',
  107. 'enter-points' => 'Enter points amount',
  108. 'enter-reason' => 'Enter reason for adjustment',
  109. 'submit' => 'Submit',
  110. 'action' => 'Action',
  111. // 总交易数
  112. 'total-transactions' => 'Total Transactions',
  113. 'total-points-earned' => 'Total Points Earned',
  114. 'total-points-redeemed' => 'Total Points Redeemed',
  115. // 搜索相关
  116. 'search' => 'Search',
  117. 'reset' => 'Reset',
  118. 'customer-email' => 'Customer Email',
  119. 'amount-type' => 'Amount Type',
  120. 'earned' => 'Earned',
  121. 'redeemed' => 'Redeemed',
  122. 'all' => 'All',
  123. 'all-types' => 'All Types',
  124. 'admin-adjustment' => 'Admin Adjustment',
  125. 'admin-action' => 'Admin Action',
  126. // 表格表头
  127. 'id' => 'ID',
  128. 'customer' => 'Customer',
  129. 'amount' => 'Amount',
  130. 'date' => 'Date',
  131. 'description' => 'Description',
  132. 'balance' => 'Balance',
  133. // 提示信息
  134. 'no-transactions-found' => 'No transactions found',
  135. 'try-adjusting-filters' => 'Try adjusting your filters',
  136. // 其他
  137. 'points' => 'Points',
  138. 'transactions-count' => 'Transactions',
  139. ],
  140. 'validation' => [
  141. 'points-required' => 'Points are required',
  142. 'points-invalid' => 'Invalid points amount',
  143. 'customer-not-found' => 'Customer not found',
  144. 'rule-not-found' => 'Rule not found',
  145. ],
  146. ];