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

export default defineMessages({
  header: {
    id: 'creatives.componentsV2.FormBuilder.header',
    defaultMessage: 'This is the FormBuilder component !',
  },
  cancel: {
    id: 'creatives.componentsV2.FormBuilder.cancel',
    defaultMessage: 'Cancel',
  },
  yes: {
    id: 'creatives.componentsV2.FormBuilder.yes',
    defaultMessage: 'Yes',
  },
  ok: {
    id: 'creatives.componentsV2.FormBuilder.ok',
    defaultMessage: 'Ok',
  },
  missingTagsValidationError: {
    id: 'creatives.components.FormBuilder.missingTagsValidationError',
    defaultMessage: 'Missing tags: {missingTags}. Please add them to this message.',
  },
  genericTagsValidationError: {
    id: 'creatives.components.FormBuilder.genericTagsValidationError',
    defaultMessage: 'Please check the message content for unsupported/missing tags',
  },
  contentNotValidLanguage: {
    id: 'creatives.componentsV2.FormBuilder.contentNotValidLanguage',
    defaultMessage: 'Content is not valid for language:',
  },
  missingTags: {
    id: 'creatives.componentsV2.FormBuilder.missingTags',
    defaultMessage: 'Missing tags are:',
  },
  upload: {
    id: 'creatives.componentsV2.FormBuilder.upload',
    defaultMessage: 'Upload',
  },
  dragAndDrop: {
    id: 'creatives.componentsV2.FormBuilder.dragAndDrop',
    defaultMessage: 'Drag and drop image here',
  },
  or: {
    id: 'creatives.componentsV2.FormBuilder.or',
    defaultMessage: 'OR',
  },
  selectAFile: {
    id: 'creatives.componentsV2.FormBuilder.selectAFile',
    defaultMessage: 'Select a file from your computer',
  },
  layoutSelection: {
    id: 'creatives.componentsV2.FormBuilder.layoutSelection',
    defaultMessage: 'Layout Selection',
  },
  loadingEDMTemplates: {
    id: 'creatives.componentsV2.FormBuilder.loadingEDMTemplates',
    defaultMessage: 'Loading EDM Templates',
  },
  uploadComputer: {
    id: 'creatives.componentsV2.FormBuilder.uploadComputer',
    defaultMessage: 'Your computer',
  },
  uploadGallery: {
    id: 'creatives.componentsV2.FormBuilder.uploadGallery',
    defaultMessage: 'Gallery',
  },
  imageDimenstionDescription: {
    id: 'creatives.componentsV2.FormBuilder.imageDimenstionDescription',
    defaultMessage: 'Dimensions: 300px x 400px  Size: 30mb',
  },
  imageReUpload: {
    id: 'creatives.componentsV2.FormBuilder.imageReUpload',
    defaultMessage: 'Re upload',
  },
  emailBodyEmptyError: {
    id: 'creatives.componentsV2.FormBuilder.emailBodyEmptyError',
    defaultMessage: 'Email body cannot be empty',
  },
  somethingWentWrong: {
    id: 'creatives.componentsV2.FormBuilder.somethingWentWrong',
    defaultMessage: 'Something went wrong while validating content, please try again later',
  },
  liquidSpinText: {
    id: 'creatives.componentsV2.FormBuilder.liquidSpinText',
    defaultMessage: 'Validating the template, it might take a few seconds',
  },
  base64ImageError: {
    id: 'creatives.componentsV2.FormBuilder.base64ImageError',
    defaultMessage: 'Base64 images are not allowed. Please upload your image to a gallery and use it, or add the image URL instead.',
  },
  personalizationTagsErrorMessage: {
    id: `creatives.componentsV2.FormBuilder.personalizationTagsErrorMessage`,
    defaultMessage: 'Personalization tags are not supported for anonymous customers, please remove the tags.',
  },
});
