app.php 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?php
  2. return [
  3. 'member' => [
  4. 'discount' => 'Plus Fee',
  5. 'vip_active' => 'VIP 会员权益生效中',
  6. 'vip_discount' => 'VIP amount',
  7. 'import' => [
  8. 'title' => 'Import Plus',
  9. 'help' => 'Upload an Excel file to grant or extend Plus membership by customer email. Members that are still active get the days added on top of the current expiry date, so their remaining days are never shortened.',
  10. 'file-label' => 'Excel file',
  11. 'file-hint' => 'xlsx / xls / csv supported. The first row must be the headings, with one customer per row.',
  12. 'columns-title' => 'Expected columns',
  13. 'columns' => [
  14. 'email' => 'email (or 邮箱 / 用户邮箱): customer email, required.',
  15. 'days' => 'days (or 天数 / 过期天数): number of days to add, required, positive integer.',
  16. ],
  17. 'submit' => 'Start import',
  18. 'result-title' => 'Import result',
  19. 'summary' => 'Updated :updated customer(s), :failed failed row(s), :skipped empty row(s) skipped.',
  20. 'row' => 'Row',
  21. 'email' => 'Email',
  22. 'message' => 'Reason',
  23. 'errors' => [
  24. 'empty-file' => 'The uploaded file is empty.',
  25. 'email-column-missing' => 'The file must contain an email (邮箱) column.',
  26. 'days-column-missing' => 'The file must contain a days (过期天数) column.',
  27. 'email-required' => 'The email is empty.',
  28. 'invalid-email' => 'The email format is invalid.',
  29. 'customer-not-found' => 'No customer found for this email.',
  30. 'days-required' => 'The number of days is empty.',
  31. 'invalid-days' => 'The number of days must be an integer between 1 and :max.',
  32. 'generic' => 'Import failed: :message',
  33. ],
  34. ],
  35. 'stats' => [
  36. 'title' => 'Plus Statistics',
  37. 'hint' => 'New: based on the activation records in the member log (purchase or admin import), one customer counts once per day. Expired: based on the membership expiry date. Long ranges are grouped by month.',
  38. 'show' => 'Show statistics',
  39. 'hide' => 'Collapse',
  40. 'start-date' => 'Start date',
  41. 'end-date' => 'End date',
  42. 'range-7' => 'Last 7 days',
  43. 'range-30' => 'Last 30 days',
  44. 'range-90' => 'Last 90 days',
  45. 'range-365' => 'Last 1 year',
  46. 'active' => 'Active members',
  47. 'expired-total' => 'Expired (total)',
  48. 'new-total' => 'New in range',
  49. 'expired' => 'Expired in range',
  50. 'series-new' => 'New Plus users',
  51. 'series-expired' => 'Expired Plus users',
  52. 'empty' => 'No data in the selected range.',
  53. ],
  54. ],
  55. ];