reverb.php 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <?php
  2. // Heading
  3. $_['heading_title'] = 'Reverb Integration';
  4. // Breadcrumbs
  5. $_['text_extension'] = 'Extensions';
  6. $_['text_module'] = 'Modules';
  7. // Tabs
  8. $_['tab_settings'] = 'Settings';
  9. $_['tab_categories'] = 'Category Mapping';
  10. $_['tab_log'] = 'Sync Log';
  11. // Settings tab
  12. $_['text_api_settings'] = 'Reverb API';
  13. $_['entry_api_token'] = 'API Token';
  14. $_['help_api_token'] = 'Your personal Reverb API token. Generate one at reverb.com › Account Settings › API Keys.';
  15. $_['entry_status'] = 'Module Status';
  16. $_['entry_sync_direction'] = 'Sync Direction';
  17. $_['text_sync_push'] = 'One-way (OpenCart → Reverb)';
  18. $_['text_sync_both'] = 'Both ways (OpenCart ↔ Reverb)';
  19. $_['text_shipping_settings'] = 'Shipping';
  20. $_['entry_shipping_domestic'] = 'AU Domestic Rate (AUD)';
  21. $_['help_shipping_domestic'] = 'Flat shipping rate charged to Australian buyers. Leave 0 for free.';
  22. $_['entry_shipping_international'] = 'International Rate (AUD)';
  23. $_['help_shipping_international'] = 'Flat rate for international buyers. Leave 0 to disable international shipping.';
  24. $_['text_sync_settings'] = 'Categories Eligible for Sync';
  25. $_['help_sync_categories'] = 'Only products in these categories will be eligible for Reverb sync.';
  26. $_['text_manual_sync'] = 'Manual Sync';
  27. $_['button_sync_now'] = 'Sync All Eligible Products Now';
  28. // Category mapping tab
  29. $_['text_category_mapping_help'] = 'Map each OpenCart category to a Reverb category. Products in unmapped categories will be skipped during sync.';
  30. $_['column_oc_category'] = 'OpenCart Category';
  31. $_['column_reverb_category'] = 'Reverb Category';
  32. $_['text_no_categories'] = 'No categories selected. Choose categories in the Settings tab first.';
  33. // Sync log tab
  34. $_['column_date'] = 'Date';
  35. $_['column_product'] = 'Product';
  36. $_['column_direction'] = 'Direction';
  37. $_['column_status'] = 'Status';
  38. $_['column_message'] = 'Message';
  39. $_['text_push'] = 'OC → Reverb';
  40. $_['text_pull'] = 'Reverb → OC';
  41. $_['text_log_success'] = 'Success';
  42. $_['text_error'] = 'Error';
  43. $_['text_no_log'] = 'No sync activity yet.';
  44. // Per-product Reverb tab (injected via OCMOD)
  45. $_['tab_reverb'] = 'Reverb';
  46. $_['text_reverb_product'] = 'Reverb Listing';
  47. $_['entry_reverb_sync_enabled'] = 'List on Reverb';
  48. $_['help_reverb_sync_enabled'] = 'Enable to include this product in Reverb syncs. The product must also be in an allowed category.';
  49. $_['entry_reverb_condition'] = 'Condition';
  50. $_['help_reverb_condition'] = 'Required by Reverb. Choose the condition that best describes this item.';
  51. $_['entry_reverb_category'] = 'Reverb Category';
  52. $_['help_reverb_category'] = 'Override the category mapping for this specific product. Leave blank to use the category mapping.';
  53. $_['text_reverb_listing_id'] = 'Reverb Listing';
  54. $_['text_view_on_reverb'] = 'View on Reverb';
  55. $_['text_not_synced'] = 'Not yet synced';
  56. // Success / error messages
  57. $_['text_success'] = 'Settings saved successfully.';
  58. $_['text_sync_complete'] = 'Sync complete. %d product(s) pushed, %d error(s).';
  59. $_['error_permission'] = 'Warning: You do not have permission to modify this module.';
  60. $_['error_api_token'] = 'API Token is required.';
  61. $_['error_api_token_invalid'] = 'Could not connect to Reverb with this token. Please check it is correct.';