/*
 * 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({
  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',
  },
  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',
  },
  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: '0 min ago',
  },
  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',
  },
});
