import { defineMessages } from 'react-intl';
const scope = `creatives.containersV2.viber`;

export default defineMessages({
  search: {
    id: `${scope}.search`,
    defaultMessage: 'Search',
  },
  gettingAllTemplates: {
    id: `${scope}.gettingAllTemplates`,
    defaultMessage: "Getting all templates...",
  },
  viberCreativeTitle: {
    id: `${scope}.viberCreativeTitle`,
    defaultMessage: "Viber creative",
  },
  message: {
    id: `${scope}.message`,
    defaultMessage: 'Message',
  },
  textMessage: {
    id: `${scope}.textMessage`,
    defaultMessage: 'Text message',
  },
  characters: {
    id: `${scope}.characters`,
    defaultMessage: 'characters',
  },
  addLabels: {
    id: `${scope}.addLabels`,
    defaultMessage: 'Add labels',
  },
  image: {
    id: `${scope}.image`,
    defaultMessage: 'Image',
  },
  button: {
    id: `${scope}.button`,
    defaultMessage: 'Button',
  },
  buttonText: {
    id: `${scope}.buttonText`,
    defaultMessage: 'Button text',
  },
  buttonUrl: {
    id: `${scope}.buttonUrl`,
    defaultMessage: 'Button url',
  },
  uploadImage: {
    id: `${scope}.uploadImage`,
    defaultMessage: 'Upload Image',
  },
  imageDesc: {
    id: `${scope}.imageDesc`,
    defaultMessage: 'The relevant image that complements the message context.',
  },
  uploadGallery: {
    id: `${scope}.uploadGallery`,
    defaultMessage: 'Gallery',
  },
  uploadComputer: {
    id: `${scope}.uploadComputer`,
    defaultMessage: 'Your computer',
  },
  or: {
    id: `${scope}.or`,
    defaultMessage: 'OR',
  },
  dragAndDrop: {
    id: `${scope}.dragAndDrop`,
    defaultMessage: 'Drag and drop image here',
  },
  uploadImageDescription: {
    id: `${scope}.uploadImageDescription`,
    defaultMessage: 'The relevant image that complements the message context.',
  },
  imageReUpload: {
    id: `${scope}.imageReUpload`,
    defaultMessage: 'Re upload',
  },
  imageSizeDescription: {
    id: `${scope}.imageSizeDescription`,
    defaultMessage: ' Size: 10mb',
  },
  doneButtonLabel: {
    id: `${scope}.doneButtonLabel`,
    defaultMessage: 'Done',
  },
  cancelButtonLabel: {
    id: `${scope}.cancelButtonLabel`,
    defaultMessage: 'Cancel',
  },
  imageGallery: {
    id: `${scope}.imageGallery`,
    defaultMessage: 'Gallery',
  },
  emptyContentErrorMessage: {
    id: `${scope}.emptyContentErrorMessage`,
    defaultMessage: 'Template message cannot be empty',
  },
  limitExceededContentErrorMessage: {
    id: `${scope}.limitExceededContentErrorMessage`,
    defaultMessage: 'Template message length cannot exceed 1000',
  },
  invalidTagError: {
    id: `${scope}.invalidTagError`,
    defaultMessage: 'Please check the message content for unsupported/missing tags',
  },
  viberImageIncorrectSize: {
    id: `${scope}.viberImageIncorrectSize`,
    defaultMessage: 'Please upload the image with correct type, size and dimension',
  },
  viberCreateNotification: {
    id: `${scope}.viberCreateNotification`,
    defaultMessage: 'Viber template created successfully',
  },
  viberEditNotification: {
    id: `${scope}.viberEditNotification`,
    defaultMessage: 'Viber template updated successfully',
  },
  textMessageTitlePlaceholder: {
    id: `${scope}.textMessageTitlePlaceholder`,
    defaultMessage: 'Enter template name',
  },
  textMessageTitleLabel: {
    id: `${scope}.textMessageTitleLabel`,
    defaultMessage: 'Creative name',
  },
  emptyTitleErrorMessage: {
    id: `${scope}.emptyTitleErrorMessage`,
    defaultMessage: 'Template title can not be empty',
  },
  optional: {
    id: `${scope}.optional`,
    defaultMessage: '(optional)',
  },
  inValidUrliErrorMessage: {
    id: `${scope}.inValidUrliErrorMessage`,
    defaultMessage: 'Button URL is not valid',
  },
  mediaLabel: {
    id: `${scope}.mediaLabel`,
    defaultMessage: "Media",
  },
  mediaText: {
    id: `${scope}.mediaText`,
    defaultMessage: 'Text',
  },
  mediaImage: {
    id: `${scope}.mediaImage`,
    defaultMessage: 'Image',
  },
  mediaVideo: {
    id: `${scope}.mediaVideo`,
    defaultMessage: 'Video',
  },
  mediaCarousel: {
    id: `${scope}.mediaCarousel`,
    defaultMessage: 'Carousel',
  },
  videoErrorMessage: {
    id: `${scope}.videoErrorMessage`,
    defaultMessage: 'Please upload the video with allowed file extension, size, dimension and aspect ratio',
  },
  enterMessage: {
    id: `${scope}.enterMessage`,
    defaultMessage: 'Enter message',
  },
  charCount: {
    id: `${scope}.charCount`,
    defaultMessage: 'Characters count:',
  },
  btnLabel: {
    id: `${scope}.btnLabel`,
    defaultMessage: 'Buttons',
  },
  btnDesc: {
    id: `${scope}.btnDesc`,
    defaultMessage: 'These will be clickable buttons below your message.',
  },
  btnTypeNone: {
    id: `${scope}.btnTypeNone`,
    defaultMessage: 'None',
  },
  btnTypeCTA: {
    id: `${scope}.btnTypeCTA`,
    defaultMessage: 'Call to action',
  },
  ctaDesc: {
    id: `${scope}.ctaDesc`,
    defaultMessage: 'Create a button that lets customers respond to your messages or take action',
  },
  videoButtonDisabled: {
    id: `${scope}.videoButtonDisabled`,
    defaultMessage: 'Not supported for video media type',
  },
  buttonTextTooltip: {
    id: `${scope}.buttonTextTooltip`,
    defaultMessage: 'Use this to name the button. We would recommend not to use special characters here',
  },
  enterButtonText: {
    id: `${scope}.enterButtonText`,
    defaultMessage: 'Enter button text',
  },
  enterButtonUrl: {
    id: `${scope}.enterButtonUrl`,
    defaultMessage: 'Enter button url',
  },
  save: {
    id: `${scope}.save`,
    defaultMessage: 'Save',
  },
  cancel: {
    id: `${scope}.cancel`,
    defaultMessage: 'Cancel',
  },
  assetIdMissingError: {
    id: `${scope}.assetIdMissingError`,
    defaultMessage: 'Asset upload initiated but no asset ID was returned from the server. Unable to track processing status.',
  },
  carouselCardsLabel: {
    id: `${scope}.carouselCardsLabel`,
    defaultMessage: 'Carousel cards',
  },
  carouselCardHeading: {
    id: `${scope}.carouselCardHeading`,
    defaultMessage: 'Card {index}',
  },
  carouselCardTextLabel: {
    id: `${scope}.carouselCardTextLabel`,
    defaultMessage: 'Title',
  },
  carouselCardTextPlaceholder: {
    id: `${scope}.carouselCardTextPlaceholder`,
    defaultMessage: 'Enter title',
  },
  carouselMediaUrlLabel: {
    id: `${scope}.carouselMediaUrlLabel`,
    defaultMessage: 'Card media URL',
  },
  carouselMediaUrlPlaceholder: {
    id: `${scope}.carouselMediaUrlPlaceholder`,
    defaultMessage: 'https://example.com/image.jpg',
  },
  carouselButtonTitleLabel: {
    id: `${scope}.carouselButtonTitleLabel`,
    defaultMessage: 'Button title',
  },
  carouselButtonTitlePlaceholder: {
    id: `${scope}.carouselButtonTitlePlaceholder`,
    defaultMessage: 'Enter button title',
  },
  carouselButtonActionLabel: {
    id: `${scope}.carouselButtonActionLabel`,
    defaultMessage: 'Button action URL',
  },
  carouselButtonUrlTypeLabel: {
    id: `${scope}.carouselButtonUrlTypeLabel`,
    defaultMessage: 'URL type',
  },
  carouselUrlTypeStatic: {
    id: `${scope}.carouselUrlTypeStatic`,
    defaultMessage: 'Static',
  },
  carouselUrlTypeDynamic: {
    id: `${scope}.carouselUrlTypeDynamic`,
    defaultMessage: 'Dynamic',
  },
  carouselButtonActionPlaceholder: {
    id: `${scope}.carouselButtonActionPlaceholder`,
    defaultMessage: 'https://example.com/action',
  },
  addCarouselCard: {
    id: `${scope}.addCarouselCard`,
    defaultMessage: 'Add card',
  },
  removeCarouselCard: {
    id: `${scope}.removeCarouselCard`,
    defaultMessage: 'Remove card',
  },
  addCarouselButton: {
    id: `${scope}.addCarouselButton`,
    defaultMessage: 'Add button',
  },
  removeCarouselButton: {
    id: `${scope}.removeCarouselButton`,
    defaultMessage: 'Remove button',
  },
  carouselCardsLimitError: {
    id: `${scope}.carouselCardsLimitError`,
    defaultMessage: 'Carousel message requires 2 to 5 cards',
  },
  carouselCardError: {
    id: `${scope}.carouselCardError`,
    defaultMessage: 'Each card needs text and a valid media URL',
  },
  carouselButtonError: {
    id: `${scope}.carouselButtonError`,
    defaultMessage: 'Each button needs title and a valid action URL',
  },
  characterLimitExceededError: {
    id: `${scope}.characterLimitExceededError`,
    defaultMessage: 'Character limit exceeded',
  },
  textCannotBeEmptyError: {
    id: `${scope}.textCannotBeEmptyError`,
    defaultMessage: "Text can't be empty",
  },
  urlCannotBeEmptyError: {
    id: `${scope}.urlCannotBeEmptyError`,
    defaultMessage: "URL can't be empty",
  },
  carouselButtonUrlMaxLengthError: {
    id: `${scope}.carouselButtonUrlMaxLengthError`,
    defaultMessage: 'URL can not exceed 1000 characters',
  },
  carouselFirstButtonTitleMaxLengthError: {
    id: `${scope}.carouselFirstButtonTitleMaxLengthError`,
    defaultMessage: 'Button text should not exceed 10',
  },
  carouselSecondButtonTitleMaxLengthError: {
    id: `${scope}.carouselSecondButtonTitleMaxLengthError`,
    defaultMessage: 'Button text should not exceed 12',
  },
  carouselCardTitleMinLengthError: {
    id: `${scope}.carouselCardTitleMinLengthError`,
    defaultMessage: 'Minimum 2 characters required',
  },
  carouselCardTitleMaxLengthError: {
    id: `${scope}.carouselCardTitleMaxLengthError`,
    defaultMessage: 'Title can not be more than 38 characters',
  },
});
