reverb.php 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. $_['button_clear_log'] = 'Clear Log';
  35. $_['text_log_cleared'] = 'Sync log cleared.';
  36. $_['column_date'] = 'Date';
  37. $_['column_product'] = 'Product';
  38. $_['column_direction'] = 'Direction';
  39. $_['column_status'] = 'Status';
  40. $_['column_message'] = 'Message';
  41. $_['text_push'] = 'OC → Reverb';
  42. $_['text_pull'] = 'Reverb → OC';
  43. $_['text_log_success'] = 'Success';
  44. $_['text_error'] = 'Error';
  45. $_['text_no_log'] = 'No sync activity yet.';
  46. // Per-product Reverb tab (injected via OCMOD)
  47. $_['tab_reverb'] = 'Reverb';
  48. $_['text_reverb_product'] = 'Reverb Listing';
  49. $_['entry_reverb_sync_enabled'] = 'List on Reverb';
  50. $_['help_reverb_sync_enabled'] = 'Enable to include this product in Reverb syncs. The product must also be in an allowed category.';
  51. $_['entry_reverb_condition'] = 'Condition';
  52. $_['help_reverb_condition'] = 'Required by Reverb. Choose the condition that best describes this item.';
  53. $_['entry_reverb_category'] = 'Reverb Category';
  54. $_['help_reverb_category'] = 'Override the category mapping for this specific product. Leave blank to use the category mapping.';
  55. $_['text_reverb_listing_id'] = 'Reverb Listing';
  56. $_['text_view_on_reverb'] = 'View on Reverb';
  57. $_['text_not_synced'] = 'Not yet synced';
  58. // Order import
  59. $_['text_order_import'] = 'Order Import';
  60. $_['button_import_orders'] = 'Import Orders from Reverb';
  61. $_['text_orders_imported'] = 'Import complete. %d order(s) imported, %d skipped.';
  62. $_['entry_order_stores'] = 'Import Orders to Store(s)';
  63. $_['help_order_stores'] = 'Imported Reverb orders will be assigned to the first selected store. Select at least one.';
  64. $_['text_select_all'] = 'Select All';
  65. $_['text_unselect_all'] = 'Unselect All';
  66. $_['entry_default_qty'] = 'Default Product Quantity';
  67. $_['help_default_qty'] = 'Fallback quantity applied to an imported order line when Reverb does not supply one.';
  68. // Success / error messages
  69. $_['text_success'] = 'Settings saved successfully.';
  70. $_['text_sync_complete'] = 'Sync complete. %d product(s) pushed, %d error(s).';
  71. $_['error_permission'] = 'Warning: You do not have permission to modify this module.';
  72. $_['error_api_token'] = 'API Token is required.';
  73. $_['error_api_token_invalid'] = 'Could not connect to Reverb with this token. Please check it is correct.';