import { defineMessages } from 'react-intl';
const prefix = `creatives.componentsV2.CapWhatsappCTA`;
export default defineMessages({
  ctaType: {
    id: `${prefix}.ctaType`,
    defaultMessage: 'Type of action',
  },
  ctaPhoneNo: {
    id: `${prefix}.ctaPhoneNo`,
    defaultMessage: 'Phone number',
  },
  ctaWebsite: {
    id: `${prefix}.ctaWebsite`,
    defaultMessage: 'Website',
  },
  ctaButtonText: {
    id: `${prefix}.ctaButtonText`,
    defaultMessage: 'Button text',
  },
  ctaButtonTextPlaceholder: {
    id: `${prefix}.ctaButtonTextPlaceholder`,
    defaultMessage: 'Enter button text',
  },
  ctaWebsiteType: {
    id: `${prefix}.ctaWebsiteType`,
    defaultMessage: 'URL Type',
  },
  ctaWebsiteTypeStatic: {
    id: `${prefix}.ctaWebsiteTypeStatic`,
    defaultMessage: 'Static',
  },
  ctaWebsiteTypeDynamic: {
    id: `${prefix}.ctaWebsiteTypeDynamic`,
    defaultMessage: 'Dynamic',
  },
  ctaPhoneNoPlaceholder: {
    id: `${prefix}.ctaPhoneNoPlaceholder`,
    defaultMessage: 'Enter phone number',
  },
  ctaWebsiteUrl: {
    id: `${prefix}.ctaWebsiteUrl`,
    defaultMessage: 'Website URL',
  },
  ctaStaticPlaceholder: {
    id: `${prefix}.ctaStaticPlaceholder`,
    defaultMessage: 'Enter website URL',
  },
  ctaDynamicPlaceholder: {
    id: `${prefix}.ctaDynamicPlaceholder`,
    defaultMessage: 'Enter URL, variable is added by default',
  },
  ctaWebsiteUrlErrorMessage: {
    id: `${prefix}.ctaWebsiteUrlErrorMessage`,
    defaultMessage: 'URL is not valid',
  },
  ctaButtonErrorMessage: {
    id: `${prefix}.ctaButtonErrorMessage`,
    defaultMessage: "Newlines, Emojis, or Special characters are not allowed",
  },
  addButton: {
    id: `${prefix}.addButton`,
    defaultMessage: 'Add button',
  },
  ctaSaveDisabled: {
    id: `${prefix}.ctaSaveDisabled`,
    defaultMessage: 'Please complete the above fields to enable button',
  },
  ctaAddDisabled: {
    id: `${prefix}.ctaAddDisabled`,
    defaultMessage:
      'Please save the first button before proceeding to create second button',
  },
  ctaButtonTextTooltip: {
    id: `${prefix}.ctaButtonTextTooltip`,
    defaultMessage:
      'Use this to name the button. We would recommend not to use special characters for the button text.',
  },
  ctaOptionDisabledTooltip: {
    id: `${prefix}.ctaOptionDisabledTooltip`,
    defaultMessage: 'This type of button can only be added once',
  },
  dynamicUrlTooltip: {
    id: `${prefix}.dynamicUrlTooltip`,
    defaultMessage:
      'Only one variable can be added to a URL. No need to add {one} to the end of the URL',
  },
  staticUrlWithVarErrorMessage: {
    id: `${prefix}.staticUrlWithVarErrorMessage`,
    defaultMessage: 'Button with url type as static cannot contain variables',
  },
  dynamicUrlWithMoreVarErrorMessage: {
    id: `${prefix}.dynamicUrlWithMoreVarErrorMessage`,
    defaultMessage: 'Button with url type as dynamic can have only 1 variable',
  },
  useTwoBracketsOnly: {
    id: `${prefix}.useTwoBracketsOnly`,
    defaultMessage: 'Use two brackets on each side to declare a variable',
  },
  whatsappCtaTagListLabel: {
    id: `${prefix}.whatsappCtaTagListLabel`,
    defaultMessage: 'Add URL label',
  },
  whatsappCtaTagListRevert: {
    id: `${prefix}.whatsappCtaTagListRevert`,
    defaultMessage: 'Reset website URL label to default value',
  },
  url: {
    id: `${prefix}.url`,
    defaultMessage: 'URL',
  },
});
