import { defineMessages } from 'react-intl';
const prefix = `creatives.componentsV2.CapActionButton`;

export default defineMessages({
  templateButtonText: {
    id: `${prefix}.templateButtonText`,
    defaultMessage: 'Button text',
  },
  ctaWebsite: {
    id: `${prefix}.ctaWebsite`,
    defaultMessage: 'Website',
  },
  ctaQr: {
    id: `${prefix}.ctaQr`,
    defaultMessage: 'Quick Reply',
  },
  ctaPhoneNo: {
    id: `${prefix}.ctaPhoneNo`,
    defaultMessage: 'Phone number',
  },
  ctaPhoneNoPlaceholder: {
    id: `${prefix}.ctaPhoneNoPlaceholder`,
    defaultMessage: 'Enter phone number',
  },
  ctaWebsiteUrlErrorMessage: {
    id: `${prefix}.ctaWebsiteUrlErrorMessage`,
    defaultMessage: 'URL is not valid',
  },
  ctaButtonText: {
    id: `${prefix}.ctaButtonText`,
    defaultMessage: 'Button text',
  },
  ctaStaticPlaceholder: {
    id: `${prefix}.ctaStaticPlaceholder`,
    defaultMessage: 'Enter website URL',
  },
  ctaButtonTextTooltip: {
    id: `${prefix}.ctaButtonTextTooltip`,
    defaultMessage:
      'Use this to name the button. We would recommend not to use special characters for the button text.',
  },
  ctaButtonTextPlaceholder: {
    id: `${prefix}.ctaButtonTextPlaceholder`,
    defaultMessage: 'Enter button text',
  },
  templateMessageLength: {
    id: `${prefix}.templateMessageLength`,
    defaultMessage: 'Characters count: {currentLength}/{maxLength}',
  },
  ctaType: {
    id: `${prefix}.ctaType`,
    defaultMessage: 'Type of action',
  },
  templateButtonTextPlaceholder: {
    id: `${prefix}.templateButtonTextPlaceholder`,
    defaultMessage: 'Enter button text',
  },
  templateButtonLink: {
    id: `${prefix}.templateButtonLink`,
    defaultMessage: 'Button link',
  },
  templateButtonLinkPlaceholder: {
    id: `${prefix}.templateButtonLinkPlaceholder`,
    defaultMessage: 'Enter button link',
  },
  addButton: {
    id: `${prefix}.addButton`,
    defaultMessage: 'Add button',
  },
  inValidUrlErrorMessage: {
    id: `${prefix}.inValidUrlErrorMessage`,
    defaultMessage: 'Button URL is not valid',
  },
  comingSoonTooltip: {
    id: `${prefix}.comingSoonTooltip`,
    defaultMessage: 'Right now only one Call to action button is enabled, in future you would be able to add upto 3 buttons.',
  },
  ctaButtonErrorMessage: {
    id: `${prefix}.ctaButtonErrorMessage`,
    defaultMessage: 'Button text cannot be empty',
  },
  ctaButtonTextLengthError: {
    id: `${prefix}.ctaButtonTextLengthError`,
    defaultMessage: 'Button text length cannot exceed {maxLength} characters',
  },
  ctaButtonDuplicateError: {
    id: `${prefix}.ctaButtonDuplicateError`,
    defaultMessage: 'Button text cannot be same as other buttons',
  },
  ctaButtonTypeError: {
    id: `${prefix}.ctaButtonTypeError`,
    defaultMessage: 'Please select a button type',
  },
  ctaButtonPhoneError: {
    id: `${prefix}.ctaButtonPhoneError`,
    defaultMessage: 'Please enter a valid phone number',
  },
  ctaButtonUrlError: {
    id: `${prefix}.ctaButtonUrlError`,
    defaultMessage: 'Please enter a valid URL',
  },
  ctaButtonMaxLimitError: {
    id: `${prefix}.ctaButtonMaxLimitError`,
    defaultMessage: 'Maximum {maxButtons} buttons allowed',
  },
  ctaAddDisabled: {
    id: `${prefix}.ctaAddDisabled`,
    defaultMessage: 'Save the current button before adding a new one',
  },
  ctaButtonSaved: {
    id: `${prefix}.ctaButtonSaved`,
    defaultMessage: 'Button saved successfully',
  },
  ctaButtonDelete: {
    id: `${prefix}.ctaButtonDelete`,
    defaultMessage: 'Delete button',
  },
  ctaButtonEdit: {
    id: `${prefix}.ctaButtonEdit`,
    defaultMessage: 'Edit button',
  },
  ctaButtonSave: {
    id: `${prefix}.ctaButtonSave`,
    defaultMessage: 'Save button',
  },
  ctaButtonCancel: {
    id: `${prefix}.ctaButtonCancel`,
    defaultMessage: 'Cancel',
  },
  ctaButtonDeleteConfirm: {
    id: `${prefix}.ctaButtonDeleteConfirm`,
    defaultMessage: 'Are you sure you want to delete this button?',
  },
  ctaButtonDeleteSuccess: {
    id: `${prefix}.ctaButtonDeleteSuccess`,
    defaultMessage: 'Button deleted successfully',
  },
  ctaButtonEditDisabled: {
    id: `${prefix}.ctaButtonEditDisabled`,
    defaultMessage: 'Cannot edit while another button is being edited',
  },
  ctaButtonTypeDisabled: {
    id: `${prefix}.ctaButtonTypeDisabled`,
    defaultMessage: 'This button type is not available for the second button',
  },
  ctaWebsiteType: {
    id: `${prefix}.ctaWebsiteType`,
    defaultMessage: 'URL Type',
  },
  ctaWebsiteTypeStatic: {
    id: `${prefix}.ctaWebsiteTypeStatic`,
    defaultMessage: 'Static',
  },
  ctaWebsiteTypeDynamic: {
    id: `${prefix}.ctaWebsiteTypeDynamic`,
    defaultMessage: 'Dynamic',
  },
  ctaWebsiteUrl: {
    id: `${prefix}.ctaWebsiteUrl`,
    defaultMessage: 'Website URL',
  },
  ctaDynamicPlaceholder: {
    id: `${prefix}.ctaDynamicPlaceholder`,
    defaultMessage: 'Enter URL, variable is added by default',
  },
  ctaSaveDisabled: {
    id: `${prefix}.ctaSaveDisabled`,
    defaultMessage: 'Please complete the above fields to enable button',
  },
  save: {
    id: `${prefix}.save`,
    defaultMessage: 'Save',
  },
  delete: {
    id: `${prefix}.delete`,
    defaultMessage: 'Delete',
  },
  staticUrlWithVarErrorMessage: {
    id: `${prefix}.staticUrlWithVarErrorMessage`,
    defaultMessage: 'Variables are not allowed in static URL',
  },
  addLabels: {
    id: `${prefix}.addLabels`,
    defaultMessage: 'Add Labels',
  },
});
