reverb.php 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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_reverb_cats'] = 'Reverb Categories';
  11. $_['tab_log'] = 'Sync Log';
  12. // Settings tab
  13. $_['text_api_settings'] = 'Reverb API';
  14. $_['entry_api_token'] = 'API Token';
  15. $_['help_api_token'] = 'Your personal Reverb API token. Generate one at reverb.com › Account Settings › API Keys.';
  16. $_['entry_status'] = 'Module Status';
  17. $_['entry_sync_direction'] = 'Sync Direction';
  18. $_['text_sync_push'] = 'One-way (OpenCart → Reverb)';
  19. $_['text_sync_both'] = 'Both ways (OpenCart ↔ Reverb)';
  20. $_['text_shipping_settings'] = 'Shipping';
  21. $_['entry_shipping_domestic'] = 'AU Domestic Rate (AUD)';
  22. $_['help_shipping_domestic'] = 'Flat shipping rate charged to Australian buyers. Leave 0 for free.';
  23. $_['entry_shipping_international'] = 'International Rate (AUD)';
  24. $_['help_shipping_international'] = 'Flat rate for international buyers. Leave 0 to disable international shipping.';
  25. $_['text_sync_settings'] = 'Categories Eligible for Sync';
  26. $_['help_sync_categories'] = 'Only products in these categories will be eligible for Reverb sync.';
  27. $_['text_manual_sync'] = 'Manual Sync';
  28. $_['button_sync_now'] = 'Sync All Eligible Products Now';
  29. // Category mapping tab
  30. $_['text_category_mapping_help'] = 'Map each OpenCart category to a Reverb category. Products in unmapped categories will be skipped during sync.';
  31. $_['column_oc_category'] = 'OpenCart Category';
  32. $_['column_reverb_category'] = 'Reverb Category';
  33. $_['text_no_categories'] = 'No categories selected. Choose categories in the Settings tab first.';
  34. // Reverb categories tab
  35. $_['text_reverb_cats_help'] = 'All categories available on Reverb. Use this list to find the exact category name and UUID to assign to your products. Click Refresh to fetch the latest list from Reverb.';
  36. $_['button_refresh_cats'] = 'Refresh from Reverb';
  37. $_['text_cats_refreshed'] = '%d categories loaded from Reverb.';
  38. $_['text_filter_cats'] = 'Search categories…';
  39. $_['column_cat_name'] = 'Category';
  40. $_['column_cat_uuid'] = 'UUID';
  41. // Sync log tab
  42. $_['button_clear_log'] = 'Clear Log';
  43. $_['text_log_cleared'] = 'Sync log cleared.';
  44. $_['column_date'] = 'Date';
  45. $_['column_product'] = 'Product';
  46. $_['column_direction'] = 'Direction';
  47. $_['column_status'] = 'Status';
  48. $_['column_message'] = 'Message';
  49. $_['text_push'] = 'OC → Reverb';
  50. $_['text_pull'] = 'Reverb → OC';
  51. $_['text_log_success'] = 'Success';
  52. $_['text_error'] = 'Error';
  53. $_['text_no_log'] = 'No sync activity yet.';
  54. // Per-product Reverb tab (injected via OCMOD)
  55. $_['tab_reverb'] = 'Reverb';
  56. $_['text_reverb_product'] = 'Reverb Listing';
  57. $_['entry_reverb_sync_enabled'] = 'List on Reverb';
  58. $_['help_reverb_sync_enabled'] = 'Enable to include this product in Reverb syncs. The product must also be in an allowed category.';
  59. $_['entry_reverb_condition'] = 'Condition';
  60. $_['help_reverb_condition'] = 'Required by Reverb. Choose the condition that best describes this item.';
  61. $_['entry_reverb_category'] = 'Reverb Category';
  62. $_['help_reverb_category'] = 'Override the category mapping for this specific product. Leave blank to use the category mapping.';
  63. $_['text_reverb_listing_id'] = 'Reverb Listing';
  64. $_['text_view_on_reverb'] = 'View on Reverb';
  65. $_['text_not_synced'] = 'Not yet synced';
  66. // Order import
  67. $_['text_order_import'] = 'Order Import';
  68. $_['button_import_orders'] = 'Import Orders from Reverb';
  69. $_['text_orders_imported'] = 'Import complete. %d order(s) imported, %d skipped.';
  70. $_['entry_order_stores'] = 'Import Orders to Store(s)';
  71. $_['help_order_stores'] = 'Imported Reverb orders will be assigned to the first selected store. Select at least one.';
  72. $_['text_select_all'] = 'Select All';
  73. $_['text_unselect_all'] = 'Unselect All';
  74. $_['entry_default_qty'] = 'Default Product Quantity';
  75. $_['help_default_qty'] = 'Fallback quantity applied to an imported order line when Reverb does not supply one.';
  76. // Success / error messages
  77. $_['text_success'] = 'Settings saved successfully.';
  78. $_['text_sync_complete'] = 'Sync complete. %d product(s) pushed, %d error(s).';
  79. $_['error_permission'] = 'Warning: You do not have permission to modify this module.';
  80. $_['error_api_token'] = 'API Token is required.';
  81. $_['error_api_token_invalid'] = 'Could not connect to Reverb with this token. Please check it is correct.';