/*
 * TestAndPreviewSlidebox Messages
 *
 * This contains all the text for the TestAndPreviewSlidebox component.
 */
import { defineMessages } from 'react-intl';

export const scope = 'app.v2Components.TestAndPreviewSlidebox';

export default defineMessages({
  mobileAlreadyExists: {
    id: `${scope}.mobileAlreadyExists`,
    defaultMessage: 'This phone number matches with already existing user profile. Please remove or use a different number.',
  },
  customerNamePlaceholder: {
    id: `${scope}.customerNamePlaceholder`,
    defaultMessage: 'Enter the name',
  },
  customerEmailPlaceholder: {
    id: `${scope}.customerEmailPlaceholder`,
    defaultMessage: 'Enter the Email',
  },
  customerMobilePlaceholder: {
    id: `${scope}.customerMobilePlaceholder`,
    defaultMessage: 'Enter the Mobile Number',
  },
  customerAlreadyInTestList: {
    id: `${scope}.customerAlreadyInTestList`,
    defaultMessage: 'This customer is already in the test customers list.',
  },
  emailAlreadyExists: {
    id: `${scope}.emailAlreadyExists`,
    defaultMessage: 'This email matches with already existing user profile. Please remove or use a different email.',
  },
  customerName: {
    id: `${scope}.customerName`,
    defaultMessage: 'Name',
  },
  customerNameOptional: {
    id: `${scope}.customerNameOptional`,
    defaultMessage: '(Optional)',
  },
  customerCreationInvalidEmail: {
    id: `${scope}.customerCreationInvalidEmail`,
    defaultMessage: 'Please enter a valid email address',
  },
  customerCreationInvalidMobile: {
    id: `${scope}.customerCreationInvalidMobile`,
    defaultMessage: 'Please enter a valid mobile number',
  },
  customerEmail: {
    id: `${scope}.customerEmail`,
    defaultMessage: 'Email',
  },
  customerMobile: {
    id: `${scope}.customerMobileNumber`,
    defaultMessage: 'Mobile Number',
  },
  saveButton: {
    id: `${scope}.saveButton`,
    defaultMessage: 'Save',
  },
  cancelButton: {
    id: `${scope}.cancelButton`,
    defaultMessage: 'Cancel',
  },
  customerID: {
    id: `${scope}.customerID`,
    defaultMessage: 'Customer ID',
  },
  existingCustomerModalDescription: {
    id: `${scope}.existingCustomerModalDescription`,
    defaultMessage: 'This user profile already exists in the system. Would you like to add them to Test Customer list?'
  },

  customerCreationModalTitle: {
    id: `${scope}.customerCreationModalTitle`,
    defaultMessage: 'Add new test customer',
  },
  customerCreationModalDescription: {
    id: `${scope}.customerCreationModalDescription`,
    defaultMessage: 'This customer profile will be available for testing across multiple communication channels.',
  },
  testAndPreviewHeader: {
    id: `${scope}.testAndPreviewHeader`,
    defaultMessage: 'Preview and Test',
  },

  customerSearchTitle: {
    id: `${scope}.customerSearchTitle`,
    defaultMessage: 'Customer',
  },
  enterCustomValuesForTags: {
    id: `${scope}.enterCustomValuesForTags`,
    defaultMessage: 'Enter custom values for tags',
  },
  personalizationTags: {
    id: `${scope}.personalizationTags`,
    defaultMessage: 'Personalization Tags',
  },
  customValues: {
    id: `${scope}.customValues`,
    defaultMessage: 'Custom Values',
  },
  showJSON: {
    id: `${scope}.showJSON`,
    defaultMessage: 'Show JSON',
  },
  addTestCustomer: {
    id: `${scope}.addTestCustomer`,
    defaultMessage: 'Add as Test Customer',
  },
  addTestCustomerWithValue: {
    id: `${scope}.addTestCustomerWithValue`,
    defaultMessage: 'Add {searchValue} as Test Customer',
  },
  memberLookupError: {
    id: `${scope}.memberLookupError`,
    defaultMessage: 'Unable to look up customer. Please try again.',
  },
  newTestCustomerAddedSuccess: {
    id: `${scope}.newTestCustomerAddedSuccess`,
    defaultMessage: 'New test customer added successfully!',
  },
  errorTitle: {
    id: `${scope}.errorTitle`,
    defaultMessage: 'Error',
  },
  failedToAddTestCustomer: {
    id: `${scope}.failedToAddTestCustomer`,
    defaultMessage: 'Failed to add test customer',
  },
  errorAddingTestCustomer: {
    id: `${scope}.errorAddingTestCustomer`,
    defaultMessage: 'An error occurred while adding test customer',
  },
  discardCustomValues: {
    id: `${scope}.discardCustomValues`,
    defaultMessage: 'Discard custom values',
  },
  updatePreview: {
    id: `${scope}.updatePreview`,
    defaultMessage: 'Update Preview',
  },
  sendTestMessage: {
    id: `${scope}.sendTestMessage`,
    defaultMessage: 'Send Test Message',
  },
  testMessageDescription: {
    id: `${scope}.testMessageDescription`,
    defaultMessage: 'Test out the message before sending to your customers',
  },
  sendTestButton: {
    id: `${scope}.sendTestButton`,
    defaultMessage: 'Send test message',
  },
  emailPreviewTitle: {
    id: `${scope}.emailPreviewTitle`,
    defaultMessage: 'Email Preview',
  },
  extractingTags: {
    id: `${scope}.extractingTags`,
    defaultMessage: 'Extracting tags...',
  },
  noTagsExtracted: {
    id: `${scope}.noTagsExtracted`,
    defaultMessage: 'There are no personalization tags in this message, you can directly send out a test message',
  },
  noTagsFound: {
    id: `${scope}.noTagsFound`,
    defaultMessage: 'No tags found in the template',
  },
  tagName: {
    id: `${scope}.tagName`,
    defaultMessage: 'Tag Name',
  },
  tagValue: {
    id: `${scope}.tagValue`,
    defaultMessage: 'Value',
  },
  enterValue: {
    id: `${scope}.enterValue`,
    defaultMessage: 'Enter value',
  },
  overrideValue: {
    id: `${scope}.overrideValue`,
    defaultMessage: 'Override value (optional)',
  },
  noRequiredTags: {
    id: `${scope}.noRequiredTags`,
    defaultMessage: 'No required personalization tags found. Select a customer to continue.',
  },
  previewTitle: {
    id: `${scope}.previewTitle`,
    defaultMessage: 'Preview',
  },
  previewPlaceholder: {
    id: `${scope}.previewPlaceholder`,
    defaultMessage: 'Click "Update Preview" to see the rendered email.',
  },
  previewFor: {
    id: `${scope}.previewFor`,
    defaultMessage: 'Preview for',
  },
  defaultPreview: {
    id: `${scope}.defaultPreview`,
    defaultMessage: 'Default preview',
  },
  senderName: {
    id: `${scope}.senderName`,
    defaultMessage: 'Capillary Technologies',
  },
  browserAddressBar: {
    id: `${scope}.browserAddressBar`,
    defaultMessage: 'www.yourmail.com',
  },
  testCustomers: {
    id: `${scope}.testCustomers`,
    defaultMessage: 'Test Customers',
  },
  testCustomersPlaceholder: {
    id: `${scope}.testCustomersPlaceholder`,
    defaultMessage: 'Search and select a group or individual test customers',
  },
  noMatchingOptions: {
    id: `${scope}.noMatchingOptions`,
    defaultMessage: 'No matching options',
  },
  updatingPreview: {
    id: `${scope}.updatingPreview`,
    defaultMessage: 'Updating preview with the latest changes',
  },
  valuesMissing: {
    id: `${scope}.valuesMissing`,
    defaultMessage: 'Values missing for some of the personalization tags',
  },
  timeAgo: {
    id: `${scope}.timeAgo`,
    defaultMessage: 'Today',
  },
  businessAccount: {
    id: `${scope}.businessAccount`,
    defaultMessage: 'Business account',
  },
  now: {
    id: `${scope}.now`,
    defaultMessage: 'Now',
  },
  testMessageSent: {
    id: `${scope}.testMessageSent`,
    defaultMessage: 'Test message sent successfully!',
  },
  testMessageFailed: {
    id: `${scope}.testMessageFailed`,
    defaultMessage: 'Failed to send test message',
  },
  invalidJSON: {
    id: `${scope}.invalidJSON`,
    defaultMessage: 'Invalid JSON input',
  },
  previewUpdateError: {
    id: `${scope}.previewUpdateError`,
    defaultMessage: 'Failed to update preview',
  },
  userProfileNotFound: {
    id: `${scope}.userProfileNotFound`,
    defaultMessage: 'Please select a different user. User doesn\'t have a {channel} profile',
  },
  previewError: {
    id: `${scope}.previewError`,
    defaultMessage: 'Failed to load preview',
  },
  noContent: {
    id: `${scope}.noContent`,
    defaultMessage: 'No content available',
  },
  previewGenerated: {
    id: `${scope}.previewGenerated`,
    defaultMessage: 'Preview is being generated',
  },
  updatingPreviewForRoot: {
    id: `${scope}.updatingPreviewForRoot`,
    defaultMessage: 'Updating preview...',
  },
  lastModified: {
    id: `${scope}.lastModified`,
    defaultMessage: 'Last modified',
  },
  by: {
    id: `${scope}.by`,
    defaultMessage: 'by',
  },
  senderId: {
    id: `${scope}.senderId`,
    defaultMessage: 'Sender ID',
  },
  urlPreviewImage: {
    id: `${scope}.urlPreviewImage`,
    defaultMessage: 'URL Preview Image',
  },
  videoPreviewTooltip: {
    id: `${scope}.videoPreviewTooltip`,
    defaultMessage: 'Video Preview',
  },
  toMe: {
    id: `${scope}.toMe`,
    defaultMessage: 'to me',
  },
});
